pages.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. // {
  4. // "path" : "pages/fc-page/fc/fc",
  5. // "style" : {}
  6. // },
  7. // {
  8. // "path" : "pages/fc-page/fc-list/fc-list",
  9. // "style" : {}
  10. // },
  11. // {
  12. // "path" : "pages/personal-page/devices-update/devices-update",
  13. // "style" :
  14. // {
  15. // "navigationBarTitleText": "",
  16. // "enablePullDownRefresh": false
  17. // }
  18. // },
  19. // #ifdef APP-PLUS || H5
  20. {
  21. "path": "pages/Loading-page/Loading/Loading",
  22. "style": {}
  23. },
  24. //app 相关注册页面
  25. {
  26. "path": "pages/login-page/login/login",
  27. "style": {
  28. "navigationBarTitleText": "登录"
  29. }
  30. },
  31. {
  32. "path": "pages/login-page/reg/reg",
  33. "style": {
  34. "navigationBarTitleText": "注册"
  35. }
  36. },
  37. {
  38. "path": "pages/login-page/main/main",
  39. "style": {
  40. "navigationBarTitleText": "我的"
  41. }
  42. },
  43. {
  44. "path": "pages/login-page/pwd/pwd",
  45. "style": {
  46. "navigationBarTitleText": "找回密码"
  47. }
  48. },
  49. {
  50. "path": "pages/login-page/user/user",
  51. "style": {
  52. "navigationBarTitleText": "我的"
  53. }
  54. },
  55. // #endif
  56. {
  57. "path": "pages/personal-page/personal/personal",
  58. "style": {
  59. "navigationBarTitleText": "个人中心",
  60. "app-plus": {
  61. "bounce": "none"
  62. },
  63. "disableScroll": true
  64. }
  65. },
  66. {
  67. "path": "pages/game-page/game/game",
  68. "style": {
  69. "navigationBarTitleText": "游戏"
  70. }
  71. },
  72. {
  73. "path": "pages/my-page/homepage/homepage",
  74. "style": {
  75. "navigationBarTitleText": "我的"
  76. }
  77. },
  78. {
  79. "path": "pages/my-page/userInfo/userInfo",
  80. "style": {
  81. "navigationBarTitleText": "完善资料"
  82. }
  83. },
  84. {
  85. "path": "pages/personal-page/plan/plan",
  86. "style": {
  87. "navigationBarTitleText": "健身计划"
  88. }
  89. },
  90. {
  91. "path": "pages/personal-page/devices/devices",
  92. "style": {
  93. "navigationBarTitleText": "选中设备型号",
  94. "enablePullDownRefresh": true
  95. }
  96. },
  97. {
  98. "path": "pages/conversion-page/conversion/conversion",
  99. "style": {}
  100. },
  101. {
  102. "path": "pages/personal-page/list/list",
  103. "style": {}
  104. }, {
  105. "path": "pages/game-page/game-comment/game-comment",
  106. "style": {
  107. "navigationBarTitleText": "游戏评论"
  108. }
  109. }, {
  110. "path": "pages/game-page/game-search/game-search",
  111. "style": {
  112. "navigationBarTitleText": "搜索"
  113. }
  114. },
  115. {
  116. "path": "pages/game-page/game-detail/game-detail",
  117. "style": {
  118. "navigationBarTitleText": "游戏详情"
  119. }
  120. },
  121. // #ifdef H5
  122. {
  123. "path": "pages/game-page/game-play/game-play-web",
  124. "style": {}
  125. },
  126. // #endif
  127. // #ifdef APP-PLUS
  128. {
  129. "path": "pages/game-page/game-play-sub/game-play-sub",
  130. "style": {
  131. "app-plus": {
  132. "titleNView": false,
  133. "subNVues": [{
  134. "id": "game",
  135. "path": "pages/game-page/game-play-sub/subGame/subGame",
  136. "type": "popup",
  137. "style": {
  138. "width": "100%",
  139. "position":"absolute"
  140. }
  141. }]
  142. }
  143. }
  144. },
  145. // #endif
  146. {
  147. "path": "pages/personal-page/favorites/favorites",
  148. "style": {
  149. "navigationBarTitleText": "我的关注"
  150. }
  151. }, {
  152. "path": "pages/personal-page/more/more",
  153. "style": {
  154. "navigationBarTitleText": "我的设备"
  155. }
  156. }, {
  157. "path": "pages/game-page/game-ranking/game-ranking",
  158. "style": {}
  159. }, {
  160. "path": "pages/login-page/bindPhone/bindPhone",
  161. "style": {}
  162. }, {
  163. "path": "pages/my-page/perfectInfo/perfectInfo",
  164. "style": {}
  165. }
  166. ,{
  167. "path" : "pages/login-page/userAgreement/userAgreement",
  168. "style" : {}
  169. }
  170. ,{
  171. "path" : "pages/personal-page/devices-category/devices-category",
  172. "style" : {}
  173. }
  174. ,{
  175. "path" : "pages/personal-page/devices-hardware/devices-hardware",
  176. "style" : {}
  177. }
  178. ,{
  179. "path" : "pages/fc-page/fc/fc",
  180. "style" : {}
  181. }
  182. ,{
  183. "path" : "pages/fc-page/fc-list/fc-list",
  184. "style" : {}
  185. }
  186. ,{
  187. "path" : "pages/personal-page/devices-update/devices-update",
  188. "style" :
  189. {
  190. "navigationBarTitleText": "",
  191. "enablePullDownRefresh": false
  192. }
  193. }
  194. ,{
  195. "path" : "pages/info-page/app-info/app-info",
  196. "style" :
  197. {
  198. "navigationBarTitleText": "",
  199. "enablePullDownRefresh": false
  200. }
  201. }
  202. ,{
  203. "path" : "pages/my-page/firstPlan/firstPlan",
  204. "style" :
  205. {
  206. "navigationBarTitleText": "",
  207. "enablePullDownRefresh": false
  208. }
  209. }
  210. ,{
  211. "path" : "pages/login-page/feedback/feedback",
  212. "style" :
  213. {
  214. "navigationBarTitleText": "",
  215. "enablePullDownRefresh": false
  216. }
  217. }
  218. ],
  219. "globalStyle": {
  220. "navigationBarTextStyle": "black",
  221. "navigationBarTitleText": "uni-app",
  222. "navigationBarBackgroundColor": "#FFFFFF",
  223. "backgroundColor": "#F8F8F8",
  224. "navigationStyle": "custom"
  225. },
  226. "condition": { //模式配置,仅开发期间生效
  227. "current": 0, //当前激活的模式(list 的索引项)
  228. "list": [{
  229. "name": "", //模式名称
  230. "path": "", //启动页面,必选
  231. "query": "" //启动参数,在页面的onLoad函数里面得到
  232. }]
  233. }
  234. }