This commit is contained in:
曹辉 2023-03-29 09:51:24 +08:00
parent 3ab8de36b6
commit 04097879aa

View File

@ -25,7 +25,7 @@
</view>
</view>
</view>
<u-swiper :list="lbinfo" height='200' interval='3000' duration='1500' mode='none'></u-swiper>
<u-swiper :list="lbinfo" height='200' interval='3000' duration='1500' mode='none' @click='goswiper'></u-swiper>
<view class="conNew">
<view class="title">
周边医养机构
@ -100,6 +100,19 @@
}
},
methods: {
//swiper
goswiper(index) {
if (this.lbinfo[index].jumpLink == '/pages/homepage/homepage' || this.lbinfo[index].jumpLink ==
'/pages/Personal/Personal') {
uni.switchTab({
url: this.lbinfo[index].jumpLink
})
} else {
uni.navigateTo({
url: this.lbinfo[index].jumpLink
})
}
},
lengthlist(item) {
uni.showLoading({
title: '',