init
This commit is contained in:
97
src/pages.json
Normal file
97
src/pages.json
Normal file
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"easycom": {
|
||||
"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",
|
||||
"^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue"
|
||||
}
|
||||
},
|
||||
"pages": [
|
||||
{
|
||||
"path": "pages/home/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "首页"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/qrcode/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "支付码"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/mall/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商城"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/mine/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的"
|
||||
}
|
||||
}
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pages/common",
|
||||
"pages": [
|
||||
{
|
||||
"path": "login/index",
|
||||
"navigationStyle": "custom"
|
||||
},
|
||||
{
|
||||
"path": "webview/index",
|
||||
"navigationBarTitleText": "网页"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"preloadRule": {
|
||||
"pages/home/index": {
|
||||
"network": "all",
|
||||
"packages": [
|
||||
"pages/common"
|
||||
]
|
||||
}
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#ABABAB",
|
||||
"selectedColor": "#333333",
|
||||
"borderStyle": "black",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/home/index",
|
||||
"iconPath": "static/images/ic_tab_home_normal.png",
|
||||
"selectedIconPath": "static/images/ic_tab_home_active.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/qrcode/index",
|
||||
"iconPath": "static/images/ic_tab_qrcode_normal.png",
|
||||
"selectedIconPath": "static/images/ic_tab_qrcode_active.png",
|
||||
"text": "支付码"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/mall/index",
|
||||
"iconPath": "static/images/ic_tab_mall_normal.png",
|
||||
"selectedIconPath": "static/images/ic_tab_mall_active.png",
|
||||
"text": "商城"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/mine/index",
|
||||
"iconPath": "static/images/ic_tab_mine_normal.png",
|
||||
"selectedIconPath": "static/images/ic_tab_mine_active.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "#F8F8F8",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user