Files
Road_roller/pages.config.ts
2026-08-31 11:19:44 +08:00

48 lines
1.2 KiB
TypeScript

import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
pages: [],
easycom: {
autoscan: true,
custom: {
'^wd-(.*)': '@wot-ui/ui/components/wd-$1/wd-$1.vue',
},
},
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',
},
],
},
})