| | |
| | | fontSize: "30rpx", |
| | | fontWeight: "bold", |
| | | }, |
| | | bindStatus:false |
| | | |
| | | bindStatus:false, |
| | | getSmsCodeTimer: null, |
| | | |
| | | }; |
| | | }, |
| | |
| | | }, |
| | | getSmsCode(){ |
| | | const that = this; |
| | | clearInterval(that.getSmsCodeTimer); |
| | | console.log(that.getPayBindCardInfo[0].paymentMethod); |
| | | if(this.isCounting){ |
| | | return |
| | |
| | | that.countText = `${count}s秒后重新获取`; |
| | | |
| | | |
| | | const timer = setInterval(() => { |
| | | that.getSmsCodeTimer = setInterval(() => { |
| | | count--; |
| | | that.countText = `${count}s秒后重新获取`; |
| | | if (count <= 0) { |
| | | clearInterval(timer); |
| | | clearInterval(that.getSmsCodeTimer); |
| | | that.isCounting = false; |
| | | that.countText = ''; |
| | | } |
| | |
| | | <text>银行卡号</text> |
| | | </view> |
| | | <view class="inp_box"> |
| | | <input type="number" maxlength="30" @blur="validateAndCacheCardInfo" v-model="cardNumber" class="inp" placeholder="请输入银行卡号" /> |
| | | <input type="number" maxlength="19" @blur="validateAndCacheCardInfo" v-model="cardNumber" class="inp" placeholder="请输入银行卡号" /> |
| | | <image @click="cardNumber=''" v-show="!bindStatus && cardNumber" :src="offIcon" style="width: 40rpx;height: 40rpx;position: absolute;right: 0rpx;top: 30rpx;"></image> |
| | | </view> |
| | | |