pages.config.ts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. '^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
  14. '^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
  15. 'z-paging/components/z-paging$1/z-paging$1.vue',
  16. },
  17. },
  18. tabBar: {
  19. color: '#999999',
  20. selectedColor: '#f59e0b',
  21. backgroundColor: '#F8F8F8',
  22. borderStyle: 'black',
  23. height: '50px',
  24. fontSize: '12px',
  25. iconWidth: '22px',
  26. spacing: '3px',
  27. list: [
  28. {
  29. iconPath: 'static/tabbar/home.png',
  30. selectedIconPath: 'static/tabbar/homeHL.png',
  31. pagePath: 'pages/index/index',
  32. text: '首页',
  33. },
  34. // {
  35. // iconPath: 'static/tabbar/work.png',
  36. // selectedIconPath: 'static/tabbar/workHL.png',
  37. // pagePath: 'pages/workAll/workAll',
  38. // text: '工作台',
  39. // },
  40. // {
  41. // iconPath: 'static/tabbar/tong.png',
  42. // selectedIconPath: 'static/tabbar/tongHL.png',
  43. // pagePath: 'pages/about/about',
  44. // text: '分析',
  45. // },
  46. {
  47. iconPath: 'static/tabbar/personal.png',
  48. selectedIconPath: 'static/tabbar/personalHL.png',
  49. pagePath: 'pages/my/my',
  50. text: '我的',
  51. },
  52. ],
  53. },
  54. })