From af5f192e229b438f24fa2d0e97eac8bdf37287d3 Mon Sep 17 00:00:00 2001 From: yuantao Date: Tue, 28 Oct 2025 10:33:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 31 +++++++++++++++++++------------ subPages/welcome/index.vue | 7 +++++++ 2 files changed, 26 insertions(+), 12 deletions(-) create mode 100644 subPages/welcome/index.vue diff --git a/pages.json b/pages.json index 6a581dc..b86d452 100644 --- a/pages.json +++ b/pages.json @@ -1,22 +1,29 @@ { "pages": [ { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "首页" - } + "path": "pages/index/index" + } + ], + "subPackages": [ + { + "root": "subPages", + "pages": [ + { + "path": "welcome/index" + } + ] } ], - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - }, "easycom": { "autoscan": true, "custom": { - "^u-(.*)": "@/uview-plus/components/u-$1/u-$1.vue" + "^u-([^-].*)": "@/uview-plus/components/u-$1/u-$1.vue" } + }, + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "miniprogram", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" } -} \ No newline at end of file +} diff --git a/subPages/welcome/index.vue b/subPages/welcome/index.vue new file mode 100644 index 0000000..054b3c6 --- /dev/null +++ b/subPages/welcome/index.vue @@ -0,0 +1,7 @@ + + + + +