pages.config.ts 788 B

12345678910111213141516171819202122232425262728
  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. globalStyle: {
  12. backgroundColor: '@bgColor',
  13. backgroundColorBottom: '@bgColorBottom',
  14. backgroundColorTop: '@bgColorTop',
  15. backgroundTextStyle: '@bgTxtStyle',
  16. navigationBarBackgroundColor: '#000000',
  17. navigationBarTextStyle: '@navTxtStyle',
  18. navigationBarTitleText: 'Vitesse-Uni',
  19. navigationStyle: 'custom',
  20. },
  21. // tabBar: {
  22. // backgroundColor: "@tabBgColor",
  23. // borderStyle: "@tabBorderStyle",
  24. // color: "@tabFontColor",
  25. // selectedColor: "@tabSelectedColor",
  26. // },
  27. })