Files
aiot-uniapp/pages.config.ts
feige996 9e666120e8 refactor(tabbar): 将 tabbar 相关文件从 layouts/fg-tabbar 移动到 src/tabbar 目录
重构 tabbar 模块的文件结构,将原本位于 layouts/fg-tabbar 下的所有文件移动到 src/tabbar 目录
更新所有引用路径以匹配新的文件位置
保持原有功能不变,仅调整文件组织结构
2025-08-04 10:42:06 +08:00

24 lines
760 B
TypeScript

import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
import { tabBar } from './src/tabbar/tabbarList'
export default defineUniPages({
globalStyle: {
navigationStyle: 'default',
navigationBarTitleText: 'unibest',
navigationBarBackgroundColor: '#f8f8f8',
navigationBarTextStyle: 'black',
backgroundColor: '#FFFFFF',
},
easycom: {
autoscan: true,
custom: {
'^fg-(.*)': '@/components/fg-$1/fg-$1.vue',
'^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 的配置统一在 “./src/layouts/fg-tabbar/tabbarList.ts” 文件中
tabBar: tabBar as any,
})