Fix:4658 【旅居商城小程序】iOS端的轮播商品名称、价格以及选购按钮位置整体上调一点,按钮下方留点空白
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</swiper-item>
|
||||
</swiper> -->
|
||||
<view class="swiper-wrap">
|
||||
<swiper @change="handleChange" style="height: 100%;" autoplay circular next-margin="460rpx" interval="4000">
|
||||
<swiper @change="handleChange" style="height: 100%;" autoplay circular next-margin="460rpx" interval="4000">
|
||||
<swiper-item v-for="(item, index) in details.newProducts" :key="index" @click="toGoods(item)">
|
||||
<view class="new-card" :class="{'is-actived': current == index}">
|
||||
<image :src="item.productCover" class="new-card-img" mode="heightFix|widthFix"></image>
|
||||
@@ -154,7 +154,7 @@ export default{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
padding: 20rpx 20rpx 0 20rpx;
|
||||
padding: 20rpx;
|
||||
}
|
||||
.box-emp{
|
||||
width: 100%;
|
||||
@@ -177,7 +177,7 @@ export default{
|
||||
}
|
||||
.new-card{
|
||||
width: 220rpx;
|
||||
height: 240rpx;
|
||||
// height: 240rpx;
|
||||
background: #fff;
|
||||
border-radius: 20rpx;
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user