pages.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {
  2. "pages": [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. "path": "pages/index/index",
  6. "style": {}
  7. },
  8. {
  9. "path": "pages/basics/layout",
  10. "style": {}
  11. },
  12. {
  13. "path": "pages/basics/background",
  14. "style": {}
  15. },
  16. {
  17. "path": "pages/basics/text",
  18. "style": {}
  19. },
  20. {
  21. "path": "pages/basics/icon",
  22. "style": {}
  23. },
  24. {
  25. "path": "pages/basics/button",
  26. "style": {}
  27. },
  28. {
  29. "path": "pages/basics/design",
  30. "style": {}
  31. },
  32. {
  33. "path": "pages/basics/tag",
  34. "style": {}
  35. },
  36. {
  37. "path": "pages/basics/avatar",
  38. "style": {}
  39. },
  40. {
  41. "path": "pages/basics/progress",
  42. "style": {}
  43. },
  44. {
  45. "path": "pages/basics/shadow",
  46. "style": {}
  47. },
  48. {
  49. "path": "pages/basics/loading",
  50. "style": {}
  51. },
  52. {
  53. "path": "pages/component/bar",
  54. "style": {}
  55. },
  56. {
  57. "path": "pages/component/nav",
  58. "style": {}
  59. },
  60. {
  61. "path": "pages/component/list",
  62. "style": {}
  63. },
  64. {
  65. "path": "pages/component/card",
  66. "style": {}
  67. },
  68. {
  69. "path": "pages/component/form",
  70. "style": {}
  71. },
  72. {
  73. "path": "pages/component/timeline",
  74. "style": {}
  75. },
  76. {
  77. "path": "pages/component/chat",
  78. "style": {}
  79. },
  80. {
  81. "path": "pages/component/swiper",
  82. "style": {}
  83. },
  84. {
  85. "path": "pages/component/modal",
  86. "style": {}
  87. },
  88. {
  89. "path": "pages/component/steps",
  90. "style": {}
  91. }, {
  92. "path": "pages/plugin/indexes",
  93. "style": {}
  94. }, {
  95. "path": "pages/plugin/animation",
  96. "style": {}
  97. }, {
  98. "path": "pages/plugin/drawer",
  99. "style": {}
  100. }, {
  101. "path": "pages/plugin/verticalnav",
  102. "style": {}
  103. }
  104. ],
  105. "globalStyle": {
  106. "mp-alipay": {
  107. /* 支付宝小程序特有相关 */
  108. "transparentTitle": "always",
  109. "allowsBounceVertical": "NO"
  110. },
  111. "navigationBarBackgroundColor": "#0081ff",
  112. "navigationBarTitleText": "ColorUi for UniApp",
  113. "navigationStyle": "custom",
  114. "navigationBarTextStyle": "white"
  115. },
  116. "usingComponts": true,
  117. "condition": { //模式配置,仅开发期间生效
  118. "current": 0, //当前激活的模式(list 的索引项)
  119. "list": [{
  120. "name": "表单", //模式名称
  121. "path": "pages/component/form", //启动页面
  122. "query": "" //启动参数
  123. }
  124. ]
  125. }
  126. }