|
@@ -8,15 +8,15 @@
|
|
|
<view class="shop-name">{{shopData.name}}</view>
|
|
|
<view class="shop-sell">已售商品{{shopData.soldCount}}</view>
|
|
|
</view>
|
|
|
- <view class="shop-image">
|
|
|
- <swiper class="swiper" :style="{height: (swiperHeight/2)+'px'}" :indicator-dots="false" :autoplay="true" :interval="3000" :duration="500">
|
|
|
+ <view class="shop-image" :style="{height: (swiperHeight / 2 + 30)+'px'}">
|
|
|
+ <swiper class="swiper" :style="{height: (swiperHeight / 2)+'px'}" :indicator-dots="false" :autoplay="true" :interval="3000" :duration="500">
|
|
|
<swiper-item v-for="(item,index) in shopData.storeImgUrl" :key="index">
|
|
|
- <image :src="item" mode="aspectFill" style="width: 100%;height: 100%;"></image>
|
|
|
+ <image :src="item" mode="aspectFill" style="width: 100%;height: 100%;border-radius: 10px;" :style="{height: (swiperHeight / 2)+'px'}"></image>
|
|
|
</swiper-item>
|
|
|
</swiper>
|
|
|
</view>
|
|
|
<view class="shop-tab">
|
|
|
- <u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="changeTabs" font-size="30" active-color="#52A63A"
|
|
|
+ <u-tabs :list="tabList" :is-scroll="false" :current="tabIndex" @change="changeTabs" font-size="30" active-color="#56a83a"
|
|
|
inactive-color="#666666" :bold="false" height="90" bar-width="80"></u-tabs>
|
|
|
</view>
|
|
|
<view class="shop-sort" :class="dropShow ? 'visibility-drop' : 'hidden-drop'" v-show="!tabIndex">
|
|
@@ -125,7 +125,7 @@
|
|
|
onLoad(options) {
|
|
|
uni.getSystemInfo({
|
|
|
success: (res) => {
|
|
|
- this.swiperHeight = res.windowWidth
|
|
|
+ this.swiperHeight = res.windowWidth - 30
|
|
|
}
|
|
|
})
|
|
|
this.goodId = options.goodId
|
|
@@ -317,7 +317,6 @@
|
|
|
|
|
|
.shop-image {
|
|
|
width: 100%;
|
|
|
- height: 170px;
|
|
|
float: left;
|
|
|
box-sizing: border-box;
|
|
|
padding: 10px 15px 20px 15px;
|