Nav apraksta

pages.config.ts 741B

123456789101112131415161718192021222324
  1. import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
  2. import { tabBar } from './src/tabbar/config'
  3. export default defineUniPages({
  4. globalStyle: {
  5. navigationStyle: 'default',
  6. navigationBarTitleText: 'unibest',
  7. navigationBarBackgroundColor: '#f8f8f8',
  8. navigationBarTextStyle: 'black',
  9. backgroundColor: '#FFFFFF',
  10. },
  11. easycom: {
  12. autoscan: true,
  13. custom: {
  14. '^fg-(.*)': '@/components/fg-$1/fg-$1.vue',
  15. '^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
  16. 'z-paging/components/z-paging$1/z-paging$1.vue',
  17. '^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
  18. },
  19. },
  20. // tabbar 的配置统一在 “./src/tabbar/config.ts” 文件中
  21. tabBar: tabBar as any,
  22. })