2024-01-04 09:53:17 +08:00
|
|
|
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
|
2025-06-21 13:35:29 +08:00
|
|
|
import { tabBar } from './src/layouts/fg-tabbar/tabbarList'
|
2024-01-04 09:53:17 +08:00
|
|
|
|
|
|
|
export default defineUniPages({
|
|
|
|
globalStyle: {
|
2024-01-04 10:42:11 +08:00
|
|
|
navigationStyle: 'default',
|
2024-03-03 17:07:54 +08:00
|
|
|
navigationBarTitleText: 'unibest',
|
2024-01-04 10:42:11 +08:00
|
|
|
navigationBarBackgroundColor: '#f8f8f8',
|
|
|
|
navigationBarTextStyle: 'black',
|
2024-01-05 10:57:20 +08:00
|
|
|
backgroundColor: '#FFFFFF',
|
2024-01-04 09:53:17 +08:00
|
|
|
},
|
|
|
|
easycom: {
|
|
|
|
autoscan: true,
|
|
|
|
custom: {
|
2025-05-26 21:09:47 +08:00
|
|
|
'^fg-(.*)': '@/components/fg-$1/fg-$1.vue',
|
2024-03-25 21:01:26 +08:00
|
|
|
'^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
|
2024-05-12 15:30:57 +08:00
|
|
|
'^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
|
|
|
|
'z-paging/components/z-paging$1/z-paging$1.vue',
|
2024-01-04 09:53:17 +08:00
|
|
|
},
|
|
|
|
},
|
2025-06-21 15:04:54 +08:00
|
|
|
// tabbar 的配置统一在 “./src/layouts/fg-tabbar/tabbarList.ts” 文件中
|
2025-06-21 12:54:52 +08:00
|
|
|
tabBar: tabBar as any,
|
2024-01-04 09:53:17 +08:00
|
|
|
})
|