151 lines
4.0 KiB
JSON
151 lines
4.0 KiB
JSON
{
|
|
"pages": [
|
|
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationBarTitleText": "发现",
|
|
"backgroundColor": "#f5f5f5",
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/index/detail",
|
|
"style": {
|
|
"navigationBarTitleText": "详情",
|
|
"navigationStyle": "custom",
|
|
"disableScroll": true,
|
|
"backgroundColor": "#f5f5f5"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/msg/index",
|
|
"style": {
|
|
"navigationBarTitleText": "消息",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f5f5f5"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/ai/index",
|
|
"style": {
|
|
"navigationBarTitleText": "AI",
|
|
"navigationBarBackgroundColor": "#ffffff",
|
|
"navigationBarTextStyle": "black",
|
|
"backgroundColor": "#f5f5f5",
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/index",
|
|
"style": {
|
|
"navigationBarTitleText": "我的",
|
|
"navigationBarBackgroundColor": "#667eea",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#f5f5f5",
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/feedback",
|
|
"style": {
|
|
"navigationBarTitleText": "意见反馈",
|
|
"navigationBarTextStyle": "black",
|
|
"backgroundColor": "#f5f5f5",
|
|
"navigationBarBackgroundColor": "#f5f5f5",
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/setting",
|
|
"style": {
|
|
"navigationBarTitleText": "设置",
|
|
"navigationBarTextStyle": "white",
|
|
"navigationBarBackgroundColor": "#667eea",
|
|
"backgroundColor": "#f5f5f5",
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/collect",
|
|
"style": {
|
|
"navigationBarTitleText": "我的收藏",
|
|
"navigationBarBackgroundColor": "#f5f5f5",
|
|
"backgroundColor": "#f5f5f5",
|
|
"navigationBarTextStyle": "black",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/profile",
|
|
"style": {
|
|
"navigationBarTitleText": "我的资料",
|
|
"navigationBarBackgroundColor": "#f5f5f5",
|
|
"backgroundColor": "#f5f5f5",
|
|
"navigationBarTextStyle": "black",
|
|
"enablePullDownRefresh": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/coin",
|
|
"style": {
|
|
"navigationBarTitleText": "金币中心",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#f5f5f5",
|
|
"backgroundColor": "#f5f5f5",
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/chat/index",
|
|
"style": {
|
|
"navigationBarTitleText": "我是玄衡",
|
|
"backgroundColor": "#f5f5f5",
|
|
"navigationBarBackgroundColor": "#f7f7fb",
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/chat/select",
|
|
"style": {
|
|
"navigationBarTitleText": "选择对话",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f5f5f5"
|
|
}
|
|
}
|
|
],
|
|
"tabBar": {
|
|
"color": "#999999",
|
|
"selectedColor": "#3C4DA5",
|
|
"backgroundColor": "#ffffff",
|
|
"borderStyle": "black",
|
|
"list": [
|
|
{
|
|
"pagePath": "pages/index/index",
|
|
"text": "发现",
|
|
"iconPath": "static/home.png",
|
|
"selectedIconPath": "static/home-active.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/msg/index",
|
|
"text": "消息",
|
|
"iconPath": "static/msg.png",
|
|
"selectedIconPath": "static/msg-active.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/user/index",
|
|
"text": "我的",
|
|
"iconPath": "static/user.png",
|
|
"selectedIconPath": "static/user-active.png"
|
|
}
|
|
]
|
|
},
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarTitleText": "uni-app",
|
|
"navigationBarBackgroundColor": "#F8F8F8",
|
|
"backgroundColor": "#F8F8F8"
|
|
},
|
|
"uniIdRouter": {}
|
|
}
|