diff --git a/pageE/setting/updateVersion.vue b/pageE/setting/updateVersion.vue index 456b2fb..4a65869 100644 --- a/pageE/setting/updateVersion.vue +++ b/pageE/setting/updateVersion.vue @@ -31,7 +31,18 @@ this.closeModal(); }, confirm() { + // ifdef APP-PLUS + if (plus.os.name == "Android") { + const appurl = "market://details?id=自己打包用的包名"; //这个是通用应用市场,如果想指定某个应用商店,需要单独查这个应用商店的包名或scheme及参数 + plus.runtime.openURL(appurl); + } else if(plus.os.name == "ios") { + const appurl = "itms-apps://itunes.apple.com/cn/app/id1144816653?mt=8"; + plus.runtime.openURL(appurl); + } + // endif + // ifndef H5 this.closeModal(); + // endif }, closeModal() { uni.navigateBack();