pages.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. {
  2. "pages": [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. "path": "pages/tabBar/index/index",
  6. "style": {
  7. "navigationBarTitleText": "呵呵商城",
  8. "enablePullDownRefresh":true,
  9. "navigationStyle":"custom"
  10. }
  11. },
  12. {
  13. "path": "pages/tabBar/cart/index",
  14. "style": {
  15. "navigationBarTitleText": "购物车",
  16. "enablePullDownRefresh":true
  17. }
  18. },
  19. {
  20. "path": "pages/tabBar/user/index",
  21. "style": {
  22. "navigationBarTitleText": "个人中心",
  23. "enablePullDownRefresh":true
  24. }
  25. },
  26. {
  27. "path": "pages/authorize/authorize",
  28. "style": {
  29. "navigationBarTitleText": "微信授权"
  30. }
  31. },
  32. {
  33. "path": "pages/login/login",
  34. "style": {
  35. "navigationBarTitleText": "登录"
  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. {
  55. "path": "address/addressManage",
  56. "style": {
  57. "navigationBarTitleText": "添加新地址"
  58. }
  59. },
  60. {
  61. "path": "address/address",
  62. "style": {
  63. "navigationBarTitleText": "地址列表"
  64. }
  65. },
  66. {
  67. "path": "order/create-order",
  68. "style": {
  69. "navigationBarTitleText": "确认订单"
  70. }
  71. },
  72. {
  73. "path": "order/success",
  74. "style": {
  75. "navigationBarTitleText": "支付结果",
  76. "navigationStyle": "custom"
  77. }
  78. },
  79. {
  80. "path": "order/order-payment",
  81. "style": {
  82. "navigationBarTitleText": "选择支付方式",
  83. "navigationStyle": "custom"
  84. }
  85. },
  86. {
  87. "path": "order/order-list",
  88. "style": {
  89. "navigationBarTitleText": "我的订单",
  90. "navigationStyle": "custom"
  91. }
  92. },
  93. {
  94. "path": "order/order-historylist",
  95. "style": {
  96. "navigationBarTitleText": "机构订单列表"
  97. }
  98. },
  99. {
  100. "path": "order/order-details",
  101. "style": {
  102. "navigationBarTitleText": "订单详情",
  103. "navigationStyle": "custom"
  104. }
  105. },
  106. {
  107. "path": "order/search-order",
  108. "style": {
  109. "navigationBarTitleText": "订单搜索"
  110. }
  111. },
  112. {
  113. "path": "order/order-logistics",
  114. "style": {
  115. "navigationBarTitleText": "物流信息"
  116. }
  117. }
  118. ]
  119. }],
  120. "tabBar": {
  121. "height": "80",
  122. "color": "#999999",
  123. "selectedColor": "#ff457b",
  124. "borderStyle": "black",
  125. "backgroundColor": "#ffffff",
  126. "list": [
  127. {
  128. "pagePath": "pages/tabBar/index/index",
  129. "iconPath": "static/icon-index@2x.png",
  130. "selectedIconPath": "static/icon-index-active@2x.png",
  131. "text": "商城"
  132. },
  133. {
  134. "pagePath": "pages/tabBar/cart/index",
  135. "iconPath": "static/icon-cart@2x.png",
  136. "selectedIconPath": "static/icon-cart-active@2x.png",
  137. "text": "购物车"
  138. },
  139. {
  140. "pagePath": "pages/tabBar/user/index",
  141. "iconPath": "static/icon-user@2x.png",
  142. "selectedIconPath": "static/icon-user-active@2x.png",
  143. "text": "我的"
  144. }
  145. ]
  146. },
  147. "easycom": {
  148. "autoscan": true,
  149. "custom": {
  150. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  151. }
  152. },
  153. "globalStyle": {
  154. "navigationBarTextStyle": "black",
  155. "navigationBarTitleText": "呵呵商城",
  156. "navigationBarBackgroundColor": "#FFFFFF",
  157. "backgroundColor": "#FFFFFF"
  158. },
  159. "condition": {
  160. //模式配置,仅开发期间生效
  161. "current": 0, //当前激活的模式(list 的索引项)
  162. "list": [{
  163. "name": "", //模式名称
  164. "path": "", //启动页面,必选
  165. "query": "" //启动参数,在页面的onLoad函数里面得到
  166. }]
  167. }
  168. }