This commit is contained in:
王创世 2025-06-13 17:29:27 +08:00
parent 73806e2712
commit 7f6fb84e4d
4 changed files with 50 additions and 29 deletions

View File

@ -115,6 +115,16 @@ export default {
}); });
return; return;
} }
//13
const regBank = /^[1-9]\d{12,}$/;
if(!regBank.test(this.form.bank_user_name)){
uni.showToast({
title: '请输入正确的银行卡号',
icon: "none",
duration: 1500,
});
return;
}
uni.$u.http uni.$u.http
.post("/api/school.newactivity.settle_log/save", { .post("/api/school.newactivity.settle_log/save", {
name: this.form.name, name: this.form.name,

View File

@ -31,19 +31,19 @@
<view style="line-height:40rpx;"> <view style="line-height:40rpx;">
<view style="font-size: 24rpx;color: #000000;font-weight: 600;margin-top: 20rpx;"> <view style="font-size: 24rpx;color: #000000;font-weight: 600;margin-top: 20rpx;">
<view>1提现金额</view> <view>1提现金额</view>
<view style="text-indent: 2em;">本平台的提现操作默认将您当前可提现金额的全部款项一次性提现暂不支持部分提现</view> <view style="text-indent: 2em;color: #FF4810;">本平台的提现操作默认将您当前可提现金额的全部款项一次性提现暂不支持部分提现</view>
</view> </view>
<view style="font-size: 24rpx;color: #000000;margin-top: 20rpx;"> <view style="font-size: 24rpx;color: #000000;margin-top: 20rpx;">
<view style="font-weight: 600;">2到账时间</view> <view style="font-weight: 600;">2到账时间</view>
<view style="text-indent: 2em;">我们将在您提交有效提现申请后的<text style="font-weight: 600;">T+3个工作日内</text>处理您的请求T为申请日工作日不含周末及法定节假日我们会尽快处理但具体到账时间以收款银行的实际处理速度为准</view> <view style="text-indent: 2em;">我们将在您提交有效提现申请后的<text style="color: #FF4810;font-weight: 600;">T+3个工作日内</text>处理您的请求T为申请日工作日不含周末及法定节假日我们会尽快处理但具体到账时间以收款银行的实际处理速度为准</view>
</view> </view>
<view style="font-size: 24rpx;color: #000000;margin-top: 20rpx;font-weight: 600;"> <view style="font-size: 24rpx;color: #000000;margin-top: 20rpx;font-weight: 600;">
<view>3关于手续费</view> <view>3关于手续费</view>
<view style="text-indent: 2em;">若您的提现账户为跨行或跨区域的对公账户银行在处理转账时可能会收取额外的手续费该费用由银行直接扣除非本平台收取具体扣费金额以您的最终实际到账金额为准</view> <view style="text-indent: 2em;color: #FF4810;">若您的提现账户为跨行或跨区域的对公账户银行在处理转账时可能会收取额外的手续费该费用由银行直接扣除非本平台收取具体扣费金额以您的最终实际到账金额为准</view>
</view> </view>
<view style="font-size: 24rpx;color: #000000;margin-top: 20rpx;"> <view style="font-size: 24rpx;color: #000000;margin-top: 20rpx;">
<view style="font-weight: 600;">4信息准确性</view> <view style="font-weight: 600;">4信息准确性</view>
<view style="text-indent: 2em;">请务必确保您填写的<text style="font-weight: 600;">持卡人姓名银行卡号开户银行</text>等信息完全正确因您填写信息错误导致的任何资金损失提现延迟或失败全部责任由您自行承担</view> <view style="text-indent: 2em;">请务必确保您填写的<text style="color: #FF4810;font-weight: 600;">持卡人姓名银行卡号开户银行</text>等信息完全正确因您填写信息错误导致的任何资金损失提现延迟或失败全部责任由您自行承担</view>
</view> </view>
<view style="font-size: 24rpx;color: #000000;margin-top: 20rpx;"> <view style="font-size: 24rpx;color: #000000;margin-top: 20rpx;">
<view style="font-weight: 600;">5联系客服</view> <view style="font-weight: 600;">5联系客服</view>

View File

@ -12,7 +12,8 @@
style="display: flex;align-items: center;;margin-bottom: 20rpx;font-weight: 800;font-size: 34rpx;color: #181818;"> style="display: flex;align-items: center;;margin-bottom: 20rpx;font-weight: 800;font-size: 34rpx;color: #181818;">
<view>{{ userName }}</view> <view>{{ userName }}</view>
<view style="padding-left: 20rpx; height: 35rpx;"> <view style="padding-left: 20rpx; height: 35rpx;">
<image v-if="shop_auth_info.auth_status == 1" src="/static/my/owenr.png" mode="" style="width: 35rpx; height: 35rpx;"> <image v-if="shop_auth_info.auth_status == 1" src="/static/my/owenr.png" mode=""
style="width: 35rpx; height: 35rpx;">
</image> </image>
</view> </view>
</view> </view>
@ -157,8 +158,9 @@
subdesc='以了解详细内容。如您同意,请点击“同意并继续”并开始使用我们的服务。' subdesc='以了解详细内容。如您同意,请点击“同意并继续”并开始使用我们的服务。'
top_img='https://naweigetetest2.hschool.com.cn/dyqc/dyqclogo.png' color="#C9935C" hideTabBar="true" top_img='https://naweigetetest2.hschool.com.cn/dyqc/dyqclogo.png' color="#C9935C" hideTabBar="true"
:onNeed='false' :other="other" :title_style="'padding-top:60rpx;'" :onNeed='false' :other="other" :title_style="'padding-top:60rpx;'"
open_type='agreePrivacyAuthorization'> open_type='agreePrivacyAuthorization' @agree_call="miniLogin()">
</lsl-protocol-popup> </lsl-protocol-popup>
<view class="popup"> <view class="popup">
<img class="img_shouquan" src="https://naweigetetest2.hschool.com.cn/dyqc/shou1.png" alt="" /> <img class="img_shouquan" src="https://naweigetetest2.hschool.com.cn/dyqc/shou1.png" alt="" />
<text id="txt2">为您授权登陆授权成功后可参加多种户外活动</text> <text id="txt2">为您授权登陆授权成功后可参加多种户外活动</text>
@ -188,14 +190,14 @@
...mapActions(['number']), ...mapActions(['number']),
data() { data() {
return { return {
shop_auth_info:{}, shop_auth_info: {},
settleInfo: {}, settleInfo: {},
tabBarShow: null, tabBarShow: null,
topHeight: '', topHeight: '',
hotList: [], hotList: [],
showPopup: false, showPopup: false,
userName: '请登录', userName: '请登录',
bio:'', bio: '',
actives: 0, actives: 0,
pushActives: 0, pushActives: 0,
show: false, show: false,
@ -340,9 +342,9 @@
let openidInfo = uni.getStorageSync('openidInfo'); let openidInfo = uni.getStorageSync('openidInfo');
let _this = this; let _this = this;
if (!openidInfo) { // if (!openidInfo) {
_this.miniLogin(); // _this.miniLogin();
} // }
this.number(); this.number();
this.getinit(); this.getinit();
this.getHotList(); this.getHotList();
@ -408,7 +410,7 @@
}); });
}, },
iszhuliren() { iszhuliren() {
if(this.shop_auth_info.auth_status==1){ if (this.shop_auth_info.auth_status == 1) {
uni.$u.toast('您已是主理人!'); uni.$u.toast('您已是主理人!');
return; return;
} }
@ -642,8 +644,7 @@
// //
getPhoneNumber(e) { getPhoneNumber(e) {
var _this = this; var _this = this;
_this.miniLogin() //_this.miniLogin()
console.log('e.detail', e.detail)
if (!e.detail.iv) { if (!e.detail.iv) {
uni.showToast({ uni.showToast({
title: '授权失败,请重新授权', title: '授权失败,请重新授权',
@ -663,23 +664,32 @@
// }) // })
// _this.miniLogin(); // _this.miniLogin();
// return false; // return false;
// } // }
var openidInfo = uni.getStorageSync('openidInfo'); var openidInfo = uni.getStorageSync('openidInfo');
if (!openidInfo) { //console.log(333)
//if (!openidInfo) {
_this.miniLogin(); _this.miniLogin();
uni.showToast({ uni.showLoading({
title: '未获取到信息,请重新点击授权', title: '获取信息中...'
icon: 'none', });
duration: 2000 setTimeout(() => {
}) uni.hideLoading();
_this.decodeMobile({
encryptedData: e.detail.encryptedData,
iv: e.detail.iv,
sessionKey: openidInfo.session_key,
}, openidInfo);
}, 2000)
// uni.showToast({
// title: '',
// icon: 'none',
// duration: 2000
// })
// this.$api.toast(''); // this.$api.toast('');
return false; return false;
} //}
_this.decodeMobile({
encryptedData: e.detail.encryptedData,
iv: e.detail.iv,
sessionKey: openidInfo.session_key,
}, openidInfo);
}, },
// //
decodeMobile(data, openidInfo) { decodeMobile(data, openidInfo) {
@ -760,7 +770,7 @@
this.pushActives = res.data.activity_info.release_num; this.pushActives = res.data.activity_info.release_num;
this.settleInfo = res.data.settle_info; this.settleInfo = res.data.settle_info;
this.shop_auth_info = res.data.shop_auth_info; this.shop_auth_info = res.data.shop_auth_info;
uni.setStorageSync("niName", res.data.user_info.nickname) uni.setStorageSync("niName", res.data.user_info.nickname)
@ -830,7 +840,7 @@
// }) // })
// console.log(this.token) // console.log(this.token)
if (!this.token) { if (!this.token) {
this.miniLogin() //this.miniLogin()
this.showPopup = true this.showPopup = true
} else { } else {
uni.navigateTo({ uni.navigateTo({

View File

@ -230,6 +230,7 @@
// //
getphonenumber(e){ getphonenumber(e){
console.log('// 授权手机号',e) console.log('// 授权手机号',e)
this.$emit('agree_call');
this.close(); this.close();
// if(this.open_type.indexOf('getPhoneNumber')>=0){ // if(this.open_type.indexOf('getPhoneNumber')>=0){
// if(e.detail.errMsg == 'getPhoneNumber:ok'){ // if(e.detail.errMsg == 'getPhoneNumber:ok'){