pages.json 4.2 KB

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