pages.config.ts 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
  2. export default defineUniPages({
  3. easycom: {
  4. autoscan: true,
  5. custom: {
  6. // uni-ui 规则如下配置
  7. '^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue',
  8. },
  9. },
  10. pages: [
  11. {
  12. path: 'pages/feed-calculator/index',
  13. type: 'page',
  14. style: {
  15. navigationBarTitleText: '喂养计算器',
  16. },
  17. },
  18. {
  19. path: 'pages/feed-plan/index',
  20. type: 'page',
  21. style: {
  22. navigationBarTitleText: '喂养计划',
  23. },
  24. },
  25. {
  26. path: 'pages/me/index',
  27. type: 'page',
  28. style: {
  29. navigationBarTitleText: '我的',
  30. },
  31. },
  32. {
  33. path: 'pages/pet-manual/index',
  34. type: 'page',
  35. style: {
  36. navigationBarTitleText: '宠物手册',
  37. },
  38. },
  39. {
  40. path: 'pages/setting/index',
  41. type: 'page',
  42. },
  43. {
  44. path: 'pages/start-filing/index',
  45. type: 'page',
  46. style: {
  47. navigationBarTitleText: '开始建档',
  48. },
  49. },
  50. {
  51. path: 'pages/userInfo/index',
  52. type: 'page',
  53. },
  54. {
  55. path: 'pages/feed-calculator/components/FeedFlogan',
  56. type: 'page',
  57. },
  58. {
  59. path: 'pages/feed-calculator/components/FeedForm',
  60. type: 'page',
  61. },
  62. {
  63. path: 'pages/feed-calculator/components/FeedQuestionnaire',
  64. type: 'page',
  65. },
  66. {
  67. path: 'pages/feed-calculator/components/FeedStart',
  68. type: 'page',
  69. },
  70. {
  71. path: 'pages/feed-calculator/components/FeedStep',
  72. type: 'page',
  73. },
  74. {
  75. path: 'pages/feed-calculator/components/ProgressBar',
  76. type: 'page',
  77. },
  78. {
  79. path: 'pages/pet-manual/components/CardList',
  80. type: 'page',
  81. },
  82. ],
  83. globalStyle: {
  84. backgroundColor: '@bgColor',
  85. backgroundColorBottom: '@bgColorBottom',
  86. backgroundColorTop: '@bgColorTop',
  87. backgroundTextStyle: '@bgTxtStyle',
  88. navigationBarBackgroundColor: '#fff',
  89. navigationBarTextStyle: 'black',
  90. navigationBarTitleText: 'Vitesse-Uni',
  91. },
  92. })