pages.config.ts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
  2. export default defineUniPages({
  3. globalStyle: {
  4. navigationStyle: 'default',
  5. navigationBarTitleText: 'hospital-mobile',
  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: '#018d71',
  21. backgroundColor: '#F8F8F8',
  22. borderStyle: 'black',
  23. height: '50px',
  24. fontSize: '10px',
  25. iconWidth: '24px',
  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/example.png',
  36. selectedIconPath: 'static/tabbar/exampleHL.png',
  37. pagePath: 'pages/profile/index',
  38. text: '我的',
  39. },
  40. ],
  41. },
  42. })