2024-04-25 18:02:30 +08:00
|
|
|
|
{
|
|
|
|
|
"easycom": {
|
2024-04-29 10:44:50 +08:00
|
|
|
|
"autoscan": true,
|
|
|
|
|
// 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
|
|
|
|
|
"custom": {
|
|
|
|
|
"^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
|
|
|
|
|
"^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
|
|
|
|
|
"^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue"
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-04-25 18:02:30 +08:00
|
|
|
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
|
|
|
|
{
|
2024-04-30 18:08:36 +08:00
|
|
|
|
"path": "pages/login/login",
|
2024-04-25 18:02:30 +08:00
|
|
|
|
"style": {
|
2024-04-30 18:08:36 +08:00
|
|
|
|
"navigationBarTitleText": "登录",
|
|
|
|
|
"enablePullDownRefresh": false,
|
2024-04-25 18:02:30 +08:00
|
|
|
|
"navigationStyle": "custom"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2024-04-30 18:08:36 +08:00
|
|
|
|
"path": "pages/index/index",
|
2024-04-25 18:02:30 +08:00
|
|
|
|
"style": {
|
2024-04-30 18:08:36 +08:00
|
|
|
|
"navigationBarTitleText": "购物",
|
|
|
|
|
"disableScroll": true,
|
2024-04-28 18:08:57 +08:00
|
|
|
|
"navigationStyle": "custom"
|
2024-04-25 18:02:30 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/cart/cart",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "购物车",
|
|
|
|
|
"enablePullDownRefresh": false,
|
|
|
|
|
"navigationStyle": "custom"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "pages/my/my",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "个人中心",
|
|
|
|
|
"enablePullDownRefresh": false,
|
|
|
|
|
"navigationStyle": "custom"
|
|
|
|
|
}
|
2024-04-26 18:04:56 +08:00
|
|
|
|
}
|
2024-04-29 10:44:50 +08:00
|
|
|
|
|
2024-04-26 18:04:56 +08:00
|
|
|
|
],
|
2024-04-29 10:44:50 +08:00
|
|
|
|
"subPackages": [{
|
|
|
|
|
"root": "pagesOrder",
|
|
|
|
|
"pages": [{
|
|
|
|
|
"path": "order/order",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "我的订单",
|
|
|
|
|
"enablePullDownRefresh": false
|
2024-04-26 18:04:56 +08:00
|
|
|
|
}
|
2024-04-29 10:44:50 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "detail/detail",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "",
|
|
|
|
|
"enablePullDownRefresh": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "addressList/addressList",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "地址管理",
|
|
|
|
|
"enablePullDownRefresh": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "addressEdit/addressEdit",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "",
|
|
|
|
|
"enablePullDownRefresh": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "settle/settle",
|
|
|
|
|
"style": {
|
|
|
|
|
"navigationBarTitleText": "确认订单",
|
|
|
|
|
"enablePullDownRefresh": false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}],
|
2024-04-25 18:02:30 +08:00
|
|
|
|
"globalStyle": {
|
|
|
|
|
"navigationBarTextStyle": "black",
|
2024-04-26 18:04:56 +08:00
|
|
|
|
"navigationBarTitleText": "",
|
|
|
|
|
"navigationBarBackgroundColor": "#fff",
|
|
|
|
|
"backgroundColor": "#fff"
|
2024-04-25 18:02:30 +08:00
|
|
|
|
},
|
2024-04-29 10:44:50 +08:00
|
|
|
|
// "tabBar": {
|
|
|
|
|
// "color": "#999999",
|
|
|
|
|
// "selectedColor": "#20b128",
|
|
|
|
|
// "borderStyle": "white",
|
|
|
|
|
// "backgroundColor": "#FFFFFF",
|
|
|
|
|
// "list": [{
|
|
|
|
|
// "pagePath": "pages/index/index",
|
|
|
|
|
// "text": "首页",
|
|
|
|
|
// "iconPath": "static/tab/a.png",
|
|
|
|
|
// "selectedIconPath": "static/tab/aa.png"
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// "pagePath": "pages/cart/cart",
|
|
|
|
|
// "text": "购物车",
|
|
|
|
|
// "iconPath": "static/tab/b.png",
|
|
|
|
|
// "selectedIconPath": "static/tab/ba.png"
|
|
|
|
|
// },
|
2024-04-25 18:02:30 +08:00
|
|
|
|
|
2024-04-29 10:44:50 +08:00
|
|
|
|
// {
|
|
|
|
|
// "pagePath": "pages/my/my",
|
|
|
|
|
// "text": "我的",
|
|
|
|
|
// "iconPath": "static/tab/c.png",
|
|
|
|
|
// "selectedIconPath": "static/tab/ca.png"
|
|
|
|
|
// }
|
2024-04-25 18:02:30 +08:00
|
|
|
|
|
2024-04-29 10:44:50 +08:00
|
|
|
|
// ]
|
|
|
|
|
// },
|
2024-04-25 18:02:30 +08:00
|
|
|
|
"uniIdRouter": {}
|
|
|
|
|
}
|