49 lines
1.3 KiB
TypeScript
49 lines
1.3 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',
|
|
'^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue',
|
|
},
|
|
},
|
|
globalStyle: {
|
|
backgroundColor: '@bgColor',
|
|
backgroundColorBottom: '@bgColorBottom',
|
|
backgroundColorTop: '@bgColorTop',
|
|
backgroundTextStyle: '@bgTxtStyle',
|
|
navigationBarBackgroundColor: '#ffffff',
|
|
navigationBarTextStyle: 'black',
|
|
navigationBarTitleText: 'Road-Roller',
|
|
// navigationStyle: 'custom',
|
|
},
|
|
tabBar: {
|
|
backgroundColor: '@tabBgColor',
|
|
borderStyle: '@tabBorderStyle',
|
|
color: '@tabFontColor',
|
|
selectedColor: '@tabSelectedColor',
|
|
list: [
|
|
{
|
|
pagePath: 'pages/Ahome/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',
|
|
},
|
|
],
|
|
},
|
|
})
|