pages.json 4.1 KB

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