pages.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/index/index",
  8. "style": {
  9. "navigationBarTitleText": "uni-app",
  10. "navigationStyle": "custom",
  11. "enablePullDownRefresh": true
  12. }
  13. },
  14. {
  15. "path": "pages/jwgk/index",
  16. "style": {
  17. "navigationBarTitleText": "uni-app",
  18. "navigationStyle": "custom",
  19. "enablePullDownRefresh": true
  20. }
  21. },
  22. {
  23. "path": "pages/jfsc/index",
  24. "style": {
  25. "navigationBarTitleText": "uni-app",
  26. "navigationStyle": "custom",
  27. "enablePullDownRefresh": true
  28. }
  29. },
  30. {
  31. "path": "pages/jfsc/jfmx",
  32. "style": {
  33. "navigationBarTitleText": "积分明细",
  34. "navigationStyle": "custom",
  35. "navigationBarBackgroundColor": "#fff"
  36. }
  37. },
  38. {
  39. "path": "pages/my/index",
  40. "style": {
  41. "navigationBarTitleText": "uni-app",
  42. "navigationStyle": "custom"
  43. }
  44. },
  45. {
  46. "path": "pages/detail/index",
  47. "style": {
  48. "navigationBarTitleText": "",
  49. "navigationBarBackgroundColor": "#FFFFFF",
  50. "navigationStyle": "custom"
  51. }
  52. },
  53. {
  54. "path": "pages/detail/searchResult",
  55. "style": {
  56. "navigationBarTitleText": "搜索结果",
  57. "navigationBarBackgroundColor": "#FFFFFF"
  58. }
  59. },
  60. {
  61. "path": "pages/detail/content",
  62. "style": {
  63. "navigationBarTitleText": "",
  64. "navigationBarBackgroundColor": "#FFFFFF",
  65. "navigationStyle": "custom"
  66. }
  67. }
  68. ],
  69. "subPackages": [
  70. {
  71. "root": "pageA",
  72. "pages": [
  73. {
  74. "path": "my/login",
  75. "style": {
  76. "navigationBarTitleText": "登录",
  77. "navigationBarBackgroundColor": "#FFFFFF",
  78. "navigationStyle": "custom"
  79. }
  80. },
  81. {
  82. "path": "my/reg"
  83. },
  84. {
  85. "path": "my/profile",
  86. "style": {
  87. "navigationBarTitleText": "完善个人资料",
  88. "navigationBarBackgroundColor": "#FFFFFF"
  89. }
  90. }
  91. ]
  92. },
  93. {
  94. "root": "jyzPage",
  95. "pages":[
  96. {
  97. "path": "jyz/jyzdj",
  98. "style": {
  99. "navigationBarTitleText": "加油站登记",
  100. "navigationBarBackgroundColor": "#FFFFFF"
  101. }
  102. },
  103. {
  104. "path": "jyz/csjl",
  105. "style": {
  106. "navigationBarTitleText": "出售记录",
  107. "navigationBarBackgroundColor": "#FFFFFF"
  108. }
  109. },
  110. {
  111. "path": "jyz/personjl",
  112. "style": {
  113. "navigationBarTitleText": "出售个人记录",
  114. "navigationBarBackgroundColor": "#FFFFFF"
  115. }
  116. },
  117. {
  118. "path": "jyz/qiyejl",
  119. "style": {
  120. "navigationBarTitleText": "出售企业记录",
  121. "navigationBarBackgroundColor": "#FFFFFF"
  122. }
  123. }
  124. ]
  125. },
  126. {
  127. "root": "product",
  128. "pages": [
  129. {
  130. "path": "product/card",
  131. "style": {
  132. "navigationBarTitleText": "购物车",
  133. "navigationBarBackgroundColor": "#FFFFFF"
  134. }
  135. },
  136. {
  137. "path": "product/detail",
  138. "style": {
  139. "navigationBarTitleText": "商品详情",
  140. "navigationBarBackgroundColor": "#FFFFFF"
  141. }
  142. },
  143. {
  144. "path": "order/historyOrder",
  145. "style": {
  146. "navigationBarTitleText": "历史订单",
  147. "navigationBarBackgroundColor": "#FFFFFF"
  148. }
  149. },
  150. {
  151. "path": "order/dlq",
  152. "style": {
  153. "navigationBarTitleText": "待领取",
  154. "navigationBarBackgroundColor": "#FFFFFF"
  155. }
  156. }
  157. ]
  158. }
  159. ],
  160. "globalStyle": {
  161. "navigationBarTextStyle": "black",
  162. "navigationBarTitleText": "uni-app",
  163. "navigationBarBackgroundColor": "#F8F8F8",
  164. "backgroundColor": "#F8F8F8"
  165. },
  166. "tabBar": {
  167. "color": "#999999",
  168. "selectedColor": "#000000",
  169. "borderStyle": "white",
  170. "backgroundColor": "#ffffff",
  171. "list": [{
  172. "pagePath": "pages/index/index",
  173. "iconPath": "static/nav/label_home_gray@2x.png",
  174. "selectedIconPath":"static/nav/label_home_color@2x.png",
  175. "text": "防范宣传"
  176. }, {
  177. "pagePath": "pages/jwgk/index",
  178. "iconPath": "static/nav/label_open_gray@2x.png",
  179. "selectedIconPath": "static/nav/label_open_color@2x.png",
  180. "text": "警务公开"
  181. }, {
  182. "pagePath": "pages/jfsc/index",
  183. "iconPath": "static/nav/label_points_gray@2x.png",
  184. "selectedIconPath": "static/nav/label_home_color@2xd.png",
  185. "text": "积分商城"
  186. }, {
  187. "pagePath": "pages/my/index",
  188. "iconPath": "static/nav/label_my_gray@2x.png",
  189. "selectedIconPath": "static/nav/label_my_color@2x.png",
  190. "text": "我的"
  191. }]
  192. },
  193. "uniIdRouter": {}
  194. }