bug
闫增涛
2024-09-09 606018855ad2d5ad55f527b76e9652fdb58ed982
pages/home/home.js
@@ -643,11 +643,15 @@
    if (this.data.scoll) {
      if (e.detail.scrollTop < 20) {
        this.data.scoll = false
        // 避免频繁调用 setData
        if (this.data.isWhite)
        this.isChange(false);
      }
    } else {
      if (e.detail.scrollTop > 20) {
        this.data.scoll = true
        // 避免频繁调用 setData
        if (!this.data.isWhite)
        this.isChange(true);
      }
    }