ios
litian
2024-04-16 9261a41b62e19afda9086edf322a056b0ad0276e
packageDomain/pages/sampleBookList/applicationForm/index.js
@@ -332,10 +332,10 @@
    if (!this.data.isIos === 'ios') {
      return
    }
    // 键盘高度
    const height = e.detail.height;
    const className = e.target.dataset.class;
    console.log(height, className)
    if (height === 0) {
      this.scrollToInput(0);
      return;
@@ -354,6 +354,7 @@
          if (bottom <= restHeight) return;
          // 现阶段需要滚动的大小
          let scrollTop = bottom - restHeight;
          console.log(scrollTop, 1)
          this.scrollToInput(height, scrollTop);
        })
        .exec();