pages.json 3.7 KB

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