From 5df313e611a4459c8de026fafe68b7873ca010d7 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Thu, 11 Jun 2026 17:55:39 +0800
Subject: [PATCH] feat:星享购 新增会员价格

---
 pages/quanyi/add.vue |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/pages/quanyi/add.vue b/pages/quanyi/add.vue
index 0d95dcf..05aa695 100644
--- a/pages/quanyi/add.vue
+++ b/pages/quanyi/add.vue
@@ -64,8 +64,8 @@
         fontSize: "30rpx",
         fontWeight: "bold",
       },
-      bindStatus:false
-
+      bindStatus:false,
+		getSmsCodeTimer: null,
 
     };
   },
@@ -585,6 +585,7 @@
     },
       getSmsCode(){
         const that = this;
+		clearInterval(that.getSmsCodeTimer);
         console.log(that.getPayBindCardInfo[0].paymentMethod);
         if(this.isCounting){
           return
@@ -709,11 +710,11 @@
             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 = '';
               }
@@ -1018,7 +1019,7 @@
           url: '/pages/index/index'
         });
       },
-	  
+	  // 收件人所在地:弹窗选择城市
 		openProvincesCity() {
 			let defaultData = []
 			if(this.addressDetail.provinceCode && this.addressDetail.cityCode) {
@@ -1027,6 +1028,7 @@
 
 			this.$refs.provincesCity.open(defaultData)
 		},
+		// 弹窗选择城市回调
 		provincesCityChange(e) {
 			if(e.value.length > 0) {
 				this.addressDetail.provinceCode = e.value[0].code
@@ -1088,7 +1090,7 @@
 				  <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>
 

--
Gitblit v1.9.3