登录、我的、仓储页面以及逻辑编写
This commit is contained in:
96
pages.json
96
pages.json
@@ -1,23 +1,77 @@
|
||||
{
|
||||
"easycom": {
|
||||
"autoscan": true,
|
||||
"custom": {
|
||||
"^uv-(.*)": "@climblee/uv-ui/components/uv-$1/uv-$1.vue"
|
||||
}
|
||||
},
|
||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "uni-app"
|
||||
}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "#F8F8F8",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"uniIdRouter": {}
|
||||
"easycom": {
|
||||
"autoscan": true,
|
||||
"custom": {
|
||||
"^uv-(.*)": "@climblee/uv-ui/components/uv-$1/uv-$1.vue"
|
||||
}
|
||||
},
|
||||
"pages": [
|
||||
{
|
||||
"path": "pages/login/login",
|
||||
"style": {
|
||||
"navigationBarTitleText": "登录"
|
||||
},
|
||||
"app-plus": {
|
||||
"titleNView": false,
|
||||
"tabBar": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": { "navigationBarTitleText": "首页" }
|
||||
},
|
||||
{
|
||||
"path": "pages/warehousing/index",
|
||||
"style": { "navigationBarTitleText": "仓储" }
|
||||
},
|
||||
{
|
||||
"path": "pages/intelligent/index",
|
||||
"style": { "navigationBarTitleText": "智能" }
|
||||
},
|
||||
{
|
||||
"path": "pages/my/index",
|
||||
"style": { "navigationBarTitleText": "我的" }
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "智汇仓储管理",
|
||||
"navigationBarBackgroundColor": "#F5F5F5",
|
||||
"backgroundColor": "#F5F5F5"
|
||||
},
|
||||
// 底部 tabBar 核心配置
|
||||
"tabBar": {
|
||||
"color": "#666", // 未选中文字颜色
|
||||
"selectedColor": "#007AFF", // 选中文字颜色
|
||||
"backgroundColor": "#fff", // 导航栏背景色
|
||||
"borderStyle": "black", // 上边框样式(black/white)
|
||||
"height": "50px", // 导航栏高度(App 端建议 50px 左右)
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index", // 必须和 pages 中的路径一致
|
||||
"text": "首页", // 底部文字
|
||||
"iconPath": "static/icon/home.png", // 未选中图标(建议 28x28px)
|
||||
"selectedIconPath": "static/icon/home-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/warehousing/index",
|
||||
"text": "仓储",
|
||||
"iconPath": "static/icon/warehousing.png",
|
||||
"selectedIconPath": "static/icon/warehousing-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/intelligent/index",
|
||||
"text": "智能",
|
||||
"iconPath": "static/icon/intelligent.png",
|
||||
"selectedIconPath": "static/icon/intelligent-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/my/index",
|
||||
"text": "我的",
|
||||
"iconPath": "static/icon/my.png",
|
||||
"selectedIconPath": "static/icon/my-active.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"uniIdRouter": {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user