[修改优惠券管理,添加我的优惠券,修改签到页面]
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<view class="item">
|
||||
<view style="flex: 1;">
|
||||
<view class="inputTxt">提现金额</view>
|
||||
<input class="input_num" v-model="withdraw_input" @input='inputNum' type="number" placeholder-style="color:#999;font-weight:normal; font-size:34rpx;" placeholder="请输入提现金额" :disabled="balance===0" />
|
||||
<input class="input_num" ref='inputNuber' v-model="withdraw_input" @input='inputNum' type="number" placeholder-style="color:#999;font-weight:normal; font-size:34rpx;" placeholder="请输入提现金额" :disabled="balance===0" />
|
||||
</view>
|
||||
<view class="all" @click="all">全部提现</view>
|
||||
</view>
|
||||
@@ -96,7 +96,7 @@
|
||||
this.balance = res.balance
|
||||
this.tax = res.tax
|
||||
this.bank_accounts = res.bank_accounts.length
|
||||
this.withdraw_input = Number(res.balance)
|
||||
// this.withdraw_input = Number(res.balance)
|
||||
this.certification = res.certification
|
||||
uni.setStorageSync('refresh', false)
|
||||
}).catch(err => {
|
||||
@@ -117,16 +117,20 @@
|
||||
uni.showToast({
|
||||
title: '当前不能提现',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
duration: 2000,
|
||||
mask: true
|
||||
});
|
||||
this.withdraw_input = 0
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '最大值能超过' + this.balance + '',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
duration: 2000,
|
||||
mask: true
|
||||
});
|
||||
this.withdraw_input = this.balance
|
||||
this.$nextTick(() => {
|
||||
this.withdraw_input = this.balance
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user