pages.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. // "navigationBarTitleText": "首页",
  7. "enablePullDownRefresh": true,
  8. "navigationStyle": "custom" // 隐藏系统导航栏
  9. }
  10. },
  11. {
  12. "path": "pages/index/active-list/index",
  13. "style": {
  14. "navigationBarTitleText": "活动列表",
  15. "enablePullDownRefresh": false
  16. }
  17. },
  18. {
  19. "path": "pages/index/active-detail/index",
  20. "style": {
  21. // "navigationBarTitleText": "IHG最受欢迎酒店",
  22. "enablePullDownRefresh": false,
  23. "navigationStyle": "custom" // 隐藏系统导航栏
  24. }
  25. },
  26. {
  27. "path": "pages/index/vote-detail/index",
  28. "style": {
  29. "navigationBarTitleText": "投票详情",
  30. "enablePullDownRefresh": false
  31. }
  32. },
  33. {
  34. "path": "pages/goods/goods",
  35. "style": {
  36. "navigationBarTitleText": "产品活动列表",
  37. "enablePullDownRefresh": false
  38. }
  39. },
  40. {
  41. "path": "pages/goods/goods-detail/index",
  42. "style": {
  43. "navigationBarTitleText": "产品详情",
  44. "enablePullDownRefresh": false
  45. }
  46. },
  47. {
  48. "path": "pages/goods/goods-hotel/index",
  49. "style": {
  50. "navigationBarTitleText": "酒店列表",
  51. "enablePullDownRefresh": false
  52. }
  53. },
  54. {
  55. "path": "pages/goods/goods-lucky/index",
  56. "style": {
  57. "navigationBarTitleText": "大转盘抽奖活动专区",
  58. "enablePullDownRefresh": false
  59. }
  60. },
  61. {
  62. "path": "pages/map/map",
  63. "style": {
  64. // "navigationBarTitleText": "IHG地图",
  65. "enablePullDownRefresh": false,
  66. "navigationStyle": "custom" // 隐藏系统导航栏
  67. }
  68. },
  69. {
  70. "path": "pages/map/hotel-book/index",
  71. "style": {
  72. // "navigationBarTitleText": "IHG | 洲际酒店集团中国西区",
  73. "enablePullDownRefresh": false,
  74. "navigationStyle": "custom" // 隐藏系统导航栏
  75. }
  76. },
  77. {
  78. "path": "pages/msg/msg",
  79. "style": {
  80. // "navigationBarTitleText": "消息",
  81. "enablePullDownRefresh": false,
  82. "navigationStyle": "custom" // 隐藏系统导航栏
  83. }
  84. },
  85. {
  86. "path": "pages/my/my",
  87. "style": {
  88. // "navigationBarTitleText": "我的",
  89. "enablePullDownRefresh": false,
  90. "navigationStyle": "custom" // 隐藏系统导航栏
  91. }
  92. },
  93. {
  94. "path": "pages/webview/webview",
  95. "style": {
  96. "navigationBarTitleText": "webview",
  97. "enablePullDownRefresh": false
  98. }
  99. },
  100. {
  101. "path": "pages/login/login",
  102. "style": {
  103. "navigationBarTitleText": "登录账号",
  104. "enablePullDownRefresh": false
  105. }
  106. },
  107. {
  108. "path": "pages/login/youyue",
  109. "style": {
  110. "navigationBarTitleText": "登录账号",
  111. "enablePullDownRefresh": false
  112. }
  113. },
  114. {
  115. "path": "pages/my/PersonalData/personalData",
  116. "style": {
  117. "navigationBarTitleText": "个人信息",
  118. "enablePullDownRefresh": false
  119. }
  120. },
  121. {
  122. "path": "pages/my/setting/setting",
  123. "style": {
  124. "navigationBarTitleText": "系统设置",
  125. "enablePullDownRefresh": false
  126. }
  127. },
  128. {
  129. "path": "pages/my/myorders/orders",
  130. "style": {
  131. "navigationBarTitleText": "我的订单",
  132. "enablePullDownRefresh": false
  133. }
  134. },
  135. {
  136. "path": "pages/my/myorders/orderDetail",
  137. "style": {
  138. "navigationBarTitleText": "订单详情",
  139. "enablePullDownRefresh": false
  140. }
  141. },
  142. {
  143. "path": "pages/my/protocol/PrivacyPolicy",
  144. "style": {
  145. "navigationBarTitleText": "隐私协议",
  146. "enablePullDownRefresh": false
  147. }
  148. },
  149. {
  150. "path": "pages/my/protocol/UserAgreement",
  151. "style": {
  152. "navigationBarTitleText": "用户协议",
  153. "enablePullDownRefresh": false
  154. }
  155. },
  156. {
  157. "path": "pages/my/verification/verification",
  158. "style": {
  159. "navigationBarTitleText": "核销中心",
  160. "enablePullDownRefresh": false
  161. }
  162. },
  163. {
  164. "path": "pages/my/verification/orderVerification",
  165. "style": {
  166. "navigationBarTitleText": "订单核销",
  167. "enablePullDownRefresh": false
  168. }
  169. },
  170. {
  171. "path": "pages/my/verification/verificationDetail",
  172. "style": {
  173. "navigationBarTitleText": "核销详情",
  174. "enablePullDownRefresh": false
  175. }
  176. },
  177. {
  178. "path": "pages/my/integral/integral",
  179. "style": {
  180. "navigationBarTitleText": "积分",
  181. "enablePullDownRefresh": false
  182. }
  183. },
  184. {
  185. "path": "pages/my/integral/integralRule",
  186. "style": {
  187. "navigationBarTitleText": "积分规则",
  188. "enablePullDownRefresh": false
  189. }
  190. },
  191. {
  192. "path": "pages/my/integral/integralRecord",
  193. "style": {
  194. "navigationBarTitleText": "积分记录",
  195. "enablePullDownRefresh": false
  196. }
  197. },
  198. {
  199. "path": "pages/my/integral/integralOrder",
  200. "style": {
  201. "navigationBarTitleText": "积分兑换",
  202. "enablePullDownRefresh": false
  203. }
  204. },
  205. {
  206. "path": "pages/my/integral/integralExchange",
  207. "style": {
  208. "navigationBarTitleText": "兑换详情",
  209. "enablePullDownRefresh": false
  210. }
  211. },
  212. {
  213. "path": "pages/my/prize/prize",
  214. "style": {
  215. "navigationBarTitleText": "奖品",
  216. "enablePullDownRefresh": false
  217. }
  218. },
  219. {
  220. "path": "pages/my/prize/exchangePrize",
  221. "style": {
  222. "navigationBarTitleText": "奖品兑换",
  223. "enablePullDownRefresh": false
  224. }
  225. },
  226. {
  227. "path": "pages/my/prize/exchangeDetail",
  228. "style": {
  229. "navigationBarTitleText": "兑换详情",
  230. "enablePullDownRefresh": false
  231. }
  232. },
  233. {
  234. "path": "pages/my/Kudos/Kudos",
  235. "style": {
  236. "navigationBarTitleText": "点赞",
  237. "enablePullDownRefresh": false
  238. }
  239. }
  240. ],
  241. "globalStyle": {
  242. "navigationBarTextStyle": "black", // black or white
  243. "navigationBarTitleText": "",
  244. "navigationBarBackgroundColor": "#FFF",
  245. "navigationStyle": "default"
  246. },
  247. "easycom": {
  248. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue",
  249. "layout": "@/layout/index.vue"
  250. },
  251. "tabBar": {
  252. "color": "#CBC8C7",
  253. "selectedColor": "#FF6200",
  254. "backgroundColor": "#fff",
  255. "borderStyle": "black",
  256. "list": [{
  257. "pagePath": "pages/index/index",
  258. "iconPath": "static/icon/home02.png",
  259. "selectedIconPath": "static/icon/home01.png",
  260. "text": "首页"
  261. },
  262. {
  263. "pagePath": "pages/map/map",
  264. "iconPath": "static/icon/map02.png",
  265. "selectedIconPath": "static/icon/map01.png",
  266. "text": "IHG地图"
  267. },
  268. {
  269. "pagePath": "pages/msg/msg",
  270. "iconPath": "static/icon/msg02.png",
  271. "selectedIconPath": "static/icon/msg01.png",
  272. "text": "消息"
  273. },
  274. {
  275. "pagePath": "pages/my/my",
  276. "iconPath": "static/icon/my02.png",
  277. "selectedIconPath": "static/icon/my01.png",
  278. "text": "我的"
  279. }
  280. ]
  281. },
  282. "condition": { //模式配置,仅开发期间生效
  283. "current": 0, //当前激活的模式(list 的索引项)
  284. "list": [{
  285. "name": "", //模式名称
  286. "path": "", //启动页面,必选
  287. "query": "" //启动参数,在页面的onLoad函数里面得到
  288. }]
  289. }
  290. }