68 lines
1.4 KiB
JSON
68 lines
1.4 KiB
JSON
{
|
|
"easycom": {
|
|
// 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
|
|
"custom": {
|
|
"^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
|
|
"^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
|
|
"^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
|
|
}
|
|
},
|
|
"pages": [
|
|
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/order/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
// #ifdef MP-ALIPAY
|
|
"enablePullDownRefresh": true
|
|
// #endif
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/mine/index",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
"path": "pages/product/index",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
}
|
|
|
|
],
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarTitleText": "跳跳糖",
|
|
"navigationBarBackgroundColor": "#fff",
|
|
"backgroundColor": "#F2F3F9"
|
|
},
|
|
"uniIdRouter": {},
|
|
"tabBar": {
|
|
"color": "#999999",
|
|
"selectedColor": "#AB002D",
|
|
"custom": true,
|
|
"borderStyle": "black",
|
|
"backgroundColor": "#ffffff",
|
|
"list": [
|
|
{"pagePath": "pages/index/index"},
|
|
{"pagePath": "pages/order/index"},
|
|
{"pagePath": "pages/mine/index"}
|
|
]
|
|
}
|
|
}
|