完善
This commit is contained in:
parent
6af21ad216
commit
71a82a10b0
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<u-modal v-model="show" :show-cancel-button="is_focus_upgrade" confirm-text="升级" title="发现新版本" @cancel="cancel" @confirm="confirm">
|
||||
<view class="u-update-content">
|
||||
<!-- <rich-text :nodes="content"></rich-text> -->
|
||||
<rich-text :nodes="content"></rich-text>
|
||||
</view>
|
||||
</u-modal>
|
||||
</template>
|
||||
@ -33,14 +33,14 @@
|
||||
confirm() {
|
||||
// ifdef APP-PLUS
|
||||
if (plus.os.name == "Android") {
|
||||
const appurl = "market://details?id=自己打包用的包名"; //这个是通用应用市场,如果想指定某个应用商店,需要单独查这个应用商店的包名或scheme及参数
|
||||
const appurl = "market://details?id=com.tencent.mobileqq"; //这个是通用应用市场,如果想指定某个应用商店,需要单独查这个应用商店的包名或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
|
||||
// ifdef H5
|
||||
this.closeModal();
|
||||
// endif
|
||||
},
|
||||
@ -51,11 +51,11 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
<style lang="scss">
|
||||
page {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
/deep/ .u-mode-center-box {
|
||||
.u-mode-center-box {
|
||||
background-color: transparent;
|
||||
}
|
||||
// .u-full-content {
|
||||
|
@ -1019,10 +1019,10 @@
|
||||
"style": {
|
||||
"navigationStyle": "custom", // 取消本页面的导航栏
|
||||
"app-plus": {
|
||||
"animationType": "fade-in", // 设置fade-in淡入动画,为最合理的动画类型
|
||||
"background": "transparent", // 背景透明
|
||||
"backgroundColor": "rgba(0,0,0,0)", // 背景透明
|
||||
"popGesture": "none" // 关闭IOS屏幕左边滑动关闭当前页面的功能
|
||||
"animationType": "fade-in",
|
||||
"background": "transparent",
|
||||
"backgroundColor": "rgba(0,0,0,0)",
|
||||
"popGesture": "none"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user