初始化
This commit is contained in:
80
pages.json
Normal file
80
pages.json
Normal file
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"pages": [
|
||||
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "主页"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/report",
|
||||
"style": {
|
||||
"navigationBarTitleText": "告警"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/mine",
|
||||
"style": {
|
||||
"navigationBarTitleText": "个人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/login/login",
|
||||
"style": {
|
||||
"navigationBarTitleText": "登录"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/login/forget",
|
||||
"style": {
|
||||
"navigationBarTitleText": "忘记密码"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tabBar": {
|
||||
"color": "#979797",
|
||||
"selectedColor": "#1296db",
|
||||
"borderStyle": "black",
|
||||
"backgroundColor": "#ffffff",
|
||||
"spacing": "5px",
|
||||
"iconWidth": "20px",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/index.png",
|
||||
"selectedIconPath": "static/index2.png",
|
||||
"text": "主页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/index/report",
|
||||
"iconPath": "static/report.png",
|
||||
"selectedIconPath": "static/report2.png",
|
||||
"text": "告警"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/index/mine",
|
||||
"iconPath": "static/mine2.png",
|
||||
"selectedIconPath": "static/mine2.png",
|
||||
"text": "个人"
|
||||
}
|
||||
]
|
||||
},
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "灿能电力",
|
||||
"navigationBarBackgroundColor": "#F8F8F8",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
// #ifdef H5
|
||||
,
|
||||
"navigationStyle": "custom"
|
||||
// #endif
|
||||
},
|
||||
"uniIdRouter": {},
|
||||
"easycom": {
|
||||
"autoscan": true,
|
||||
"custom": {
|
||||
"^rc-(.*)": "@/components/Cn-$1/Cn-$1.vue"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user