Fix:4070 【商城小程序】模版显示效果与预览图效果存在位置偏差
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
<view class="cover-item" >
|
||||
<view class="img-wrap" :class="currentIndex === index ? 'v12-mt-10' : 'v12-mt-18'">
|
||||
<view class="pro-img-wrap " :style="{
|
||||
left: (item.productImageX || 0) + 'px',
|
||||
top: (item.productImageY || -40) + 'px'
|
||||
left: (item.productImageX || 0) * 2 + 'rpx',
|
||||
top: (item.productImageY || -40) * 2 + 'rpx'
|
||||
}">
|
||||
<image :src="product.image" class="pro-cover-image" mode="widthFix|heightFix" />
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user