pages.config.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. text: '首页',
  31. icon: 'home',
  32. iconType: 'wot',
  33. },
  34. {
  35. pagePath: 'pages/index/about',
  36. text: '关于',
  37. icon: 'i-carbon-3d-mpr-toggle',
  38. iconType: 'unocss',
  39. },
  40. {
  41. pagePath: 'pages/my/index',
  42. text: '我的',
  43. icon: '/static/logo.svg',
  44. iconType: 'local',
  45. },
  46. ],
  47. },
  48. })