pages.json 4.1 KB

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