pages.config.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. '^uv-(.*)': '@climblee/uv-ui/components/uv-$1/uv-$1.vue',
  15. '^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue',
  16. '^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
  17. 'z-paging/components/z-paging$1/z-paging$1.vue',
  18. },
  19. },
  20. tabBar: {
  21. color: '#999999',
  22. selectedColor: '#018d71',
  23. backgroundColor: '#F8F8F8',
  24. borderStyle: 'black',
  25. height: '50px',
  26. fontSize: '10px',
  27. iconWidth: '24px',
  28. spacing: '3px',
  29. list: [
  30. {
  31. iconPath: 'static/tabbar/home.png',
  32. selectedIconPath: 'static/tabbar/homeHL.png',
  33. pagePath: 'pages/index/index',
  34. text: '预诊大厅',
  35. },
  36. {
  37. iconPath: 'static/tabbar/example.png',
  38. selectedIconPath: 'static/tabbar/exampleHL.png',
  39. pagePath: 'pages/profile/index',
  40. text: '我的',
  41. },
  42. ],
  43. },
  44. })