lin
2026-07-10 c5542e9e2b2fd14633b596334b957535459ae30e
pages/quanyi/add.vue
@@ -173,13 +173,13 @@
  mounted(){
     // 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秒后重新获取`;