|
|
|
@ -3,7 +3,8 @@ |
|
|
|
|
<uni-popup ref="indexPopup" type="bottom"> |
|
|
|
|
<view class="trans-block"> |
|
|
|
|
<view class="title">请输入赠卡金额</view> |
|
|
|
|
<text>¥</text><input v-model="params.occurAmount" class="uni-input" type="digit" |
|
|
|
|
<text>¥</text> |
|
|
|
|
<input v-model="params.occurAmount" class="uni-input" type="digit" |
|
|
|
|
:placeholder=" '最多可以赠送'+ info.balance + '元'" /> |
|
|
|
|
|
|
|
|
|
<view style="width: 90vw; margin: 150rpx auto 0;"> |
|
|
|
@ -26,7 +27,7 @@ |
|
|
|
|
<view style="margin: 20rpx auto;width: 90%;">转出验证:本次转出需要短信确认,验证码 已发送至您的手机 |
|
|
|
|
{{phoneHandle(this.user.userPhone)}} |
|
|
|
|
</view> |
|
|
|
|
<xt-verify-code class="code" v-model="params.code" @confirm="submit"></xt-verify-code> |
|
|
|
|
<xt-verify-code class="code" v-model="params.code" @confirm="submit" :isFocus="isFocus"></xt-verify-code> |
|
|
|
|
<button @click="send" class="oliout_butten" |
|
|
|
|
style="width:60%; border-radius: 50rpx;">{{time===0?'重新发送验证码':time+'S'}} |
|
|
|
|
</button> |
|
|
|
@ -58,6 +59,7 @@ |
|
|
|
|
time: 0, |
|
|
|
|
price: '', |
|
|
|
|
info: {}, |
|
|
|
|
isFocus:false, |
|
|
|
|
user: uni.getStorageSync('user') || {}, |
|
|
|
|
params: { |
|
|
|
|
occurAmount: '', |
|
|
|
@ -72,7 +74,6 @@ |
|
|
|
|
methods: { |
|
|
|
|
_open(item) { |
|
|
|
|
if (item) { |
|
|
|
|
console.log('itemitemitemitem', item) |
|
|
|
|
this.params.occurAmount = '' |
|
|
|
|
this.info = item |
|
|
|
|
this.$refs.indexPopup.open() |
|
|
|
@ -90,6 +91,7 @@ |
|
|
|
|
this.time = 60 |
|
|
|
|
this.params.verifyCodeToken = res.data.verifyCodeToken |
|
|
|
|
this.timefn() |
|
|
|
|
this.isFocus = true |
|
|
|
|
this.$refs.smscodePopup.open() |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|