lin
2026-06-10 f68f1975eea1d25e9bccc149e52cd04950cac591
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>