| | |
| | | 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 = ''; |
| | | } |
| | |
| | | url: '/pages/index/index' |
| | | }); |
| | | }, |
| | | |
| | | // 收件人所在地:弹窗选择城市 |
| | | openProvincesCity() { |
| | | let defaultData = [] |
| | | if(this.addressDetail.provinceCode && this.addressDetail.cityCode) { |
| | |
| | | |
| | | this.$refs.provincesCity.open(defaultData) |
| | | }, |
| | | // 弹窗选择城市回调 |
| | | provincesCityChange(e) { |
| | | if(e.value.length > 0) { |
| | | this.addressDetail.provinceCode = e.value[0].code |
| | |
| | | <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> |
| | | |