修改
This commit is contained in:
parent
3ab8de36b6
commit
04097879aa
@ -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: '',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user