2024-01-04 09:53:17 +08:00
|
|
|
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
|
2025-08-04 11:09:46 +08:00
|
|
|
import { tabBar } from './src/tabbar/config'
|
2024-01-04 09:53:17 +08:00
|
|
|
|
|
|
|
|
export default defineUniPages({
|
|
|
|
|
globalStyle: {
|
2024-01-04 10:42:11 +08:00
|
|
|
navigationStyle: 'default',
|
2026-02-28 14:31:08 +08:00
|
|
|
navigationBarTitleText: 'AIOT',
|
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',
|
2025-12-12 19:13:05 +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-08-11 09:04:15 +08:00
|
|
|
// tabbar 的配置统一在 “./src/tabbar/config.ts” 文件中
|
2025-10-10 17:33:30 +08:00
|
|
|
tabBar: tabBar as any,
|
2024-01-04 09:53:17 +08:00
|
|
|
})
|