pages.json 4.0 KB

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