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