pages.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. {
  2. "pages": [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. "path": "pages/index/index",
  6. "style": {
  7. "navigationBarTitleText": "慕尼黑上海电子生产设备展"
  8. }
  9. },
  10. {
  11. "path": "pages/news/index",
  12. "style": {
  13. "navigationBarTitleText": "新闻"
  14. }
  15. },
  16. // 活动模块
  17. {
  18. "path": "pages/activity/index",
  19. "style": {
  20. "navigationBarTitleText": "同期活动"
  21. }
  22. },
  23. {
  24. "path": "pages/activity/detail",
  25. "style": {
  26. "navigationBarTitleText": "同期详情"
  27. }
  28. },
  29. {
  30. "path": "pages/activity/guest",
  31. "style": {
  32. "navigationBarTitleText": "演讲嘉宾"
  33. }
  34. },
  35. // 展商模块
  36. {
  37. "path": "pages/exhibitor/index"
  38. },
  39. {
  40. "path": "pages/exhibitor/exhibit",
  41. "style": {
  42. "navigationBarTitleText": "展品信息"
  43. }
  44. },
  45. {
  46. "path": "pages/exhibitor/exhibit-detail",
  47. "style": {
  48. "navigationBarTitleText": "展品详情"
  49. }
  50. },
  51. {
  52. "path": "pages/exhibitor/detail",
  53. "style": {
  54. "navigationBarTitleText": "展商详情"
  55. }
  56. },
  57. {
  58. "path": "pages/exhibitor/exhibitor-activity",
  59. "style": {
  60. "navigationBarTitleText": "展商活动详情"
  61. }
  62. },
  63. {
  64. "path": "pages/exhibitor/exhibitor-news",
  65. "style": {
  66. "navigationBarTitleText": "展商新闻详情"
  67. }
  68. },
  69. // 用户模块
  70. {
  71. "path": "pages/user/index",
  72. "style": {
  73. "navigationBarTitleText": "个人中心"
  74. }
  75. },
  76. {
  77. "path": "pages/user/login",
  78. "style": {
  79. "navigationBarTitleText": "登录"
  80. }
  81. },
  82. {
  83. "path": "pages/user/setting",
  84. "style": {
  85. "navigationBarTitleText": "设置"
  86. }
  87. },
  88. {
  89. "path": "pages/user/info",
  90. "style": {
  91. "navigationBarTitleText": "个人信息"
  92. }
  93. },
  94. {
  95. "path": "pages/user/info-edit",
  96. "style": {
  97. "navigationBarTitleText": "修改个人信息"
  98. }
  99. },
  100. {
  101. "path": "pages/user/like",
  102. "style": {
  103. "navigationBarTitleText": "我的点赞"
  104. }
  105. },
  106. {
  107. "path": "pages/user/favorites",
  108. "style": {
  109. "navigationBarTitleText": "我的收藏"
  110. }
  111. },
  112. {
  113. "path": "pages/user/vote",
  114. "style": {
  115. "navigationBarTitleText": "我的投票"
  116. }
  117. },
  118. //APP协议模块
  119. {
  120. "path": "pages/disclaimer/index",
  121. "style": {
  122. "navigationBarTitleText": "免责声明"
  123. }
  124. },
  125. {
  126. "path": "pages/disclaimer/privacy",
  127. "style": {
  128. "navigationBarTitleText": "隐私政策"
  129. }
  130. },
  131. {
  132. "path": "pages/disclaimer/legalNotice",
  133. "style": {
  134. "navigationBarTitleText": "法律信息"
  135. }
  136. },
  137. // 组件页面
  138. {
  139. "path": "pages/index/search",
  140. "style": {
  141. "navigationBarTitleText": "搜索"
  142. }
  143. },
  144. // WEBVIEW
  145. {
  146. "path": "pages/index/webview",
  147. "style": {
  148. "navigationStyle": "default",
  149. "navigationBarTitleText": "加载中...",
  150. "navigationBarBackgroundColor": "#332968"
  151. }
  152. },
  153. // 观众指南
  154. {
  155. "path": "pages/files/index",
  156. "style": {
  157. "navigationBarTitleText": "观众指南"
  158. }
  159. },
  160. {
  161. "path": "pages/checkIn/checkInRoute",
  162. "style": {
  163. "navigationBarTitleText": ""
  164. }
  165. },
  166. {
  167. "path": "pages/checkIn/index",
  168. "style": {
  169. "navigationBarTitleText": ""
  170. }
  171. }
  172. ],
  173. "globalStyle": {
  174. "navigationStyle": "custom",
  175. "navigationBarTextStyle": "white",
  176. "navigationBarTitleText": "慕尼黑上海电子生产设备展",
  177. "navigationBarBackgroundColor": "#F8F8F8",
  178. "backgroundColor": "#F8F8F8",
  179. "usingComponents": {
  180. "van-icon": "/wxcomponents/vant/icon/index",
  181. "van-empty": "/wxcomponents/vant/empty/index",
  182. "van-button": "/wxcomponents/vant/button/index",
  183. "van-dialog": "/wxcomponents/vant/dialog/index"
  184. }
  185. },
  186. "uniIdRouter": {},
  187. "condition": {
  188. //模式配置,仅开发期间生效
  189. "current": 0,
  190. //当前激活的模式(list 的索引项)
  191. "list": [
  192. {
  193. "name": "单页面",
  194. //模式名称
  195. "path": "pages/checkIn/checkInRoute",
  196. //启动页面,必选
  197. "query": "tab=exhibitor"
  198. //启动参数,在页面的onLoad函数里面得到
  199. }
  200. ]
  201. }
  202. }