pages.json 4.2 KB

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