需求变更
This commit is contained in:
@@ -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}`)
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user