pages.json 4.7 KB

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