Merge pull request '完善' (#295) from xbx-new into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/295
This commit was merged in pull request #295.
This commit is contained in:
2020-08-25 11:53:18 +08:00
2 changed files with 9 additions and 9 deletions

View File

@@ -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
// #ifdef 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"
} }
} }
}, },