Commit 129033b0 by 张立顺

Merge branch 'develop' of 192.168.3.233:saas_plus/business-assistant into develop

2 parents b45303da abe70502
...@@ -273,12 +273,12 @@ Component({ ...@@ -273,12 +273,12 @@ Component({
console.log(123546) console.log(123546)
wx.pageScrollTo({ wx.pageScrollTo({
// scrollTop: imgTopArr[idx] - stickyTop + 88 + 34 // scrollTop: imgTopArr[idx] - stickyTop + 88 + 34
scrollTop: imgTopArr[idx] - stickyTop/2-10 scrollTop: imgTopArr[idx] - stickyTop+44 +36
}); });
// wx.pageScrollTo({ scrollTop: imgTopArr[idx] - stickyTop }); // wx.pageScrollTo({ scrollTop: imgTopArr[idx] - stickyTop });
} else { } else {
wx.pageScrollTo({ wx.pageScrollTo({
scrollTop: imgTopArr[idx] - stickyTop scrollTop: imgTopArr[idx] - stickyTop-10
}); });
} }
}, },
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
margin-top: 28rpx; margin-top: 28rpx;
margin-bottom: 16rpx; margin-bottom: 16rpx;
padding-left: 32rpx; padding-left: 32rpx;
padding-right: 32rpx;
} }
.prod-wrap .nav-wrap .nav { .prod-wrap .nav-wrap .nav {
......
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
</view> </view>
</view> </view>
<view class="project-wrap {{isShow ?'check-prod':''}}"> <view class="project-wrap {{isShow ?'check-prod':''}}">
<!-- --> <!-- stickyTop+88 -->
<view class="stickyTab" style="top:{{isShare ? stickyTop+88 : stickyTop}}rpx"> <view class="stickyTab" style="top:{{isShare ? stickyTop : stickyTop}}rpx">
<tab outClassName="project-tab" openScroll="{{true}}" tab="{{tab}}" index="{{curTabIdx}}" bindclick="changeTab" productHeight /> <tab outClassName="project-tab" openScroll="{{true}}" tab="{{tab}}" index="{{curTabIdx}}" bindclick="changeTab" productHeight />
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!