import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages' export default defineUniPages({ globalStyle: { navigationStyle: 'default', navigationBarTitleText: '猫耳云打印', 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: '#333333', selectedColor: '#0F5FFE', backgroundColor: '#F8F8F8', borderStyle: 'black', height: '50px', fontSize: '12px', iconWidth: '24px', spacing: '3px', list: [ { iconPath: 'static/tabbar/home.png', selectedIconPath: 'static/tabbar/homeHL.png', pagePath: 'pages/index/index', text: '首页', }, { // TODO: 使用自定义菜单栏 / midButton样式 iconPath: 'static/tabbar/device.png', selectedIconPath: 'static/tabbar/deviceHL.png', pagePath: 'pages/assistant/index', text: '设备', }, { iconPath: 'static/tabbar/personal.png', selectedIconPath: 'static/tabbar/personalHL.png', pagePath: 'pages/personal/index', text: '我的', }, ], // midButton: { // width: '80px', // height: '80px', // iconPath: 'static/tabbar/deviceHL.png', // iconWidth: '50px', // text: '设备', // } }, })