四零语境前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
2.8 KiB

3 days ago
3 days ago
3 days ago
  1. {
  2. "pages": [
  3. {
  4. "path": "pages/index/test",
  5. "style": {
  6. "navigationStyle": "custom",
  7. "enablePullDownRefresh": false
  8. }
  9. },
  10. {
  11. "path": "pages/index/test2",
  12. "style": {
  13. "navigationStyle": "custom",
  14. "enablePullDownRefresh": false
  15. }
  16. },
  17. {
  18. "path": "pages/index/home",
  19. "style": {
  20. "navigationStyle": "custom",
  21. "enablePullDownRefresh": true
  22. }
  23. },
  24. {
  25. "path": "pages/index/maintain",
  26. "style": {
  27. "navigationBarTitleText": "维修",
  28. "enablePullDownRefresh": true
  29. }
  30. },
  31. {
  32. "path": "pages/index/user",
  33. "style": {
  34. "navigationStyle": "custom",
  35. "enablePullDownRefresh": true
  36. }
  37. }
  38. ],
  39. "subPackages":[
  40. {
  41. "root": "subPages",
  42. "pages":[
  43. {
  44. "path": "login/login",
  45. "style": {
  46. "navigationStyle": "custom"
  47. }
  48. },
  49. {
  50. "path": "login/userInfo",
  51. "style": {
  52. "navigationBarTitleText": "补充信息"
  53. }
  54. },
  55. {
  56. "path": "home/repairSubmit",
  57. "style": {
  58. "navigationBarTitleText": "报修提交"
  59. }
  60. },
  61. {
  62. "path": "home/maintainanceSubmit",
  63. "style": {
  64. "navigationBarTitleText": "保养提交"
  65. }
  66. },
  67. {
  68. "path": "home/RAArecord",
  69. "style": {
  70. "navigationBarTitleText": "报修/保养记录"
  71. }
  72. },
  73. {
  74. "path": "repair/maintainSubmit",
  75. "style": {
  76. "navigationBarTitleText": "维修单提交",
  77. "enablePullDownRefresh": true
  78. }
  79. },
  80. {
  81. "path": "user/profile",
  82. "style": {
  83. "navigationBarTitleText": "资料修改"
  84. }
  85. }
  86. ]
  87. }
  88. ],
  89. "preloadRule": {
  90. "pages/index/home": {
  91. "network": "all",
  92. "packages": ["subPages"]
  93. }
  94. },
  95. "globalStyle": {
  96. "navigationBarTextStyle": "white",
  97. "navigationBarTitleText": "uni-app",
  98. "navigationBarBackgroundColor": "#c70019",
  99. "backgroundColor": "#c70019"
  100. },
  101. "tabBar": {
  102. "color": "#999",
  103. "selectedColor": "#c70019",
  104. "borderStyle": "white",
  105. "backgroundColor": "#ffffff",
  106. "list": [
  107. {
  108. "pagePath": "pages/index/test",
  109. "text": "测试",
  110. "iconPath": "static/维修图标.png",
  111. "selectedIconPath": "static/维修图标-点击.png"
  112. },
  113. {
  114. "pagePath": "pages/index/test2",
  115. "text": "webView",
  116. "iconPath": "static/维修图标.png",
  117. "selectedIconPath": "static/维修图标-点击.png"
  118. },
  119. {
  120. "pagePath": "pages/index/home",
  121. "text": "主页",
  122. "iconPath": "static/主页图标.png",
  123. "selectedIconPath": "static/主页图标-点击.png"
  124. },
  125. {
  126. "pagePath": "pages/index/maintain",
  127. "text": "维修",
  128. "iconPath": "static/维修图标.png",
  129. "selectedIconPath": "static/维修图标-点击.png"
  130. },
  131. {
  132. "pagePath": "pages/index/user",
  133. "text": "我的",
  134. "iconPath": "static/我的图标.png",
  135. "selectedIconPath": "static/我的图标-点击.png"
  136. }
  137. ]
  138. }
  139. }