parent
62e5573bcb
commit
0d39f486e9
|
|
@ -50,7 +50,7 @@
|
|||
<!-- 风格三 -->
|
||||
<block v-else-if="tabConfig == 2">
|
||||
<view class="mobile-page-style-3">
|
||||
<view class="shop-block" v-for="(item, index) in brandList" :key="index" :style="'border-radius:'+bgStyle+'rpx'">
|
||||
<view class="shop-block" v-for="(item, index) in brandList" :key="index" :style="'border-radius:'+bgStyle+'rpx'" @click="goStore(item.mer_id)">
|
||||
<view class="shop-block-top">
|
||||
<view class="image">
|
||||
<image class="store-avatar" :src="item.mer_avatar" mode="widthFix"></image>
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@
|
|||
<block v-for="(item,index) in imgUrls" :key="index">
|
||||
<swiper-item>
|
||||
<view @click="goUrl(item.url)" class='slide-navigator acea-row row-between-wrapper'>
|
||||
<image :src="item.pic" :id="'wrap'+index" class="slide-image"></image>
|
||||
<image :src="item.pic" :id="'wrap'+index" class="slide-image" :style="{ height: swiperHeight + 'px' }"></image>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</block>
|
||||
|
|
@ -586,7 +586,7 @@
|
|||
const element = "#wrap" + this.currIndex;
|
||||
const query = uni.createSelectorQuery().in(this);
|
||||
query.select(element).boundingClientRect(data => {
|
||||
this.swiperHeight = data.width * 9 / 16;
|
||||
this.swiperHeight = data.width * 7 / 20;
|
||||
}).exec();
|
||||
|
||||
// query.select(element).boundingClientRect();
|
||||
|
|
|
|||
Loading…
Reference in New Issue