From e75a4ad2c67c664d90f3de496fca524ce50f9ffa Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期三, 17 九月 2025 08:14:59 +0800
Subject: [PATCH] 1
---
manifest.json | 4 +-
pages.json | 7 +++
pages/InnerHtmlPage/index.vue | 26 +++++++++---
pages/white/white.vue | 26 +++++++++++++
4 files changed, 54 insertions(+), 9 deletions(-)
diff --git a/manifest.json b/manifest.json
index 3ccca1f..4db173c 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "鏅轰簯LMES",
"appid" : "__UNI__B002F49",
"description" : "",
- "versionName" : "1.0.78",
- "versionCode" : 178,
+ "versionName" : "1.0.80",
+ "versionCode" : 180,
"transformPx" : false,
/* 5+App鐗规湁鐩稿叧 */
"app-plus" : {
diff --git a/pages.json b/pages.json
index f35caa3..4770997 100644
--- a/pages.json
+++ b/pages.json
@@ -767,6 +767,13 @@
{
"navigationBarTitleText" : ""
}
+ },
+ {
+ "path" : "pages/white/white",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
}
],
"tabBar": {
diff --git a/pages/InnerHtmlPage/index.vue b/pages/InnerHtmlPage/index.vue
index de8b460..db19589 100644
--- a/pages/InnerHtmlPage/index.vue
+++ b/pages/InnerHtmlPage/index.vue
@@ -20,17 +20,29 @@
})
}
let pageMode = e.pageMode || 'vertical'
- if (pageMode == 'horizontal') {
- plus.screen.lockOrientation('landscape-primary');
- } else {
- plus.screen.lockOrientation('portrait-primary');
- }
+ // #ifdef APP-PLUS
+ uni.showLoading({
+ title: "鍔犺浇涓�..."
+ })
+ setTimeout(() => {
+ plus.screen.unlockOrientation();
+ if (pageMode == 'horizontal') {
+ plus.screen.lockOrientation('landscape-primary');
+ } else {
+ plus.screen.lockOrientation('portrait-primary');
+ }
+ uni.hideLoading();
+ }, 800)
+ //#endif
+
+
},
- onUnload() {
+ async onUnload() {
// 鎭㈠鍒扮珫灞�
+ plus.screen.unlockOrientation()
plus.screen.lockOrientation('portrait-primary');
- }
+ },
}
</script>
diff --git a/pages/white/white.vue b/pages/white/white.vue
new file mode 100644
index 0000000..a8f4551
--- /dev/null
+++ b/pages/white/white.vue
@@ -0,0 +1,26 @@
+<template>
+ <view>
+
+ </view>
+</template>
+
+<script>
+ export default {
+ name: 'white',
+ data() {
+ return {
+
+ }
+ },
+ onLoad: () => {
+ uni.navigateBack()
+ },
+ methods: {
+
+ }
+ }
+</script>
+
+<style>
+
+</style>
--
Gitblit v1.9.1