bf3ffeb4ef
- 新增 pages/content(资讯中心):类别分段tab(政策/资讯/技能/动态) + published列表;政策分类下提供「政策测评」入口(原测评页保留非tab) - 新增 pages/content-detail(资讯详情:title/summary/body) - utils/content.js:listContent(cat)/cachedContent/getContent(公开 /opc/content) - app.config:tab 政策→资讯(pages/content)、注册 content/content-detail、policy 保留注册 - custom-tab-bar:政策→资讯 Co-Authored-By: Claude <noreply@anthropic.com>
41 lines
1.2 KiB
JavaScript
41 lines
1.2 KiB
JavaScript
export default {
|
|
pages: [
|
|
'pages/index/index',
|
|
'pages/booking/index',
|
|
'pages/test/index',
|
|
'pages/policy/index',
|
|
'pages/plan/index',
|
|
'pages/survey/index',
|
|
'pages/mine/index',
|
|
'pages/event-detail/index',
|
|
'pages/scan/index',
|
|
'pages/park-apply/index',
|
|
'pages/cert-apply/index',
|
|
'pages/park-transfer/index',
|
|
'pages/content/index',
|
|
'pages/content-detail/index',
|
|
'pages/scan-login/index'
|
|
],
|
|
window: {
|
|
backgroundTextStyle: 'light',
|
|
navigationBarBackgroundColor: '#05060d', // 与页面背景一致,避免导航栏与页面标题间露出背景缝隙
|
|
navigationBarTitleText: '云超服OPC · 为进化而设计',
|
|
navigationBarTextStyle: 'white',
|
|
backgroundColor: '#05060d'
|
|
},
|
|
tabBar: {
|
|
custom: true,
|
|
color: '#8a8a93',
|
|
selectedColor: '#ffd28a',
|
|
backgroundColor: '#000000',
|
|
borderStyle: 'black',
|
|
list: [
|
|
{ pagePath: 'pages/booking/index', text: '活动' },
|
|
{ pagePath: 'pages/test/index', text: '测评' },
|
|
{ pagePath: 'pages/index/index', text: '首页' },
|
|
{ pagePath: 'pages/content/index', text: '资讯' },
|
|
{ pagePath: 'pages/mine/index', text: '我的' }
|
|
]
|
|
}
|
|
};
|