pages.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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/Setting/Setting",
  26. "style": {
  27. "navigationBarTitleText": "机器设置",
  28. // "disableScroll": true,
  29. "enablePullDownRefresh": true
  30. }
  31. },
  32. {
  33. "path": "pages/Setting/singleStatistics",
  34. "style": {
  35. "navigationBarTitleText": "单机统计",
  36. // "disableScroll": true,
  37. "enablePullDownRefresh": true
  38. }
  39. },
  40. {
  41. "path": "pages/Setting/cleanRule",
  42. "style": {
  43. "navigationBarTitleText": "清洗规则",
  44. // "disableScroll": true,
  45. "enablePullDownRefresh": true
  46. }
  47. },
  48. {
  49. "path": "pages/Setting/pay",
  50. "style": {
  51. "navigationBarTitleText": "支付",
  52. // "disableScroll": true,
  53. "enablePullDownRefresh": true
  54. }
  55. },
  56. {
  57. "path": "pages/Setting/parameters",
  58. "style": {
  59. "navigationBarTitleText": "参数类型",
  60. // "disableScroll": true,
  61. "enablePullDownRefresh": true
  62. }
  63. },
  64. {
  65. "path": "pages/Setting/generalParameters",
  66. "style": {
  67. "navigationBarTitleText": "通用参数",
  68. // "disableScroll": true,
  69. "enablePullDownRefresh": true
  70. }
  71. },
  72. {
  73. "path": "pages/Setting/advancedParameters",
  74. "style": {
  75. "navigationBarTitleText": "进阶参数",
  76. // "disableScroll": true,
  77. "enablePullDownRefresh": true
  78. }
  79. },
  80. {
  81. "path": "pages/Setting/dayPay",
  82. "style": {
  83. "navigationBarTitleText": "按日支付",
  84. // "disableScroll": true,
  85. "enablePullDownRefresh": true
  86. }
  87. },
  88. {
  89. "path": "pages/Setting/timesPay",
  90. "style": {
  91. "navigationBarTitleText": "按次数支付",
  92. // "disableScroll": true,
  93. "enablePullDownRefresh": true
  94. }
  95. },
  96. {
  97. "path": "pages/User/user",
  98. "style": {
  99. "navigationBarTitleText": "我的"
  100. }
  101. },
  102. {
  103. "path": "pages/User/buyPromo",
  104. "style": {
  105. "navigationBarTitleText": "购买优惠码"
  106. }
  107. },
  108. // {
  109. // "path": "pages/Charts/equipmentStatistics",
  110. // "style": {
  111. // "navigationBarTitleText": "销售排行"
  112. // }
  113. // }
  114. {
  115. "path": "pages/WeixinSwicth/WeixinSwicth",
  116. "style": {
  117. // "navigationStyle": "custom",
  118. "navigationBarTitleText": "微信绑定",
  119. "menuSrc": "static/img/leftTriangle.png",
  120. "enablePullDownRefresh": true
  121. // "disableScroll": true
  122. }
  123. }
  124. // ,{
  125. // "path" : "pages/Setting/saoma",
  126. // "style" : {
  127. // "navigationBarTitleText": "扫码"
  128. // }
  129. // }
  130. ],
  131. "globalStyle": {
  132. "navigationBarTextStyle": "white",
  133. "navigationBarTitleText": "",
  134. "navigationBarBackgroundColor": "#206DC3",
  135. "backgroundColor": "#F8F8F8",
  136. "animationType": "slide-in-right",
  137. "animationDuration": 200
  138. },
  139. "tabBar": {
  140. "color": "#7A7E83",
  141. "selectedColor": "#007AFF",
  142. "borderStyle": "black",
  143. "backgroundColor": "#F8F8F8",
  144. "list": [{
  145. "pagePath": "pages/Charts/mainStatistics",
  146. "iconPath": "static/img/home.png",
  147. "selectedIconPath": "static/img/homeHL.png",
  148. "text": "首页"
  149. },
  150. {
  151. "pagePath": "pages/Setting/Setting",
  152. "iconPath": "static/img/equipment.png",
  153. "selectedIconPath": "static/img/equipmentHL.png",
  154. "text": "机器设置"
  155. },
  156. {
  157. "pagePath": "pages/User/user",
  158. "iconPath": "static/img/user.png",
  159. "selectedIconPath": "static/img/userHL.png",
  160. "text": "我的"
  161. }
  162. ]
  163. },
  164. "subPackages": [{
  165. "root": "packageA",
  166. "name": "pack1",
  167. "pages": [
  168. {
  169. "path": "pages/user/sign",
  170. "style": {
  171. "navigationBarTitleText": "签到信息",
  172. "enablePullDownRefresh": false
  173. }
  174. },
  175. {
  176. "path": "pages/user/qiandao",
  177. "style": {
  178. "navigationBarTitleText": "签到"
  179. }
  180. },
  181. {
  182. "path" : "pages/user/equipmentName",
  183. "style" : {
  184. "navigationBarTitleText":"修改设备名称"
  185. }
  186. },
  187. {
  188. "path": "pages/user/workerList",
  189. "style": {
  190. "navigationBarTitleText": "员工列表",
  191. "enablePullDownRefresh": false
  192. }
  193. },
  194. {
  195. "path": "pages/user/worker",
  196. "style": {
  197. "navigationBarTitleText": "员工信息",
  198. "enablePullDownRefresh": false
  199. }
  200. }
  201. ]
  202. }]
  203. }