pages.config.ts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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: '#ffffff',
  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. '^uv-(.*)': '@climblee/uv-ui/components/uv-$1/uv-$1.vue',
  17. },
  18. },
  19. tabBar: {
  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. iconPath: 'static/tabbar/home.png',
  31. selectedIconPath: 'static/tabbar/homeHL.png',
  32. pagePath: 'pages/index/index',
  33. text: '首页',
  34. },
  35. {
  36. iconPath: 'static/tabbar/example.png',
  37. selectedIconPath: 'static/tabbar/exampleHL.png',
  38. pagePath: 'pages/profile/index',
  39. text: '我的',
  40. },
  41. ],
  42. },
  43. })