pages.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/index/index2",
  8. "style": {
  9. "navigationBarTitleText": "",
  10. "enablePullDownRefresh": true,
  11. "backgroundTextStyle": "dark",
  12. "navigationStyle": "custom"
  13. }
  14. },
  15. {
  16. "path": "pages/travel/index",
  17. "style": {
  18. "navigationBarTitleText": "景区",
  19. "enablePullDownRefresh": true,
  20. "backgroundTextStyle": "dark"
  21. }
  22. },
  23. {
  24. "path": "pages/user/my",
  25. "style": {
  26. "navigationBarTitleText": "我的",
  27. "navigationStyle": "custom"
  28. }
  29. },
  30. {
  31. "path": "pages/shop/list",
  32. "style": {
  33. "navigationBarTitleText": "我的店铺",
  34. "enablePullDownRefresh": true,
  35. "backgroundTextStyle": "dark"
  36. }
  37. },
  38. {
  39. "path": "pages/shop/manage",
  40. "style": {
  41. "navigationBarTitleText": "店铺管理",
  42. "enablePullDownRefresh": true,
  43. "backgroundTextStyle": "dark"
  44. }
  45. },
  46. {
  47. "path": "pages/shop/detail",
  48. "style": {
  49. "navigationBarTitleText": "详情",
  50. "enablePullDownRefresh": false
  51. }
  52. },
  53. {
  54. "path": "pages/other/feedback",
  55. "style": {
  56. "navigationBarTitleText": "投诉建议",
  57. "enablePullDownRefresh": false
  58. }
  59. },
  60. {
  61. "path": "pages/shop/apply",
  62. "style": {
  63. "navigationBarTitleText": "店铺开通申请",
  64. "enablePullDownRefresh": false
  65. }
  66. },
  67. {
  68. "path": "pages/index/index",
  69. "style": {
  70. "navigationBarTitleText": "旧版首页"
  71. }
  72. },
  73. {
  74. "path": "pages/travel/route",
  75. "style": {
  76. "navigationBarTitleText": "路线",
  77. "enablePullDownRefresh": false
  78. }
  79. },
  80. {
  81. "path": "pages/other/about",
  82. "style": {
  83. "navigationBarTitleText": "关于我们"
  84. }
  85. },
  86. {
  87. "path": "pages/government/index",
  88. "style": {
  89. "navigationBarTitleText": "党政服务",
  90. "enablePullDownRefresh": true,
  91. "backgroundTextStyle": "dark"
  92. }
  93. },
  94. {
  95. "path": "pages/user/login",
  96. "style": {
  97. "navigationBarTitleText": "授权登陆"
  98. }
  99. },
  100. {
  101. "path": "pages/shop/up",
  102. "style": {
  103. "navigationBarTitleText": "数据上报",
  104. "enablePullDownRefresh": false
  105. }
  106. },
  107. {
  108. "path": "pages/travel/detail",
  109. "style": {
  110. "navigationBarTitleText": "内容详情",
  111. "enablePullDownRefresh": false
  112. }
  113. },
  114. {
  115. "path": "pages/user/info",
  116. "style": {
  117. "navigationBarTitleText": "账户设置"
  118. }
  119. },
  120. {
  121. "path": "pages/government/detail",
  122. "style": {
  123. "navigationBarTitleText": "内容详情",
  124. "enablePullDownRefresh": false
  125. }
  126. }, {
  127. "path": "pages/government/activity",
  128. "style": {
  129. "navigationBarTitleText": "热门活动",
  130. "enablePullDownRefresh": true,
  131. "backgroundTextStyle": "dark"
  132. }
  133. }, {
  134. "path": "pages/travel/introduction",
  135. "style": {
  136. "navigationBarTitleText": "旅游攻略",
  137. "enablePullDownRefresh": true,
  138. "backgroundTextStyle": "dark"
  139. }
  140. }
  141. , {
  142. "path": "pages/shop/hotel/index",
  143. "style": {
  144. "navigationBarTitleText": "酒店预订",
  145. "enablePullDownRefresh": true,
  146. "backgroundTextStyle": "dark"
  147. }
  148. }, {
  149. "path": "pages/shop/hotel/room",
  150. "style": {
  151. "navigationBarTitleText": "房间管理",
  152. "enablePullDownRefresh": false
  153. }
  154. }, {
  155. "path": "pages/order/my",
  156. "style": {
  157. "navigationBarTitleText": "我的预订",
  158. "enablePullDownRefresh": true,
  159. "backgroundTextStyle": "dark"
  160. }
  161. }, {
  162. "path": "pages/order/sale",
  163. "style": {
  164. "navigationBarTitleText": "我的店铺订单",
  165. "enablePullDownRefresh": true,
  166. "backgroundTextStyle": "dark"
  167. }
  168. }
  169. ],
  170. "tabBar": {
  171. "color": "#7A7E83",
  172. "selectedColor": "#c74547",
  173. "borderStyle": "black",
  174. "backgroundColor": "#F8F8F8",
  175. "list": [{
  176. "pagePath": "pages/index/index2",
  177. "iconPath": "static/tab/a1.png",
  178. "selectedIconPath": "static/tab/a1s.png",
  179. "text": "首页"
  180. },
  181. {
  182. "pagePath": "pages/travel/index",
  183. "iconPath": "static/tab/a2.png",
  184. "selectedIconPath": "static/tab/a2s.png",
  185. "text": "景区"
  186. },
  187. {
  188. "pagePath": "pages/shop/hotel/index",
  189. "iconPath": "static/tab/a3.png",
  190. "selectedIconPath": "static/tab/a3s.png",
  191. "text": "酒店预订"
  192. },
  193. {
  194. "pagePath": "pages/user/my",
  195. "iconPath": "static/tab/a4.png",
  196. "selectedIconPath": "static/tab/a4s.png",
  197. "text": "我的"
  198. }
  199. ]
  200. },
  201. "globalStyle": {
  202. "navigationBarTextStyle": "white",
  203. "navigationBarTitleText": "",
  204. "navigationBarBackgroundColor": "#c74547",
  205. "backgroundColor": "#F8F8F8",
  206. "pageOrientation": "portrait"
  207. }
  208. }