1
chenhaozhe
2025-09-17 e75a4ad2c67c664d90f3de496fca524ce50f9ffa
1
3个文件已修改
1个文件已添加
63 ■■■■ 已修改文件
manifest.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/InnerHtmlPage/index.vue 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/white/white.vue 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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" : {
pages.json
@@ -767,6 +767,13 @@
            {
                "navigationBarTitleText" : ""
            }
        },
        {
            "path" : "pages/white/white",
            "style" :
            {
                "navigationBarTitleText" : ""
            }
        }
    ],
    "tabBar": {
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>
pages/white/white.vue
New file
@@ -0,0 +1,26 @@
<template>
    <view>
    </view>
</template>
<script>
    export default {
        name: 'white',
        data() {
            return {
            }
        },
        onLoad: () => {
            uni.navigateBack()
        },
        methods: {
        }
    }
</script>
<style>
</style>