This commit is contained in:
luyuan 2020-08-25 11:51:16 +08:00
parent 6af21ad216
commit 71a82a10b0
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
2 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<u-modal v-model="show" :show-cancel-button="is_focus_upgrade" confirm-text="升级" title="发现新版本" @cancel="cancel" @confirm="confirm"> <u-modal v-model="show" :show-cancel-button="is_focus_upgrade" confirm-text="升级" title="发现新版本" @cancel="cancel" @confirm="confirm">
<view class="u-update-content"> <view class="u-update-content">
<!-- <rich-text :nodes="content"></rich-text> --> <rich-text :nodes="content"></rich-text>
</view> </view>
</u-modal> </u-modal>
</template> </template>
@ -33,14 +33,14 @@
confirm() { confirm() {
// ifdef APP-PLUS // ifdef APP-PLUS
if (plus.os.name == "Android") { if (plus.os.name == "Android") {
const appurl = "market://details?id=自己打包用的包名"; //scheme const appurl = "market://details?id=com.tencent.mobileqq"; //scheme
plus.runtime.openURL(appurl); plus.runtime.openURL(appurl);
} else if(plus.os.name == "ios") { } else if(plus.os.name == "ios") {
const appurl = "itms-apps://itunes.apple.com/cn/app/id1144816653?mt=8"; const appurl = "itms-apps://itunes.apple.com/cn/app/id1144816653?mt=8";
plus.runtime.openURL(appurl); plus.runtime.openURL(appurl);
} }
// endif // endif
// ifndef H5 // ifdef H5
this.closeModal(); this.closeModal();
// endif // endif
}, },
@ -51,11 +51,11 @@
} }
</script> </script>
<style scoped lang="scss"> <style lang="scss">
page { page {
background-color: rgba(0, 0, 0, 0); background-color: rgba(0, 0, 0, 0);
} }
/deep/ .u-mode-center-box { .u-mode-center-box {
background-color: transparent; background-color: transparent;
} }
// .u-full-content { // .u-full-content {

View File

@ -1019,10 +1019,10 @@
"style": { "style": {
"navigationStyle": "custom", // "navigationStyle": "custom", //
"app-plus": { "app-plus": {
"animationType": "fade-in", // fade-in "animationType": "fade-in",
"background": "transparent", // "background": "transparent",
"backgroundColor": "rgba(0,0,0,0)", // "backgroundColor": "rgba(0,0,0,0)",
"popGesture": "none" // IOS "popGesture": "none"
} }
} }
}, },