From 42a4dff4a6faaebe753742c734b7a4041e67f861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=96=E5=BE=B7=E4=BA=91?= Date: Sat, 20 Dec 2025 23:18:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=8D=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 5 +- src/manifest.json | 4 +- src/pages.json | 130 ++--------------------------- src/pages_caltools/pages/index.vue | 2 +- 4 files changed, 12 insertions(+), 129 deletions(-) diff --git a/src/App.vue b/src/App.vue index 7a4030e..9c0932f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,8 +3,6 @@ ref, } from 'vue'; - - export default { onLaunch: function() { console.log('App Launch - 开始初始化'); @@ -19,7 +17,6 @@ } - \ No newline at end of file diff --git a/src/manifest.json b/src/manifest.json index e844371..b40ae30 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -115,7 +115,9 @@ "usingComponents" : true, "uniStatistics" : { "enable" : false - } + }, + "componentFramework" : "glass-easel", // 小程序新组件框架 + "lazyCodeLoading" : "requiredComponents" // 按需加载组件 }, "mp-alipay" : { "usingComponents" : true diff --git a/src/pages.json b/src/pages.json index 7626a63..ffd2b9b 100644 --- a/src/pages.json +++ b/src/pages.json @@ -51,6 +51,8 @@ ], "subPackages": [{ "root": "pages_mine/pages", + "independent": true , + "pages": [{ "path": "register/index", "style": { @@ -101,129 +103,7 @@ } ] }, - { - "root": "pages_template/pages", - "pages": [{ - "path": "wxCenter/index", - "style": { - "navigationBarTitleText": "wxCenter 仿微信个人中心", - "navigationStyle": "custom" - } - }, - { - "path": "keyboardPay/index", - "style": { - "navigationBarTitleText": "keyboardPay 自定义键盘支付" - } - }, - { - "path": "mallMenu/index2", - "style": { - "navigationBarTitleText": "mallMenu-商城分类" - } - }, - { - "path": "mallMenu/index1", - "style": { - "navigationBarTitleText": "mallMenu-商城分类" - } - }, - { - "path": "coupon/index", - "style": { - "navigationBarTitleText": "coupon-优惠券" - } - }, - { - "path": "login/index1", - "style": { - "navigationBarTitleText": "美团登录" - } - }, - { - "path": "login/index2", - "style": { - "navigationBarTitleText": "水滴登录" - } - }, - { - "path": "citySelect/index", - "style": { - "navigationBarTitleText": "城市选择" - } - }, - { - "path": "submitBar/index", - "style": { - "navigationBarTitleText": "提交订单栏" - } - }, - { - "path": "comment/index", - "style": { - "navigationBarTitleText": "评论" - } - }, - { - "path": "comment/reply", - "style": { - "navigationBarTitleText": "评论详情" - } - }, - { - "path": "order/index", - "style": { - "navigationBarTitleText": "订单" - } - }, - { - "path": "login/code", - "style": { - "navigationBarTitleText": "登录获取验证码" - } - }, - { - "path": "address/index", - "style": { - "navigationBarTitleText": "用户地址" - } - }, - { - "path": "address/addSite", - "style": { - "navigationBarTitleText": "添加用户地址" - } - } - ] - }, - { - "root": "pages_qiun/pages", - "pages": [{ - "path": "sport/index", - "style": { - "pageOrientation": "auto" - } - }, - { - "path": "school/index", - "style": { - "pageOrientation": "auto" - } - }, - { - "path": "finance/index", - "style": { - "pageOrientation": "auto" - } - }, - { - "path": "main/index", - "style": { - "pageOrientation": "auto" - } - } - ] - }, + { "root": "pages_geek/pages", @@ -241,6 +121,8 @@ { "root": "pages_caltools/pages", + "independent": true , + "pages": [{ "path": "index" }, @@ -255,6 +137,8 @@ { "root": "pages_system/pages", + "independent": true , + "pages": [{ "path": "register/index", "style": { diff --git a/src/pages_caltools/pages/index.vue b/src/pages_caltools/pages/index.vue index cf357f3..40b2644 100644 --- a/src/pages_caltools/pages/index.vue +++ b/src/pages_caltools/pages/index.vue @@ -7,7 +7,7 @@ - + {{group.name}}