|
@@ -19,7 +19,7 @@
|
|
|
|
|
|
<swiper class="swiper" @change="swiperChange" :indicator-dots="true" circular :autoplay="true"
|
|
|
:interval="3000" :duration="1000">
|
|
|
- <swiper-item v-for="(item,index) in bannerList" :key="index">
|
|
|
+ <swiper-item v-for="(item,index) in bannerList" :key="index" @click="gotoPage(item.jumpUrl)">
|
|
|
<image class="swiper-item" mode="" :src="item.bannerImg">
|
|
|
</image>
|
|
|
</swiper-item>
|
|
@@ -139,6 +139,11 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ gotoPage(url){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: url
|
|
|
+ });
|
|
|
+ },
|
|
|
handleTest(){
|
|
|
uni.navigateTo({
|
|
|
url:'/study/test'
|