// #ifdef MP-WEIXIN
uni.navigateToMiniProgram({
appId: 'gh_c306838810e9'
})
// #endif
// #ifdef APP-PLUS
plus.share.getServices(shareList => {
let shareWx = shareList.find(val => val.id == 'weixin')
if (shareWx) {
shareWx.launchMiniProgram({
id: 'gh_c306838810e9'
})
} else {
uni.showToast({
icon: 'none',
title: "未安装微信,无法打开对应小程序"
})
}
}, e => {
uni.showToast({
icon: 'none',
title: "获取分享服务列表失败:" + JSON.stringify(e)
})
})
// #endif
return;