litian
2024-06-28 232e4dcf0fc80bdcfff1bdf45431e67c25831fb6
pages/home/home.js
@@ -592,6 +592,22 @@
  },
  // 扫一扫
  onIconScanTap() {
    wx.scanCode({
      success(res) {
        console.log(res);
        if (res.errMsg == "scanCode:ok" && res.path) {
          console.log(res.path, 2)
          wx.redirectTo({
            url: '/' + res.path,
          })
        }
      }
    })
  },
  // 监听滚动条
  onScroll(e) {