Commit fc2e30d7 by luyt

feat:调整滑动位置

1 parent b3e9cdeb
......@@ -272,7 +272,8 @@ Component({
if (currentUrl == "/pages/tab/index/index") {
console.log(123546)
wx.pageScrollTo({
scrollTop: imgTopArr[idx] - stickyTop + 88 + 34
// scrollTop: imgTopArr[idx] - stickyTop + 88 + 34
scrollTop: imgTopArr[idx] - stickyTop/2-10
});
// wx.pageScrollTo({ scrollTop: imgTopArr[idx] - stickyTop });
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!