lin
2026-04-30 e8b7cd91802fafd5acdfa8b12748848a89921dab
UI: 澜品优选优化绑卡发短信倒计时调整that.isCounting = true的位置
2 files modified
31 ■■■■■ changed files
pages/my/my.vue 2 ●●●●● patch | view | raw | blame | history
pages/quanyi/add.vue 29 ●●●●● patch | view | raw | blame | history
pages/my/my.vue
@@ -181,6 +181,8 @@
                    console.log('res',res)
                  }
                })
              } else {
                  _this.isShop = false
              }
        },
        methods: {
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(){
@@ -449,7 +449,7 @@
        });
        that.isCounting = true;
        // that.isCounting = true;
@@ -473,7 +473,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 +515,7 @@
                  })
                  return;
                }
                that.isCounting = true;
                if(res.data.code === 200){
                  that.bindCardId = res.data.data;
                } else {
@@ -540,6 +548,7 @@
              }
            })
            let count = 60;
            that.countText = `${count}s秒后重新获取`;