pages.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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/user/my",
  17. "style": {
  18. "navigationBarTitleText": "我的",
  19. "navigationStyle": "custom"
  20. }
  21. },
  22. {
  23. "path": "pages/travel/index",
  24. "style": {
  25. "navigationBarTitleText": "旅游景区",
  26. "enablePullDownRefresh": true,
  27. "backgroundTextStyle": "dark"
  28. }
  29. },
  30. {
  31. "path": "pages/travel/detail",
  32. "style": {
  33. "navigationBarTitleText": "内容详情",
  34. "enablePullDownRefresh": false
  35. }
  36. },
  37. {
  38. "path": "pages/shop/list",
  39. "style": {
  40. "navigationBarTitleText": "我的店铺",
  41. "enablePullDownRefresh": true,
  42. "backgroundTextStyle": "dark"
  43. }
  44. },
  45. {
  46. "path": "pages/shop/manage",
  47. "style": {
  48. "navigationBarTitleText": "店铺管理",
  49. "enablePullDownRefresh": true,
  50. "backgroundTextStyle": "dark"
  51. }
  52. },
  53. {
  54. "path": "pages/shop/detail",
  55. "style": {
  56. "navigationBarTitleText": "酒店详情",
  57. "enablePullDownRefresh": false
  58. }
  59. },
  60. {
  61. "path": "pages/other/feedback",
  62. "style": {
  63. "navigationBarTitleText": "投诉建议",
  64. "enablePullDownRefresh": false
  65. }
  66. },
  67. {
  68. "path": "pages/shop/apply",
  69. "style": {
  70. "navigationBarTitleText": "店铺开通申请",
  71. "enablePullDownRefresh": false
  72. }
  73. },
  74. {
  75. "path": "pages/index/index",
  76. "style": {
  77. "navigationBarTitleText": "旧版首页"
  78. }
  79. },
  80. {
  81. "path": "pages/travel/route",
  82. "style": {
  83. "navigationBarTitleText": "路线",
  84. "enablePullDownRefresh": false
  85. }
  86. },
  87. {
  88. "path": "pages/other/about",
  89. "style": {
  90. "navigationBarTitleText": "关于我们"
  91. }
  92. },
  93. {
  94. "path": "pages/government/index",
  95. "style": {
  96. "navigationBarTitleText": "党政服务",
  97. "enablePullDownRefresh": true,
  98. "backgroundTextStyle": "dark"
  99. }
  100. },
  101. {
  102. "path": "pages/user/login",
  103. "style": {
  104. "navigationBarTitleText": "授权登陆"
  105. }
  106. },
  107. {
  108. "path": "pages/shop/up",
  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/activity",
  122. "style": {
  123. "navigationBarTitleText": "热门活动",
  124. "enablePullDownRefresh": true,
  125. "backgroundTextStyle": "dark"
  126. }
  127. }, {
  128. "path": "pages/travel/introduction",
  129. "style": {
  130. "navigationBarTitleText": "旅游攻略",
  131. "enablePullDownRefresh": true,
  132. "backgroundTextStyle": "dark"
  133. }
  134. }
  135. , {
  136. "path": "pages/shop/hotel/index",
  137. "style": {
  138. "navigationBarTitleText": "酒店预订",
  139. "enablePullDownRefresh": true,
  140. "backgroundTextStyle": "dark"
  141. }
  142. }, {
  143. "path": "pages/shop/hotel/room",
  144. "style": {
  145. "navigationBarTitleText": "房间管理",
  146. "enablePullDownRefresh": false
  147. }
  148. }, {
  149. "path": "pages/order/my",
  150. "style": {
  151. "navigationBarTitleText": "我的预订",
  152. "enablePullDownRefresh": true,
  153. "backgroundTextStyle": "dark"
  154. }
  155. }, {
  156. "path": "pages/order/sale",
  157. "style": {
  158. "navigationBarTitleText": "我的店铺订单",
  159. "enablePullDownRefresh": true,
  160. "backgroundTextStyle": "dark"
  161. }
  162. }
  163. ],
  164. "tabBar": {
  165. "color": "#7A7E83",
  166. "selectedColor": "#48a5ff",
  167. "borderStyle": "black",
  168. "backgroundColor": "#F8F8F8",
  169. "list": [{
  170. "pagePath": "pages/index/index2",
  171. "iconPath": "static/tab/a1.png",
  172. "selectedIconPath": "static/tab/a1s.png",
  173. "text": "首页"
  174. },
  175. {
  176. "pagePath": "pages/travel/index",
  177. "iconPath": "static/tab/a2.png",
  178. "selectedIconPath": "static/tab/a2s.png",
  179. "text": "景区"
  180. },
  181. {
  182. "pagePath": "pages/shop/hotel/index",
  183. "iconPath": "static/tab/a3.png",
  184. "selectedIconPath": "static/tab/a3s.png",
  185. "text": "酒店预订"
  186. },
  187. {
  188. "pagePath": "pages/user/my",
  189. "iconPath": "static/tab/a4.png",
  190. "selectedIconPath": "static/tab/a4s.png",
  191. "text": "我的"
  192. }
  193. ]
  194. },
  195. "globalStyle": {
  196. "navigationBarTextStyle": "black",
  197. "navigationBarTitleText": "",
  198. "navigationBarBackgroundColor": "#fff",
  199. "backgroundColor": "#F8F8F8",
  200. "pageOrientation": "portrait"
  201. }
  202. }