yiming
2024-04-16 cb15c57d0ff984f5a100cf25d560fb0a69c00984
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();