222 lines
4.7 KiB
JSON
222 lines
4.7 KiB
JSON
{
|
||
"subPackages": [{
|
||
"root": "minePackage",
|
||
"pages": [{
|
||
"path": "pages/MineTest",
|
||
"style": {
|
||
"navigationBarTitleText": "我的自测"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/MineChild",
|
||
"style": {
|
||
"navigationBarTitleText": "我的儿童"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/BindChild",
|
||
"style": {
|
||
"navigationBarTitleText": "绑定儿童",
|
||
"navigationBarBackgroundColor": "#287BCE",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
}, {
|
||
"path": "pages/recordDetail",
|
||
"style": {
|
||
"navigationBarTitleText": "作答详情",
|
||
"navigationBarBackgroundColor": "#287BCE",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"root": "devicePackage",
|
||
"pages": [{
|
||
"path": "pages/DeviceList",
|
||
"style": {
|
||
"navigationBarTitleText": "设备列表"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/mapMode",
|
||
"style": {
|
||
"navigationBarTitleText": "地图模式",
|
||
"app-plus": {
|
||
"bounce": "none" // 将回弹属性关掉
|
||
}
|
||
}
|
||
|
||
}, {
|
||
"path": "pages/deviceAdmin",
|
||
"style": {
|
||
"navigationBarTitleText": "地图模式",
|
||
"app-plus": {
|
||
"bounce": "none" // 将回弹属性关掉
|
||
}
|
||
}
|
||
|
||
}, {
|
||
"path": "pages/deviceDetail",
|
||
"style": {
|
||
"navigationBarTitleText": "设备详情",
|
||
// "navigationStyle": "custom",
|
||
"app-plus": {
|
||
"bounce": "none" // 将回弹属性关掉
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"root": "essayPackage",
|
||
"pages": [{
|
||
"path": "pages/Home",
|
||
"style": {
|
||
"navigationBarTitleText": "首页",
|
||
"navigationStyle": "custom"
|
||
}
|
||
}]
|
||
},
|
||
{
|
||
"root": "homePackage",
|
||
"pages": [{
|
||
"path": "pages/newsDetail",
|
||
"style": {
|
||
"navigationBarTitleText": "文章详情页",
|
||
"navigationBarBackgroundColor": "#287BCE",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/FavEssay",
|
||
"style": {
|
||
"navigationBarTitleText": "文章列表",
|
||
"navigationBarBackgroundColor": "#287BCE",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"root": "tablePackage",
|
||
"pages": [{
|
||
"path": "pages/table",
|
||
"style": {
|
||
"navigationBarTitleText": "量表详情页",
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/infoFill",
|
||
"style": {
|
||
"navigationBarTitleText": "信息填写",
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/vdo",
|
||
"style": {
|
||
"navigationBarTitleText": "广告",
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/answerDetail",
|
||
"style": {
|
||
"navigationBarTitleText": "",
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/testRecord",
|
||
"style": {
|
||
"navigationBarTitleText": "测评报告",
|
||
"navigationStyle": "custom"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"root": "loginPackage",
|
||
"pages": [{
|
||
"path": "pages/Login",
|
||
"style": {
|
||
"navigationBarTitleText": "登录"
|
||
}
|
||
}, {
|
||
"path": "pages/PrivacyPolicy",
|
||
"style": {
|
||
"navigationBarTitleText": "隐私政策"
|
||
}
|
||
}]
|
||
}
|
||
],
|
||
"pages": [
|
||
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||
{
|
||
"path": "loginPackage/pages/Login",
|
||
"style": {
|
||
"navigationBarTitleText": "",
|
||
"navigationStyle": "custom"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/tabbar/device/Device",
|
||
"style": {
|
||
"navigationBarTitleText": "设备场所"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/tabbar/essay/Essay",
|
||
"style": {
|
||
"navigationBarTitleText": "文章列表"
|
||
}
|
||
},
|
||
{
|
||
"path": "pages/tabbar/mine/Mine",
|
||
"style": {
|
||
"navigationBarTitleText": "我的",
|
||
"navigationBarBackgroundColor": "#287BCE",
|
||
"navigationBarTextStyle": "white"
|
||
}
|
||
}
|
||
],
|
||
"globalStyle": {
|
||
"navigationBarTextStyle": "black",
|
||
"navigationBarTitleText": "",
|
||
"navigationBarBackgroundColor": "#FFF"
|
||
},
|
||
"tabBar": {
|
||
"borderStyle": "black",
|
||
"backgroundColor": "#ffffff",
|
||
"color": "#3D3D3D",
|
||
"selectedColor": "#287BCE",
|
||
"list": [{
|
||
"pagePath": "pages/tabbar/home/Home",
|
||
"iconPath": "static/img/tabbar/home.png",
|
||
"selectedIconPath": "static/img/tabbar/home-active.png",
|
||
"text": "主页"
|
||
},
|
||
{
|
||
"pagePath": "pages/tabbar/device/Device",
|
||
"iconPath": "static/img/tabbar/device.png",
|
||
"selectedIconPath": "static/img/tabbar/device-active.png",
|
||
"text": "设备"
|
||
},
|
||
|
||
{
|
||
"pagePath": "pages/tabbar/essay/Essay",
|
||
"iconPath": "static/img/tabbar/essay.png",
|
||
"selectedIconPath": "static/img/tabbar/essay-active.png",
|
||
"text": "文献"
|
||
},
|
||
{
|
||
"pagePath": "pages/tabbar/mine/Mine",
|
||
"iconPath": "static/img/tabbar/mine.png",
|
||
"selectedIconPath": "static/img/tabbar/mine-active.png",
|
||
"text": "我的"
|
||
}
|
||
]
|
||
}
|
||
} |