pages.config.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. color: '#999999',
  20. selectedColor: '#018d71',
  21. backgroundColor: '#F8F8F8',
  22. borderStyle: 'black',
  23. fontSize: '10px',
  24. iconWidth: '24px',
  25. spacing: '3px',
  26. custom: true,
  27. height: '0px',
  28. list: [
  29. {
  30. pagePath: 'pages/home/index',
  31. },
  32. // {
  33. // pagePath: 'pages/material/index',
  34. // },
  35. // {
  36. // pagePath: 'pages/publish/index',
  37. // },
  38. // {
  39. // pagePath: 'pages/messages/index',
  40. // },
  41. {
  42. pagePath: 'pages/mine/index',
  43. },
  44. ],
  45. },
  46. condition: {
  47. current: -1,
  48. list: [
  49. { name: '设计游学', path: 'pages/index/study-tour/index' },
  50. { name: '登录', path: 'pages/login/index' },
  51. { name: '我的', path: 'pages/mine/index' },
  52. ],
  53. },
  54. })