chore(分包): 目录结构调整
This commit is contained in:
185
pages.json
185
pages.json
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||
"pages": [
|
||||
// pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
@@ -7,7 +8,6 @@
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/contact/contact",
|
||||
"style": {
|
||||
@@ -15,15 +15,6 @@
|
||||
}
|
||||
},
|
||||
//******************商品模块(11)******************
|
||||
{
|
||||
"path": "pages/goods/cart",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "购物车"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/goods/category",
|
||||
"style": {
|
||||
@@ -32,93 +23,110 @@
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
|
||||
// 商品详情
|
||||
{
|
||||
"path": "pages/goods/detail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/goods/list",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "商品列表"
|
||||
}
|
||||
},
|
||||
|
||||
//******************会员模块(20)******************
|
||||
{
|
||||
"path": "pages/member/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
//******************订单模块(12)******************
|
||||
{
|
||||
"path": "pages/order/payment",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/order/list",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/order/detail",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/order/detail_local_delivery",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/order/detail_pickup",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
//积分订单详情
|
||||
{
|
||||
"path": "pages/order/detail_point",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
}
|
||||
],
|
||||
"subPackages": [{
|
||||
|
||||
"subPackages": [
|
||||
{
|
||||
//******************商品模块分包******************
|
||||
"root": "pages_goods",
|
||||
"pages": [
|
||||
{
|
||||
"path": "cart",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "购物车"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "detail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品详情"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "list",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"navigationBarTitleText": "商品列表"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
//******************订单模块分包******************
|
||||
"root": "pages_order",
|
||||
"pages": [
|
||||
{
|
||||
"path": "payment",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "list",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "detail",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "detail_local_delivery",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "detail_pickup",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
//积分订单详情
|
||||
{
|
||||
"path": "detail_point",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
//******************营销活动模块(26)******************
|
||||
"root": "pages_promotion",
|
||||
"pages": [
|
||||
|
||||
//----------积分模块(2)----------
|
||||
{
|
||||
"path": "point/list",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"path": "point/goods_list",
|
||||
"style": {
|
||||
// #ifdef APP-PLUS
|
||||
@@ -156,7 +164,6 @@
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
|
||||
//****************** 商户 ******************
|
||||
{
|
||||
"path": "merch/merchcategory",
|
||||
@@ -337,7 +344,7 @@
|
||||
"path": "index/diy",
|
||||
"style": {
|
||||
// #ifdef MP-WEIXIN
|
||||
// "navigationStyle": "custom",
|
||||
// "navigationStyle": "custom",
|
||||
// #endif
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
@@ -581,7 +588,6 @@
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
|
||||
//******************商品模块******************
|
||||
{
|
||||
"path": "goods/coupon",
|
||||
@@ -631,8 +637,6 @@
|
||||
// #endif
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
//******************CMS模块(6)******************
|
||||
{
|
||||
"path": "help/list",
|
||||
@@ -869,7 +873,7 @@
|
||||
// #endif
|
||||
"navigationBarTitleText": "介质材料搜索"
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"path": "seal/medium/detail",
|
||||
"style": {
|
||||
@@ -918,7 +922,8 @@
|
||||
"selectedColor": "#FF0036",
|
||||
"backgroundColor": "#fff",
|
||||
"borderStyle": "white",
|
||||
"list": [{
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"text": ""
|
||||
},
|
||||
@@ -942,7 +947,9 @@
|
||||
"preloadRule": {
|
||||
"pages/index/index": {
|
||||
"network": "all",
|
||||
"packages": ["pages_tool"]
|
||||
"packages": [
|
||||
"pages_tool"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user