完善 #295

Merged
theluyuan merged 3 commits from xbx-new into master 2020-08-25 03:53:19 +00:00
Showing only changes of commit d5e4d52dbe - Show all commits

View File

@@ -31,7 +31,7 @@
this.closeModal(); this.closeModal();
}, },
confirm() { confirm() {
// ifdef APP-PLUS // #ifdef APP-PLUS
if (plus.os.name == "Android") { if (plus.os.name == "Android") {
const appurl = "market://details?id=com.tencent.mobileqq"; //这个是通用应用市场如果想指定某个应用商店需要单独查这个应用商店的包名或scheme及参数 const appurl = "market://details?id=com.tencent.mobileqq"; //这个是通用应用市场如果想指定某个应用商店需要单独查这个应用商店的包名或scheme及参数
plus.runtime.openURL(appurl); plus.runtime.openURL(appurl);
@@ -42,7 +42,7 @@
// endif // endif
// ifdef H5 // ifdef H5
this.closeModal(); this.closeModal();
// endif // #endif
}, },
closeModal() { closeModal() {
uni.navigateBack(); uni.navigateBack();