diff --git a/pkg_product/views/famousQianxianShop.vue b/pkg_product/views/famousQianxianShop.vue index 3fb6193..a987516 100644 --- a/pkg_product/views/famousQianxianShop.vue +++ b/pkg_product/views/famousQianxianShop.vue @@ -844,6 +844,7 @@ export default { scrollTop: 100, duration: 300 }) + console.log(res.top); const imgs = [ { url: this.webUrl + '/引导页素材/千县名品/Group 4/Group 4-1.png', @@ -851,7 +852,7 @@ export default { position: 'absolute', zIndex: 99, width: '366rpx', - top: 460*2+'rpx', + top: (res.top-180)*2+'rpx', left: 80*2+'rpx', height: '167rpx', /* px: ; */ @@ -864,7 +865,7 @@ export default { position: 'absolute', zIndex: 99, width: '117rpx', - top: 440*2+'rpx', + top: (res.top-200)*2+'rpx', left: -60*2+'rpx', right: 0, margin: 'auto', @@ -878,7 +879,7 @@ export default { position: 'absolute', zIndex: 99, width: '117rpx', - top: 440*2+'rpx', + top: (res.top-200)*2+'rpx', left: 200*2+'rpx', height: '46rpx', },