pages.config.ts 973 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
  2. export default defineUniPages({
  3. globalStyle: {
  4. navigationStyle: 'default',
  5. navigationBarTitleText: 'unibest',
  6. navigationBarBackgroundColor: '#f8f8f8',
  7. navigationBarTextStyle: 'black',
  8. backgroundColor: '#FFFFFF',
  9. },
  10. easycom: {
  11. autoscan: true,
  12. custom: {
  13. // '^fg-(.*)': '@/components/fg-$1.vue',
  14. '^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
  15. },
  16. },
  17. tabBar: {
  18. custom: true,
  19. color: '#999999',
  20. selectedColor: '#018d71',
  21. backgroundColor: '#F8F8F8',
  22. borderStyle: 'black',
  23. height: '50px',
  24. fontSize: '10px',
  25. iconWidth: '24px',
  26. spacing: '3px',
  27. list: [
  28. {
  29. pagePath: 'pages/index/index',
  30. icon: 'home',
  31. text: '首页',
  32. },
  33. {
  34. pagePath: 'pages/my/index',
  35. icon: 'i-carbon-user-avatar',
  36. isUnocssIcon: true,
  37. text: '我的',
  38. },
  39. ],
  40. },
  41. })