pages.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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/market/index",
  36. "style": {
  37. "navigationBarTitleText": "购物车"
  38. }
  39. },
  40. {
  41. "path": "pages/my/index",
  42. "style": {
  43. "navigationBarTitleText": "我的"
  44. }
  45. }
  46. ],
  47. "subPackages": [ //分包配置
  48. {
  49. "root": "pagesMy",
  50. "pages": [ //分包
  51. {
  52. "path": "order/index",
  53. "style": {
  54. "navigationBarTitleText": "订单",
  55. "enablePullDownRefresh": true
  56. }
  57. },
  58. {
  59. "path": "order/order",
  60. "style": {
  61. "navigationBarTitleText": "订单管理",
  62. "enablePullDownRefresh": true
  63. }
  64. },
  65. {
  66. "path": "order/detail",
  67. "style": {
  68. "navigationBarTitleText": "订单详情"
  69. }
  70. },
  71. {
  72. "path": "repair/index",
  73. "style": {
  74. "navigationBarTitleText": "维修",
  75. "enablePullDownRefresh": true
  76. }
  77. },
  78. {
  79. "path": "repair/detail",
  80. "style": {
  81. "navigationBarTitleText": "维修详情"
  82. }
  83. },
  84. {
  85. "path": "account/index",
  86. "style": {
  87. "navigationBarTitleText": "账号设置",
  88. "enablePullDownRefresh": true
  89. }
  90. },
  91. {
  92. "path": "account/info",
  93. "style": {
  94. "navigationBarTitleText": "账号详情"
  95. }
  96. },
  97. {
  98. "path": "account/update",
  99. "style": {
  100. "navigationBarTitleText": "修改密码"
  101. }
  102. },
  103. {
  104. "path": "user/index",
  105. "style": {
  106. "navigationBarTitleText": "用户管理",
  107. "enablePullDownRefresh": true
  108. }
  109. },
  110. {
  111. "path": "refund/index",
  112. "style": {
  113. "navigationBarTitleText": "申请退货",
  114. "enablePullDownRefresh": true
  115. }
  116. },
  117. {
  118. "path": "buyExamine/index",
  119. "style": {
  120. "navigationBarTitleText": "采购审批",
  121. "enablePullDownRefresh": true
  122. }
  123. },
  124. {
  125. "path": "collectionExamin/index",
  126. "style": {
  127. "navigationBarTitleText": "回款审批",
  128. "enablePullDownRefresh": true
  129. }
  130. },
  131. {
  132. "path": "maintenance/index",
  133. "style": {
  134. "navigationBarTitleText": "维修记录",
  135. "enablePullDownRefresh": true
  136. }
  137. },
  138. {
  139. "path": "record/index",
  140. "style": {
  141. "navigationBarTitleText": "回款记录",
  142. "enablePullDownRefresh": true
  143. }
  144. },
  145. {
  146. "path": "goods/index",
  147. "style": {
  148. "navigationBarTitleText": "商品管理",
  149. "enablePullDownRefresh": true
  150. }
  151. },
  152. {
  153. "path": "goods/add",
  154. "style": {
  155. "navigationBarTitleText": "新增商品"
  156. }
  157. },
  158. {
  159. "path": "spec/index",
  160. "style": {
  161. "navigationBarTitleText": "商品规格",
  162. "enablePullDownRefresh": true
  163. }
  164. },
  165. {
  166. "path": "spec/add",
  167. "style": {
  168. "navigationBarTitleText": "新增规格"
  169. }
  170. },
  171. {
  172. "path": "statistics/index",
  173. "style": {
  174. "navigationBarTitleText": "回款统计",
  175. "enablePullDownRefresh": true
  176. }
  177. }
  178. ]
  179. },
  180. {
  181. "root": "pagesGoods",
  182. "pages": [ //分包
  183. {
  184. "path": "index/index",
  185. "style": {
  186. "navigationBarTitleText": "商品详情"
  187. }
  188. },
  189. {
  190. "path": "sort/index",
  191. "style": {
  192. "navigationBarTitleText": "商品分类",
  193. "enablePullDownRefresh": true
  194. }
  195. },
  196. {
  197. "path": "shop/index",
  198. "style": {
  199. "navigationBarTitleText": "店铺",
  200. "enablePullDownRefresh": true
  201. }
  202. }
  203. ]
  204. },
  205. {
  206. "root": "pagesOther",
  207. "pages": [{
  208. "path": "other/agree",
  209. "style": {
  210. "navigationBarTitleText": "用户协议",
  211. "enablePullDownRefresh": false
  212. }
  213. }]
  214. }
  215. ],
  216. "globalStyle": {
  217. "pageOrientation": "portrait",
  218. "navigationBarTitleText": "耗材小程序",
  219. "navigationBarTextStyle": "white",
  220. "navigationBarBackgroundColor": "#007AFF",
  221. "backgroundColor": "#F8F8F8",
  222. "backgroundColorTop": "#F4F5F6",
  223. "backgroundColorBottom": "#F4F5F6"
  224. },
  225. "tabBar": {
  226. "color": "#7A7E83",
  227. "selectedColor": "#007AFF",
  228. "borderStyle": "black",
  229. "backgroundColor": "#F8F8F8",
  230. "list": [{
  231. "pagePath": "pages/home/index",
  232. "iconPath": "static/home.png",
  233. "selectedIconPath": "static/homeHL.png",
  234. "text": "首页"
  235. },
  236. {
  237. "pagePath": "pages/good/index",
  238. "iconPath": "static/good.png",
  239. "selectedIconPath": "static/goodHL.png",
  240. "text": "全部商品"
  241. },
  242. {
  243. "pagePath": "pages/market/index",
  244. "iconPath": "static/shop.png",
  245. "selectedIconPath": "static/shopHL.png",
  246. "text": "购物车"
  247. },
  248. {
  249. "pagePath": "pages/my/index",
  250. "iconPath": "static/my.png",
  251. "selectedIconPath": "static/myHL.png",
  252. "text": "我的"
  253. }
  254. ]
  255. },
  256. "condition": { //模式配置,仅开发期间生效
  257. "current": 0, //当前激活的模式(list 的索引项)
  258. "list": [{
  259. "name": "系统首页", //模式名称
  260. "path": "pages/index/index", //启动页面,必选
  261. "query": "" //启动参数,在页面的onLoad函数里面得到
  262. }]
  263. }
  264. }