pages.json 4.1 KB

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