pages.json 6.8 KB

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