78 lines
2.0 KiB
JSON
78 lines
2.0 KiB
JSON
{
|
||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||
{
|
||
"path" : "pages/home/home",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText" : "壁纸"
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/category/category",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText" : "分类"
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/personal/personal",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText" : "个人中心"
|
||
}
|
||
},
|
||
{
|
||
"path" : "pages/detail/detail",
|
||
"style" :
|
||
{
|
||
"navigationBarTitleText" : ""
|
||
}
|
||
}
|
||
],
|
||
"tabBar": {
|
||
"color": "#7A7E83",
|
||
"selectedColor": "#19c324",
|
||
"backgroundColor": "#FFFFFF",
|
||
"borderStyle": "white",
|
||
"list": [
|
||
{
|
||
"pagePath": "pages/home/home",
|
||
"text": "首页",
|
||
"iconPath": "/static/tabbar/icon-home.png",
|
||
"selectedIconPath": "/static/tabbar/selected-icon-home.png"
|
||
},
|
||
{
|
||
"pagePath": "pages/category/category",
|
||
"text": "分类",
|
||
"iconPath": "static/tabbar/icon-category.png",
|
||
"selectedIconPath": "static/tabbar/selected-icon-category.png"
|
||
},
|
||
{
|
||
"pagePath": "pages/personal/personal",
|
||
"text": "我的",
|
||
"iconPath": "static/tabbar/icon-personal.png",
|
||
"selectedIconPath": "static/tabbar/selected-icon-personal.png"
|
||
}
|
||
]
|
||
},
|
||
"easycom": {
|
||
"autoscan": true,
|
||
"custom": {
|
||
// 使用正确的路径格式
|
||
"^smart-tabs": "@/components/smart-tabs/smart-tabs.vue",
|
||
"^image-grid-simple": "@/components/image-grid-simple/image-grid-simple.vue",
|
||
"^video-grid-simple": "@/components/video-grid-simple/video-grid-simple.vue",
|
||
"^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue",
|
||
"^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
|
||
}
|
||
},
|
||
"globalStyle": {
|
||
"navigationBarTextStyle": "black",
|
||
"navigationBarTitleText": "uni-app",
|
||
"navigationBarBackgroundColor": "#F8F8F8",
|
||
"backgroundColor": "#F8F8F8"
|
||
},
|
||
|
||
"uniIdRouter": {}
|
||
}
|