Style: 礼品卡定位样式调优

This commit is contained in:
linxi
2025-08-11 15:41:08 +08:00
parent 562739eabd
commit 6b0011d73d
3 changed files with 7 additions and 6 deletions
@@ -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 || -20) + 'px'
left: (item.productImageX*2 || 0) + 'rpx',
top: (item.productImageY*2 || -40) + 'rpx'
}">
<image :src="product.image" class="pro-cover-image" mode="widthFix|heightFix" />
</view>