pages.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/Login/Login",
  5. "style": {
  6. "navigationStyle": "custom",
  7. "disableScroll": true
  8. }
  9. },
  10. {
  11. "path": "pages/Login/loginWeixin",
  12. "style": {
  13. "navigationStyle": "custom"
  14. }
  15. },
  16. // {
  17. // "path" : "pages/Charts/mainStatistics",
  18. // "style" : {
  19. // "navigationBarTitleText":"首页"
  20. // // "disableScroll": true
  21. // // "enablePullDownRefresh": true
  22. // }
  23. // },
  24. {
  25. "path": "pages/select/select",
  26. "style": {
  27. "navigationBarTitleText": "查询"
  28. // "disableScroll": true
  29. // "enablePullDownRefresh": true
  30. }
  31. },
  32. {
  33. "path": "pages/Insert/Insert",
  34. "style": {
  35. "navigationBarTitleText": "录入"
  36. }
  37. },
  38. {
  39. "path": "pages/User/user",
  40. "style": {
  41. "navigationBarTitleText": "我的"
  42. }
  43. },
  44. {
  45. "path": "pages/WeixinSwicth/WeixinSwicth",
  46. "style": {
  47. // "navigationStyle": "custom",
  48. "navigationBarTitleText": "微信绑定",
  49. "menuSrc": "static/img/leftTriangle.png",
  50. "enablePullDownRefresh": true
  51. // "disableScroll": true
  52. }
  53. },
  54. {
  55. "path": "pages/User/updataPassword",
  56. "style": {
  57. "navigationBarTitleText": "修改信息"
  58. }
  59. },
  60. {
  61. "path": "pages/User/userList",
  62. "style": {
  63. "navigationBarTitleText": "用户列表"
  64. }
  65. },
  66. {
  67. "path": "pages/User/userInfo",
  68. "style": {
  69. "navigationBarTitleText": "用户管理",
  70. "enablePullDownRefresh": true
  71. }
  72. },
  73. {
  74. "path": "pages/User/addCode",
  75. "style": {
  76. "navigationBarTitleText": "添加编码",
  77. "enablePullDownRefresh": true
  78. }
  79. }
  80. , {
  81. "path": "pages/Insert/addModules",
  82. "style": {
  83. "navigationBarTitleText": "添加模块"
  84. }
  85. }, {
  86. "path": "pages/Insert/addMachine",
  87. "style": {
  88. "navigationBarTitleText": "添加机器"
  89. }
  90. }, {
  91. "path": "pages/Insert/updateModules",
  92. "style": {
  93. "navigationBarTitleText": "更换模块"
  94. }
  95. }
  96. , {
  97. "path": "pages/select/selectModules",
  98. "style": {
  99. "navigationBarTitleText": "模块查询"
  100. }
  101. }, {
  102. "path": "pages/select/selectMachine",
  103. "style": {
  104. "navigationBarTitleText": "机器查询"
  105. }
  106. }, {
  107. "path": "pages/update/update",
  108. "style": {
  109. "navigationBarTitleText": "反馈更换"
  110. }
  111. }, {
  112. "path": "pages/select/update",
  113. "style": {
  114. "navigationBarTitleText": "售后更换",
  115. "enablePullDownRefresh": true
  116. }
  117. }, {
  118. "path": "pages/User/delCode",
  119. "style": {
  120. "navigationBarTitleText": "删除编码",
  121. "enablePullDownRefresh": false
  122. }
  123. }, {
  124. "path": "pages/Insert/workingProcedure",
  125. "style": {
  126. "navigationBarTitleText": "工序页面"
  127. }
  128. }
  129. ,{
  130. "path" : "pages/select/selectOrderNo",
  131. "style" :
  132. {
  133. "navigationBarTitleText": "订单查询",
  134. "enablePullDownRefresh": false
  135. }
  136. }
  137. ],
  138. "globalStyle": {
  139. "navigationBarTextStyle": "white",
  140. "navigationBarTitleText": "",
  141. "navigationBarBackgroundColor": "#206DC3",
  142. "backgroundColor": "#F8F8F8",
  143. "animationType": "slide-in-right",
  144. "animationDuration": 200
  145. },
  146. "tabBar": {
  147. "color": "#7A7E83",
  148. "selectedColor": "#007AFF",
  149. "borderStyle": "black",
  150. "backgroundColor": "#F8F8F8",
  151. "list": [{
  152. "pagePath": "pages/select/select",
  153. "iconPath": "static/img/home.png",
  154. "selectedIconPath": "static/img/homeHL.png",
  155. "text": "查询"
  156. },
  157. {
  158. "pagePath": "pages/Insert/Insert",
  159. "iconPath": "static/img/equipment.png",
  160. "selectedIconPath": "static/img/equipmentHL.png",
  161. "text": "录入"
  162. },
  163. {
  164. "pagePath": "pages/update/update",
  165. "iconPath": "static/img/equipmentSratisticsList.png",
  166. "selectedIconPath": "static/img/equipmentSratisticsListHL.png",
  167. "text": "反馈"
  168. },
  169. {
  170. "pagePath": "pages/User/user",
  171. "iconPath": "static/img/user.png",
  172. "selectedIconPath": "static/img/userHL.png",
  173. "text": "我的"
  174. }
  175. ]
  176. },
  177. "condition" : { //模式配置,仅开发期间生效
  178. "current": 0, //当前激活的模式(list 的索引项)
  179. "list": [
  180. {
  181. "name": "", //模式名称
  182. "path": "", //启动页面,必选
  183. "query": "" //启动参数,在页面的onLoad函数里面得到
  184. }
  185. ]
  186. }
  187. }