56 lines
1.5 KiB
TypeScript
56 lines
1.5 KiB
TypeScript
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
|
|
|
|
export default defineUniPages({
|
|
globalStyle: {
|
|
navigationStyle: 'default',
|
|
navigationBarTitleText: 'unibest',
|
|
navigationBarBackgroundColor: '#f8f8f8',
|
|
navigationBarTextStyle: 'black',
|
|
backgroundColor: '#FFFFFF'
|
|
},
|
|
easycom: {
|
|
autoscan: true,
|
|
custom: {
|
|
'^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
|
|
'^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
|
|
'z-paging/components/z-paging$1/z-paging$1.vue'
|
|
}
|
|
},
|
|
tabBar: {
|
|
color: '#0d0f10',
|
|
selectedColor: '#255cf7',
|
|
backgroundColor: '#FFFFFF',
|
|
borderStyle: 'black',
|
|
height: '50px',
|
|
fontSize: '10px',
|
|
iconWidth: '24px',
|
|
spacing: '5px',
|
|
list: [
|
|
{
|
|
iconPath: 'static/tabbar/home.png',
|
|
selectedIconPath: 'static/tabbar/homeHL.png',
|
|
pagePath: 'pages/home/home',
|
|
text: '首页'
|
|
},
|
|
{
|
|
iconPath: 'static/tabbar/home.png',
|
|
selectedIconPath: 'static/tabbar/homeHL.png',
|
|
pagePath: 'pages/workbench/workbench',
|
|
text: '工作台'
|
|
},
|
|
{
|
|
iconPath: 'static/tabbar/home.png',
|
|
selectedIconPath: 'static/tabbar/homeHL.png',
|
|
pagePath: 'pages/notification/notification',
|
|
text: '消息'
|
|
},
|
|
{
|
|
iconPath: 'static/tabbar/example.png',
|
|
selectedIconPath: 'static/tabbar/exampleHL.png',
|
|
pagePath: 'pages/mine/mine',
|
|
text: '我的'
|
|
}
|
|
]
|
|
}
|
|
})
|