From 70862df0f0da51928da361f3f33256ab6522f5db Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Sat, 09 May 2026 12:00:58 +0800
Subject: [PATCH] feat:澜品优选 去掉立即更新

---
 pages/quanyi/add.vue |   34 ++++++++++++++++++++++------------
 1 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/pages/quanyi/add.vue b/pages/quanyi/add.vue
index b67f32c..1fac832 100644
--- a/pages/quanyi/add.vue
+++ b/pages/quanyi/add.vue
@@ -171,15 +171,15 @@
 
   },
   mounted(){
-	  this.$refs.codeUi.open()
+	  // this.$refs.codeUi.open()
     this.windowHeight = uni.getSystemInfoSync().windowHeight;
-    this.interval = setInterval(() => {
-      let newHeight = window.innerHeight;
-      if (this.windowHeight !== newHeight) {
-        this.windowHeight = newHeight;
-        this.handleResize();
-      }
-    }, 200);
+    // this.interval = setInterval(() => {
+    //   let newHeight = window.innerHeight;
+    //   if (this.windowHeight !== newHeight) {
+    //     this.windowHeight = newHeight;
+    //     this.handleResize();
+    //   }
+    // }, 200);
   },
   methods: {
     kk(){
@@ -387,6 +387,7 @@
 			  title: e.data.data,
 			  icon: 'none'
 			});
+			return;
           }
           uni.request({
             url:_this.$webHost+`/api/v2/pay/getPayBindCardInfo/${uni.getStorageSync('ygxLogin').customerId}`,
@@ -449,7 +450,7 @@
         });
 
 
-        that.isCounting = true;
+        // that.isCounting = true;
 
 
 
@@ -473,7 +474,15 @@
             "bankId": "1",
 
           },
-          success(){
+          success(response){
+			  if(response.data.code != 200) {
+				  uni.showToast({
+				    title: response.data.data,
+				    icon: 'none'
+				  });
+				  return;
+			  }
+			  
             uni.request({
               url: that.$webHost+'/api/v2/pay/bindCardToCodes',
               method:'POST',
@@ -507,7 +516,7 @@
                   })
                   return;
                 }
-
+				that.isCounting = true;
                 if(res.data.code === 200){
                   that.bindCardId = res.data.data;
                 } else {
@@ -539,6 +548,7 @@
 
               }
             })
+			
 
             let count = 60;
             that.countText = `${count}s秒后重新获取`;
@@ -1258,7 +1268,7 @@
       <addAddress :addressDetail="addressDetail" @off="$refs.address.close()" @submit="e => addressDetail = e"></addAddress>
     </uv-popup>
 
-    <!-- <text-box v-if="showTextBox" ref="textBox" :getPlatformProtocolNewList="getPlatformProtocolNewList"></text-box> -->
+    <text-box v-if="showTextBox" ref="textBox" :getPlatformProtocolNewList="getPlatformProtocolNewList"></text-box>
   </view>
 </template>
 

--
Gitblit v1.9.3