pages.json 1013 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "easycom": {
  3. "autoscan": true, //是否自动扫描组件
  4. "custom": {
  5. "^x-(.*)": "@/components/x-$1.vue", // 匹配components目录内的vue文件
  6. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  7. }
  8. },
  9. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  10. {
  11. "path": "pages/indexRouter",
  12. "style": {
  13. "navigationStyle": "custom"
  14. }
  15. }, {
  16. "path": "pages/realTime/index",
  17. "style": {
  18. "navigationBarTitleText": "uni-app"
  19. }
  20. }, {
  21. "path": "pages/historical/index",
  22. "style": {
  23. "navigationBarTitleText": "uni-app"
  24. }
  25. }, {
  26. "path": "pages/alarm/index",
  27. "style": {
  28. "navigationBarTitleText": "uni-app"
  29. }
  30. }
  31. ],
  32. "globalStyle": {
  33. "rpxCalcMaxDeviceWidth": 0,
  34. "rpxCalcBaseDeviceWidth": 375,
  35. "rpxCalcIncludeWidth": 750 ,
  36. "navigationBarTextStyle": "black",
  37. "navigationBarTitleText": "uni-app",
  38. "navigationBarBackgroundColor": "#F8F8F8",
  39. "backgroundColor": "#F8F8F8"
  40. },
  41. "uniIdRouter": {}
  42. }