pages.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. "navigationBarTitleText": "系统页"
  6. }
  7. },
  8. {
  9. "path": "pages/login/index",
  10. "style": {
  11. "navigationBarTitleText": "登录"
  12. }
  13. },
  14. {
  15. "path": "pages/register/index",
  16. "style": {
  17. "navigationBarTitleText": "注册"
  18. }
  19. },
  20. {
  21. "path": "pages/home/index",
  22. "style": {
  23. "navigationBarTitleText": "首页",
  24. "enablePullDownRefresh": true
  25. }
  26. },
  27. {
  28. "path": "pages/good/index",
  29. "style": {
  30. "navigationBarTitleText": "所有商品",
  31. "enablePullDownRefresh": true
  32. }
  33. },
  34. {
  35. "path": "pages/procure/index",
  36. "style": {
  37. "navigationBarTitleText": "采购"
  38. }
  39. },
  40. {
  41. "path": "pages/market/index",
  42. "style": {
  43. "navigationBarTitleText": "购物车"
  44. }
  45. },
  46. {
  47. "path": "pages/my/index",
  48. "style": {
  49. "navigationBarTitleText": "我的"
  50. }
  51. }
  52. ],
  53. "subPackages": [ //分包配置
  54. {
  55. "root": "pagesMy",
  56. "pages": [ //分包
  57. {
  58. "path": "order/index",
  59. "style": {
  60. "navigationBarTitleText": "订单",
  61. "enablePullDownRefresh": true
  62. }
  63. },
  64. {
  65. "path": "order/order",
  66. "style": {
  67. "navigationBarTitleText": "订单管理",
  68. "enablePullDownRefresh": true
  69. }
  70. },
  71. {
  72. "path": "repair/index",
  73. "style": {
  74. "navigationBarTitleText": "维修",
  75. "enablePullDownRefresh": true
  76. }
  77. },
  78. {
  79. "path": "account/index",
  80. "style": {
  81. "navigationBarTitleText": "账号设置",
  82. "enablePullDownRefresh": true
  83. }
  84. },
  85. {
  86. "path": "account/info",
  87. "style": {
  88. "navigationBarTitleText": "账号详情"
  89. }
  90. },
  91. {
  92. "path": "account/update",
  93. "style": {
  94. "navigationBarTitleText": "修改密码"
  95. }
  96. },
  97. {
  98. "path": "user/index",
  99. "style": {
  100. "navigationBarTitleText": "用户管理",
  101. "enablePullDownRefresh": true
  102. }
  103. },
  104. {
  105. "path": "buyExamine/index",
  106. "style": {
  107. "navigationBarTitleText": "采购审核",
  108. "enablePullDownRefresh": true
  109. }
  110. },
  111. {
  112. "path": "collectionExamin/index",
  113. "style": {
  114. "navigationBarTitleText": "回款审核",
  115. "enablePullDownRefresh": true
  116. }
  117. },
  118. {
  119. "path": "maintenance/index",
  120. "style": {
  121. "navigationBarTitleText": "维修",
  122. "enablePullDownRefresh": true
  123. }
  124. },
  125. {
  126. "path": "record/index",
  127. "style": {
  128. "navigationBarTitleText": "回款记录",
  129. "enablePullDownRefresh": true
  130. }
  131. },
  132. {
  133. "path": "goods/index",
  134. "style": {
  135. "navigationBarTitleText": "商品管理",
  136. "enablePullDownRefresh": true
  137. }
  138. },
  139. {
  140. "path": "goods/add",
  141. "style": {
  142. "navigationBarTitleText": "新增商品"
  143. }
  144. },
  145. {
  146. "path": "spec/index",
  147. "style": {
  148. "navigationBarTitleText": "商品规格",
  149. "enablePullDownRefresh": true
  150. }
  151. },
  152. {
  153. "path": "spec/add",
  154. "style": {
  155. "navigationBarTitleText": "新增规格"
  156. }
  157. },
  158. {
  159. "path": "shop/index",
  160. "style": {
  161. "navigationBarTitleText": "采购清单",
  162. "enablePullDownRefresh": true
  163. }
  164. }
  165. ]
  166. },
  167. {
  168. "root": "pagesGoods",
  169. "pages": [ //分包
  170. {
  171. "path": "index/index",
  172. "style": {
  173. "navigationBarTitleText": "商品详情"
  174. }
  175. }
  176. ]
  177. }
  178. ],
  179. "globalStyle": {
  180. "pageOrientation": "portrait",
  181. "navigationBarTitleText": "耗材小程序",
  182. "navigationBarTextStyle": "white",
  183. "navigationBarBackgroundColor": "#007AFF",
  184. "backgroundColor": "#F8F8F8",
  185. "backgroundColorTop": "#F4F5F6",
  186. "backgroundColorBottom": "#F4F5F6"
  187. },
  188. "tabBar": {
  189. "color": "#7A7E83",
  190. "selectedColor": "#007AFF",
  191. "borderStyle": "black",
  192. "backgroundColor": "#F8F8F8",
  193. "list": [{
  194. "pagePath": "pages/home/index",
  195. "iconPath": "static/home.png",
  196. "selectedIconPath": "static/homeHL.png",
  197. "text": "首页"
  198. },
  199. {
  200. "pagePath": "pages/good/index",
  201. "iconPath": "static/good.png",
  202. "selectedIconPath": "static/goodHL.png",
  203. "text": "全部商品"
  204. },
  205. {
  206. "pagePath": "pages/market/index",
  207. "iconPath": "static/shop.png",
  208. "selectedIconPath": "static/shopHL.png",
  209. "text": "购物车"
  210. },
  211. {
  212. "pagePath": "pages/my/index",
  213. "iconPath": "static/my.png",
  214. "selectedIconPath": "static/myHL.png",
  215. "text": "我的"
  216. }
  217. ]
  218. },
  219. "condition": { //模式配置,仅开发期间生效
  220. "current": 0, //当前激活的模式(list 的索引项)
  221. "list": [{
  222. "name": "系统首页", //模式名称
  223. "path": "pages/index/index", //启动页面,必选
  224. "query": "" //启动参数,在页面的onLoad函数里面得到
  225. }]
  226. }
  227. }