pages.json 4.0 KB

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