diff --git a/pages/site/site.vue b/pages/site/site.vue index 7be85f2..a3d7aac 100644 --- a/pages/site/site.vue +++ b/pages/site/site.vue @@ -25,7 +25,7 @@ - + 周边医养机构 @@ -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: '',