pages.config.ts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
  2. export default defineUniPages({
  3. globalStyle: {
  4. navigationStyle: 'default',
  5. navigationBarTitleText: '猫耳云打印',
  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: '#333333',
  20. selectedColor: '#1487f4',
  21. backgroundColor: '#F8F8F8',
  22. borderStyle: 'black',
  23. height: '50px',
  24. fontSize: '12px',
  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/device.png',
  36. selectedIconPath: 'static/tabbar/deviceHL.png',
  37. pagePath: 'pages/assistant/index',
  38. text: '设备',
  39. },
  40. {
  41. iconPath: 'static/tabbar/personal.png',
  42. selectedIconPath: 'static/tabbar/personalHL.png',
  43. pagePath: 'pages/personal/index',
  44. text: '我的',
  45. },
  46. ],
  47. // midButton: {
  48. // width: '80px',
  49. // height: '80px',
  50. // iconPath: 'static/tabbar/deviceHL.png',
  51. // iconWidth: '50px',
  52. // text: '设备',
  53. // }
  54. },
  55. })