|
|
@ -5,7 +5,7 @@ |
|
|
|
<view class="swiper-item" :style="{ backgroundImage: `url(${imageUrl})` }" |
|
|
|
@click="index == 10 ? gotoPath('/bmzm/chapter7/index') : null"> |
|
|
|
<image src="https://static.ticket.sz-trip.com/epicSoul/bmzm/chapter4/btn-img.png" mode="aspectFill" |
|
|
|
:class="['btn-img', {'btn-imgs': index == 6}]" @click="gotoPath" v-if="index == 4 || index == 6"></image> |
|
|
|
:class="['btn-img', {'btn-imgs': index == 6}]" @click="gotoPaths" v-if="index == 4 || index == 6"></image> |
|
|
|
</view> |
|
|
|
</swiper-item> |
|
|
|
</swiper> |
|
|
@ -45,7 +45,7 @@ export default { |
|
|
|
handleSwiperChange(e) { |
|
|
|
this.currentIndex = e.detail.current; |
|
|
|
}, |
|
|
|
gotoPath() { |
|
|
|
gotoPaths() { |
|
|
|
uni.switchTab({ |
|
|
|
url: '/pages/index/sensoryStore' |
|
|
|
}) |
|
|
|