- 统一定制顶部导航组件,支持沉浸式渐变主题与返回逻辑 - 适配 H5 环境的页面跳转逻辑,避免 reLaunch 导致的闪屏问题 - 重构会员、充值、发布等页面布局,改用 Grid 提升移动端适配 - 优化搜索、收藏、消息等页面交互细节,增加点击反馈 - 统一配置页面导航样式,替换原生导航为自定义组件
158 行
3.2 KiB
JSON
158 行
3.2 KiB
JSON
{
|
|
"pages": [
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationBarTitleText": "同城分类信息",
|
|
"navigationStyle": "custom",
|
|
"enablePullDownRefresh": true,
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/category/index",
|
|
"style": {
|
|
"navigationBarTitleText": "全部分类",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f8fafc"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/post/create",
|
|
"style": {
|
|
"navigationBarTitleText": "发布信息",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/post/mine",
|
|
"style": {
|
|
"navigationBarTitleText": "我的发布",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/message/index",
|
|
"style": {
|
|
"navigationBarTitleText": "通知中心",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/mine/index",
|
|
"style": {
|
|
"navigationBarTitleText": "我的",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/auth/login",
|
|
"style": {
|
|
"navigationBarTitleText": "登录",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/search/index",
|
|
"style": {
|
|
"navigationBarTitleText": "搜索",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f8fafc"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/post/list",
|
|
"style": {
|
|
"navigationBarTitleText": "分类信息",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/detail/detail",
|
|
"style": {
|
|
"navigationBarTitleText": "详情",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/member/index",
|
|
"style": {
|
|
"navigationBarTitleText": "会员中心",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/member/orders",
|
|
"style": {
|
|
"navigationBarTitleText": "我的订单",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/member/recharge",
|
|
"style": {
|
|
"navigationBarTitleText": "余额充值",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/favorite/index",
|
|
"style": {
|
|
"navigationBarTitleText": "我的收藏",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/distribution/index",
|
|
"style": {
|
|
"navigationBarTitleText": "分销中心",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/admin/setting",
|
|
"style": {
|
|
"navigationBarTitleText": "LOGO 与图标设置",
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#f2fef7"
|
|
}
|
|
}
|
|
],
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarTitleText": "同城分类信息",
|
|
"navigationBarBackgroundColor": "#ffffff",
|
|
"backgroundColor": "#f2fef7"
|
|
},
|
|
"condition": {
|
|
"current": 0,
|
|
"list": [
|
|
{
|
|
"name": "首页",
|
|
"path": "pages/index/index"
|
|
},
|
|
{
|
|
"name": "发布",
|
|
"path": "pages/post/create"
|
|
},
|
|
{
|
|
"name": "会员中心",
|
|
"path": "pages/member/index"
|
|
}
|
|
]
|
|
},
|
|
"uniIdRouter": {}
|
|
}
|