diff --git a/http/http.js b/http/http.js index 041d67f..653ab23 100644 --- a/http/http.js +++ b/http/http.js @@ -162,7 +162,7 @@ function request(args) { result += encodeURIComponent(key) + '=' + encodeURIComponent(params[key]) + "&" } }) - url = url+'?'+result + url = url+'?'+(result.slice(0,result.length-1)) params = null } let headerObject = {} diff --git a/manifest.json b/manifest.json index 175630e..4bf0cc6 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__E0B05B1", "description" : "", "versionName" : "1.0.0", - "versionCode" : "100", + "versionCode" : 100, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/me/withdraw/index.vue b/pages/me/withdraw/index.vue index 28c9a9f..b9303bf 100644 --- a/pages/me/withdraw/index.vue +++ b/pages/me/withdraw/index.vue @@ -28,7 +28,7 @@ 实名认证 - 提现账号 + 红包明细 @@ -68,7 +68,7 @@ - + @@ -105,7 +105,7 @@
(2)高峰期提现人数多会导致网络拥堵,显示提现成功之后72小时内属于正常现象,请耐心等候。
- 4,每日23:00至次日11:00为系统维护时间,活动的对应奖励可能延迟到账。提现通常会在72小时内到账,如遇双休日、节假日,提现到账时间可能会延长。活动高峰期间,由于网络拥堵,用户可能存在短时间内无法提现的情况。平台将尽最大努力及时恢复提现功能,但无需因此承担任何责任。 + 4,每日08:00至次日18:00为提现时间,活动的对应奖励可能延迟到账。提现通常会在72小时内到账,如遇双休日、节假日,提现到账时间可能会延长。活动高峰期间,由于网络拥堵,用户可能存在短时间内无法提现的情况。平台将尽最大努力及时恢复提现功能,但无需因此承担任何责任。
`, money: '', mayMoney: '0', diff --git a/pages/me/withdraw/realName.vue b/pages/me/withdraw/realName.vue index dbcb6ec..38e3065 100644 --- a/pages/me/withdraw/realName.vue +++ b/pages/me/withdraw/realName.vue @@ -14,8 +14,7 @@ - + 请正确填写收款人的银行卡号和真实的收款人姓名 手机号需是银行卡银行卡预留手机号 银行卡号需与收款人姓名一致 @@ -29,6 +28,7 @@ import { reactive, nextTick, ref } from 'vue'; import { onReady,onLoad,onShow } from '@dcloudio/uni-app' import { updateUser } from '@/api/me/withdraw.js'; + import { selectUserById } from '@/api/user/user.js'; import { commonType } from '@/api/init.js'; let data = reactive({ @@ -36,16 +36,29 @@ mobile: null, certNum: null, accountNo: null, + isAccountNo: null, logining: false }) onLoad(() => { - data.certName = uni.getStorageSync('userInfo').certName; - data.mobile = uni.getStorageSync('userInfo').mobile; - data.certNum = uni.getStorageSync('userInfo').certNo; - data.accountNo = uni.getStorageSync('userInfo').accountNo; + getUserInfo() }) + function getUserInfo () { + selectUserById().then(res=>{ + if(res){ + data.certName = res.certName; + data.mobile = res.mobile; + if ( res.accountNo ) { + data.accountNo = res.accountNo; + data.certNum = res.certNo; + } + data.isAccountNo = res.accountNo; + } + + }) + } + function inputChange(e) { const key = e.currentTarget.dataset.key; data[key] = e.detail.value; diff --git a/pages/share/index.vue b/pages/share/index.vue index 60d9d0e..a8ce66a 100644 --- a/pages/share/index.vue +++ b/pages/share/index.vue @@ -85,7 +85,7 @@ - +