Fix:4658 【旅居商城小程序】iOS端的轮播商品名称、价格以及选购按钮位置整体上调一点,按钮下方留点空白

This commit is contained in:
linxi
2025-11-25 10:23:47 +08:00
parent 824a9f93de
commit 642139d0a2
+3 -3
View File
@@ -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;