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 @@
+
+
+
+
+
+
+