Fix:2734 【商城小程序】千县—农民店铺和商品封面显示优化,店铺图片封面要铺满底板边缘
This commit is contained in:
@@ -539,12 +539,12 @@
|
||||
</view>
|
||||
</view> -->
|
||||
<view v-for="(item, index) in leftList" :key="index">
|
||||
<view v-if="item.productId" class="v12-white v12-radius-20 v12-pa-2 f-wrap" @click="goGoodsCon(item)">
|
||||
<view v-if="item.productId" class="v12-white v12-radius-20 f-wrap" @click="goGoodsCon(item)">
|
||||
<view class="focus-img">
|
||||
<image :src="item.productImage" class="img"></image>
|
||||
</view>
|
||||
<view class="more-t v12-pt-2 v12-font-bold v12-font-28" style="height: 84rpx">{{ item.productName }}</view>
|
||||
<view class="v12-justify-between v12-algin-center v12-pt-2">
|
||||
<view class="more-t v12-pt-2 v12-font-bold v12-font-28 v12-px-2" style="height: 84rpx">{{ item.productName }}</view>
|
||||
<view class="v12-justify-between v12-algin-center v12-pa-2">
|
||||
<view>
|
||||
<text class="v12-font-bold v12-primary-text v12-font-24">¥</text>
|
||||
<text class="v12-font-bold v12-primary-text v12-font-28">{{ item.productPrice }}</text>
|
||||
@@ -557,7 +557,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="!item.productId" class="v12-white v12-radius-20 v12-pa-2 f-wrap" @click="goStore(item)">
|
||||
<view v-if="!item.productId" class="v12-white v12-radius-20 f-wrap" @click="goStore(item)">
|
||||
<view class="focus-img">
|
||||
<image :src="item.cover" v-if="item.coverType === 1" class="img" mode="heightFix|widthFix"></image>
|
||||
<video :src="item.cover" v-else :show-center-play-btn="false" :show-fullscreen-btn="false" :show-play-btn="false" class="img" :poster="item.cover + '?vframe/jpg/offset/1'"></video>
|
||||
@@ -566,8 +566,8 @@
|
||||
class="mark-img"
|
||||
/>
|
||||
</view>
|
||||
<view class="more-t v12-pt-2 v12-font-bold v12-font-28" style="height: 84rpx">{{ item.content }}</view>
|
||||
<view class="v12-justify-start v12-align-center v12-pt-2 ">
|
||||
<view class="more-t v12-pt-2 v12-font-bold v12-font-28 v12-px-2" style="height: 84rpx">{{ item.content }}</view>
|
||||
<view class="v12-justify-start v12-align-center v12-pt-2 v12-px-2 v12-pb-2">
|
||||
<view class="btn v12-mr-2">
|
||||
<image :src="item.logo" class="img v12-radius-100"></image>
|
||||
</view>
|
||||
@@ -1146,7 +1146,7 @@ export default {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: block;
|
||||
width: 310rpx;
|
||||
width: 100%;
|
||||
height: 310rpx;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user