pages.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. {
  2. "pages": [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. "path": "pages/tabBar/index/index",
  6. "style": {
  7. "navigationBarTitleText": "呵呵商城",
  8. "enablePullDownRefresh":true,
  9. "backgroundColor":"#F952B7",
  10. "backgroundTextStyle":"light",
  11. "navigationStyle":"custom"
  12. }
  13. },
  14. {
  15. "path": "pages/tabBar/cart/index",
  16. "style": {
  17. "navigationBarTitleText": "购物车",
  18. "enablePullDownRefresh":true
  19. }
  20. },
  21. {
  22. "path": "pages/tabBar/user/index",
  23. "style": {
  24. "navigationBarTitleText": "个人中心",
  25. "enablePullDownRefresh":true
  26. }
  27. },
  28. {
  29. "path": "pages/authorize/authorize",
  30. "style": {
  31. "navigationBarTitleText": "微信授权"
  32. }
  33. },
  34. {
  35. "path": "pages/login/login",
  36. "style": {
  37. "navigationBarTitleText": "登录"
  38. }
  39. },
  40. {
  41. "path": "pages/goods/list",
  42. "style": {
  43. "navigationBarTitleText": "立即下单"
  44. }
  45. },
  46. {
  47. "path": "pages/goods/search",
  48. "style": {
  49. "navigationBarTitleText": "搜索"
  50. }
  51. },
  52. {
  53. "path":"pages/goods/product",
  54. "style":{
  55. "navigationBarTitleText":"商品详情",
  56. "navigationStyle":"custom"
  57. }
  58. }
  59. ],
  60. "subPackages": [{
  61. "root": "pages/user/", //机构个人中心模块
  62. "pages": [
  63. {
  64. "path": "address/addressManage",
  65. "style": {
  66. "navigationBarTitleText": "添加新地址"
  67. }
  68. },
  69. {
  70. "path": "address/address",
  71. "style": {
  72. "navigationBarTitleText": "地址列表"
  73. }
  74. },
  75. {
  76. "path": "order/create-order",
  77. "style": {
  78. "navigationBarTitleText": "确认订单"
  79. }
  80. },
  81. {
  82. "path": "order/success",
  83. "style": {
  84. "navigationBarTitleText": "支付结果",
  85. "navigationStyle": "custom"
  86. }
  87. },
  88. {
  89. "path": "order/order-payment",
  90. "style": {
  91. "navigationBarTitleText": "选择支付方式",
  92. "navigationStyle": "custom"
  93. }
  94. },
  95. {
  96. "path": "order/order-list",
  97. "style": {
  98. "navigationBarTitleText": "我的订单",
  99. "navigationStyle": "custom"
  100. }
  101. },
  102. {
  103. "path": "order/order-historylist",
  104. "style": {
  105. "navigationBarTitleText": "机构订单列表"
  106. }
  107. },
  108. {
  109. "path": "order/order-details",
  110. "style": {
  111. "navigationBarTitleText": "订单详情",
  112. "navigationStyle": "custom"
  113. }
  114. },
  115. {
  116. "path": "order/search-order",
  117. "style": {
  118. "navigationBarTitleText": "订单搜索"
  119. }
  120. },
  121. {
  122. "path": "order/order-logistics",
  123. "style": {
  124. "navigationBarTitleText": "物流信息"
  125. }
  126. },
  127. {
  128. "path": "activity/activity",
  129. "style": {
  130. "navigationBarTitleText": "活动详情",
  131. "enablePullDownRefresh":true,
  132. "backgroundColor":"#ff457b",
  133. "backgroundTextStyle":"light"
  134. }
  135. },
  136. {
  137. "path": "activity/activity-list",
  138. "style": {
  139. "navigationBarTitleText": "活动专区",
  140. "enablePullDownRefresh":true,
  141. "backgroundColor":"#ff457b",
  142. "backgroundTextStyle":"light"
  143. }
  144. }
  145. ]
  146. }],
  147. "tabBar": {
  148. "height": "80",
  149. "color": "#999999",
  150. "selectedColor": "#ff457b",
  151. "borderStyle": "black",
  152. "backgroundColor": "#ffffff",
  153. "list": [
  154. {
  155. "pagePath": "pages/tabBar/index/index",
  156. "iconPath": "static/icon-index@2x.png",
  157. "selectedIconPath": "static/icon-index-active@2x.png",
  158. "text": "商城"
  159. },
  160. {
  161. "pagePath": "pages/tabBar/cart/index",
  162. "iconPath": "static/icon-cart@2x.png",
  163. "selectedIconPath": "static/icon-cart-active@2x.png",
  164. "text": "购物车"
  165. },
  166. {
  167. "pagePath": "pages/tabBar/user/index",
  168. "iconPath": "static/icon-user@2x.png",
  169. "selectedIconPath": "static/icon-user-active@2x.png",
  170. "text": "我的"
  171. }
  172. ]
  173. },
  174. "easycom": {
  175. "autoscan": true,
  176. "custom": {
  177. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  178. }
  179. },
  180. "globalStyle": {
  181. "navigationBarTextStyle": "black",
  182. "navigationBarTitleText": "呵呵商城",
  183. "navigationBarBackgroundColor": "#FFFFFF",
  184. "backgroundColor": "#FFFFFF"
  185. },
  186. "condition": {
  187. //模式配置,仅开发期间生效
  188. "current": 0, //当前激活的模式(list 的索引项)
  189. "list": [{
  190. "name": "", //模式名称
  191. "path": "", //启动页面,必选
  192. "query": "" //启动参数,在页面的onLoad函数里面得到
  193. }]
  194. }
  195. }