|
|
@ -5,7 +5,7 @@ |
|
|
|
<view class="swiper-item" :style="{ backgroundImage: `url(${imageUrl})` }" |
|
|
|
@click="index == 8 ? 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="gotoPaths" v-if="index == 2 || index == 4"></image> |
|
|
|
:class="['btn-img', {'btn-imgs': index == 6}]" @click="gotoPath('/subPackages/techan/detail?id=37')" v-if="index == 2 || index == 4"></image> |
|
|
|
</view> |
|
|
|
</swiper-item> |
|
|
|
</swiper> |
|
|
@ -44,12 +44,7 @@ export default { |
|
|
|
methods: { |
|
|
|
handleSwiperChange(e) { |
|
|
|
this.currentIndex = e.detail.current; |
|
|
|
}, |
|
|
|
gotoPaths() { |
|
|
|
uni.switchTab({ |
|
|
|
url: '/pages/index/sensoryStore' |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
</script> |
|
|
|