需求变更

This commit is contained in:
yanran200730
2023-01-05 17:01:10 +08:00
parent f70e222118
commit 95aa779de1
3 changed files with 118 additions and 5 deletions

View File

@@ -130,14 +130,14 @@
},
toDetail (e) {
if (!e.linkUrl) return
if (e.type == '0') { //0 h5链接 1 小程序链接; 2外部小程序
this.$linkTo(`/subPages/h5/webview?link=${e.linkUrl}&title=${e.title}`)
} else {
} else if (e.type == '2') {
wx.navigateToMiniProgram({
appId: e.linkUrl
})
} else if (e.type == '3') {
this.$linkTo(`./News?id=${e.id}`)
}
},