pages.config.ts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. custom: true,
  20. color: '#999999',
  21. selectedColor: '#018d71',
  22. backgroundColor: '#F8F8F8',
  23. borderStyle: 'black',
  24. height: '50px',
  25. fontSize: '10px',
  26. iconWidth: '24px',
  27. spacing: '3px',
  28. list: [
  29. {
  30. icon: '/static/tabbar/Parenting.png',
  31. pagePath: 'pages/index/index',
  32. text: 'tabbar.home',
  33. iconType: 'local',
  34. },
  35. {
  36. icon: '/static/tabbar/music.png',
  37. pagePath: 'pages/category/category',
  38. text: 'tabbar.category',
  39. iconType: 'local',
  40. },
  41. // {
  42. // icon: '/static/tabbar/cart.png',
  43. // pagePath: 'pages/cart/cart',
  44. // text: 'tabbar.cart',
  45. // iconType: 'local',
  46. // },
  47. {
  48. icon: '/static/tabbar/user.png',
  49. pagePath: 'pages/community/community',
  50. text: 'tabbar.community',
  51. iconType: 'local',
  52. },
  53. // {
  54. // icon: '/static/tabbar/person.png',
  55. // pagePath: 'pages/person/person',
  56. // text: 'tabbar.person',
  57. // iconType: 'local',
  58. // },
  59. ],
  60. },
  61. })