import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages' export default defineUniPages({ globalStyle: { navigationStyle: 'default', // navigationBarTitleText: 'auyen-mobile', navigationBarBackgroundColor: '#f8f8f8', navigationBarTextStyle: 'black', backgroundColor: '#FFFFFF', enablePullDownRefresh: false, onReachBottomDistance: 50, }, 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', // uni-ui 规则如下配置 '^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue', '^ay-(.*)': '@/components/$1/index.vue', '^ayb-(.*)': '@/components/business/$1', // '^van-(.*)': '@/wxcomponents/vant/$1/index.vue', // 匹配components目录内的vue文件 }, }, // tabBar: { // color: '#999999', // selectedColor: '#018d71', // backgroundColor: '#F8F8F8', // borderStyle: 'black', // height: '50px', // fontSize: '10px', // iconWidth: '24px', // spacing: '3px', // list: [ // { // iconPath: 'static/tabbar/home.png', // selectedIconPath: 'static/tabbar/homeHL.png', // pagePath: 'pages/index/index', // text: '首页', // }, // { // iconPath: 'static/tabbar/example.png', // selectedIconPath: 'static/tabbar/exampleHL.png', // pagePath: 'pages/list/index', // text: '列表', // }, // { // iconPath: 'static/tabbar/example.png', // selectedIconPath: 'static/tabbar/exampleHL.png', // pagePath: 'pages/login/index', // text: '登录', // }, // ], // }, pages: [], })