Style: 礼品卡定位样式调优
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 || -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>
|
||||
|
||||
Reference in New Issue
Block a user