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