Files
Road_roller/pages.config.ts
2026-08-31 10:54:56 +08:00

42 lines
1.1 KiB
TypeScript

import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
pages: [],
globalStyle: {
backgroundColor: '@bgColor',
backgroundColorBottom: '@bgColorBottom',
backgroundColorTop: '@bgColorTop',
backgroundTextStyle: '@bgTxtStyle',
navigationBarBackgroundColor: '#000000',
navigationBarTextStyle: '@navTxtStyle',
navigationBarTitleText: 'Vitesse-Uni',
navigationStyle: 'custom',
},
tabBar: {
backgroundColor: '@tabBgColor',
borderStyle: '@tabBorderStyle',
color: '@tabFontColor',
selectedColor: '@tabSelectedColor',
list: [
{
pagePath: 'pages/home/index',
text: '首页',
iconPath: 'static/home.png',
selectedIconPath: 'static/home1.png',
},
{
pagePath: 'pages/work/index',
text: '工作',
iconPath: 'static/work.png',
selectedIconPath: 'static/work1.png',
},
{
pagePath: 'pages/report/index',
text: '报告',
iconPath: 'static/report.png',
selectedIconPath: 'static/report1.png',
},
],
},
})