Browse Source

不眠之梦

dev_xrcc
chenkainan 3 months ago
parent
commit
bd01b4b51f
  1. 9
      bmzm/chapter6/index.vue

9
bmzm/chapter6/index.vue

@ -5,7 +5,7 @@
<view class="swiper-item" :style="{ backgroundImage: `url(${imageUrl})` }" <view class="swiper-item" :style="{ backgroundImage: `url(${imageUrl})` }"
@click="index == 8 ? gotoPath('/bmzm/chapter7/index') : null"> @click="index == 8 ? gotoPath('/bmzm/chapter7/index') : null">
<image src="https://static.ticket.sz-trip.com/epicSoul/bmzm/chapter4/btn-img.png" mode="aspectFill" <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> </view>
</swiper-item> </swiper-item>
</swiper> </swiper>
@ -44,12 +44,7 @@ export default {
methods: { methods: {
handleSwiperChange(e) { handleSwiperChange(e) {
this.currentIndex = e.detail.current; this.currentIndex = e.detail.current;
}, }
gotoPaths() {
uni.switchTab({
url: '/pages/index/sensoryStore'
})
}
} }
}; };
</script> </script>

Loading…
Cancel
Save