|
@@ -118,7 +118,7 @@ Page({
|
|
|
has_bank:res.data.has_bank
|
|
has_bank:res.data.has_bank
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
-// if(that.data.has_bank){
|
|
|
|
|
|
|
+ if(that.data.has_bank){
|
|
|
that.data.confirmDialog = !that.data.confirmDialog
|
|
that.data.confirmDialog = !that.data.confirmDialog
|
|
|
if (that.data.cashTotal.available >= that.data.min_cash && that.data.cashTotal.available <= that.data.max_cash) {
|
|
if (that.data.cashTotal.available >= that.data.min_cash && that.data.cashTotal.available <= that.data.max_cash) {
|
|
|
that.setData({
|
|
that.setData({
|
|
@@ -131,18 +131,18 @@ Page({
|
|
|
duration: 2000
|
|
duration: 2000
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
-// }else{
|
|
|
|
|
-// wx.showToast({
|
|
|
|
|
-// title: '提现请先绑定银行卡~',
|
|
|
|
|
-// icon: 'none',
|
|
|
|
|
-// duration: 2000
|
|
|
|
|
-// })
|
|
|
|
|
-// setTimeout(function(){
|
|
|
|
|
-// wx.navigateTo({
|
|
|
|
|
-// url: '/packageUser/pages/user/bankinfo/bankinfo'
|
|
|
|
|
-// })
|
|
|
|
|
-// },1000)
|
|
|
|
|
-// }
|
|
|
|
|
|
|
+ }else{
|
|
|
|
|
+ wx.showToast({
|
|
|
|
|
+ title: '提现请先绑定银行卡~',
|
|
|
|
|
+ icon: 'none',
|
|
|
|
|
+ duration: 2000
|
|
|
|
|
+ })
|
|
|
|
|
+ setTimeout(function(){
|
|
|
|
|
+ wx.navigateTo({
|
|
|
|
|
+ url: '/packageUser/pages/user/bankinfo/bankinfo'
|
|
|
|
|
+ })
|
|
|
|
|
+ },1000)
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
_request.$get(url, params, success)
|
|
_request.$get(url, params, success)
|
|
|
},
|
|
},
|