pages.json 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  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. "path": "pages/personal-page/devices-category/devices-category",
  171. "style": {}
  172. }, {
  173. "path": "pages/personal-page/devices-hardware/devices-hardware",
  174. "style": {}
  175. }, {
  176. "path": "pages/fc-page/fc/fc",
  177. "style": {}
  178. }, {
  179. "path": "pages/fc-page/fc-list/fc-list",
  180. "style": {}
  181. }, {
  182. "path": "pages/personal-page/devices-update/devices-update",
  183. "style": {
  184. "navigationBarTitleText": "",
  185. "enablePullDownRefresh": false
  186. }
  187. }, {
  188. "path": "pages/info-page/app-info/app-info",
  189. "style": {
  190. "navigationBarTitleText": "",
  191. "enablePullDownRefresh": false
  192. }
  193. }, {
  194. "path": "pages/my-page/firstPlan/firstPlan",
  195. "style": {
  196. "navigationBarTitleText": "",
  197. "enablePullDownRefresh": false
  198. }
  199. }, {
  200. "path": "pages/login-page/feedback/feedback",
  201. "style": {
  202. "navigationBarTitleText": "",
  203. "enablePullDownRefresh": false
  204. }
  205. }, {
  206. "path": "pages/friend-page/search/search",
  207. "style": {
  208. "navigationBarTitleText": "",
  209. "enablePullDownRefresh": false
  210. }
  211. }, {
  212. "path": "pages/friend-page/main/main",
  213. "style": {
  214. "navigationBarTitleText": "",
  215. "enablePullDownRefresh": false
  216. }
  217. }, {
  218. "path": "pages/friend-page/select/select",
  219. "style": {
  220. "navigationBarTitleText": "",
  221. "enablePullDownRefresh": false
  222. }
  223. }, {
  224. "path": "pages/game-page/game-list/game-list",
  225. "style": {
  226. "navigationBarTitleText": "",
  227. "enablePullDownRefresh": false
  228. }
  229. }, {
  230. "path": "pages/game-page/game-video/game-video",
  231. "style": {
  232. "navigationBarTitleText": "",
  233. "enablePullDownRefresh": false
  234. }
  235. }, {
  236. "path": "pages/my-page/achievement/achievement",
  237. "style": {
  238. "navigationBarTitleText": "",
  239. "enablePullDownRefresh": false
  240. }
  241. },
  242. {
  243. "path": "components/modal-mask/modal-mask-nvue",
  244. "style": {
  245. "navigationStyle": "custom",
  246. "app-plus": {
  247. "animationType": "fade-in",
  248. "background": "transparent",
  249. "backgroundColor": "rgba(0,0,0,0)",
  250. "popGesture": "none"
  251. }
  252. }
  253. }
  254. ],
  255. "subPackages": [{
  256. "root": "pages/personal-page",
  257. "pages": [
  258. // #ifdef APP-PLUS
  259. {
  260. "path": "personal/personal",
  261. "style": {
  262. // "navigationBarTitleText": "原生子窗体",
  263. "titleNView": false,
  264. "app-plus": {
  265. "subNVues": [{
  266. "id": "personal-drawer",
  267. "path": "../../platform/app-plus/subNVue/drawer",
  268. "type": "popup",
  269. "style": {
  270. "width": "89%"
  271. }
  272. }, {
  273. "id": "personal-popup",
  274. "path": "../../platform/app-plus/subNVue/popup",
  275. "type": "popup",
  276. "style": {
  277. "margin": "auto",
  278. "width": "80%",
  279. "height": "600rpx"
  280. }
  281. }]
  282. }
  283. }
  284. }
  285. // #endif
  286. ]
  287. }, {
  288. "root": "pages/game-page",
  289. "pages": [
  290. // #ifdef APP-PLUS
  291. {
  292. "path": "game-list/game-list",
  293. "style": {
  294. // "navigationBarTitleText": "原生子窗体",
  295. "titleNView": false,
  296. "app-plus": {
  297. "subNVues": [{
  298. "id": "game-list-drawer",
  299. "path": "../../platform/app-plus/subNVue/drawer",
  300. "type": "popup",
  301. "style": {
  302. "width": "89%"
  303. }
  304. }]
  305. }
  306. }
  307. },
  308. {
  309. "path": "game-video/game-video",
  310. "style": {
  311. // "navigationBarTitleText": "原生子窗体",
  312. "titleNView": false,
  313. "app-plus": {
  314. "subNVues": [{
  315. "id": "game-video-drawer",
  316. "path": "../../platform/app-plus/subNVue/drawer",
  317. "type": "popup",
  318. "style": {
  319. "width": "89%"
  320. }
  321. }]
  322. }
  323. }
  324. }
  325. // #endif
  326. ]
  327. }],
  328. "globalStyle": {
  329. "navigationBarTextStyle": "black",
  330. "navigationBarTitleText": "uni-app",
  331. "navigationBarBackgroundColor": "#FFFFFF",
  332. "backgroundColor": "#F8F8F8",
  333. "navigationStyle": "custom"
  334. },
  335. "condition": { //模式配置,仅开发期间生效
  336. "current": 0, //当前激活的模式(list 的索引项)
  337. "list": [{
  338. "name": "", //模式名称
  339. "path": "", //启动页面,必选
  340. "query": "" //启动参数,在页面的onLoad函数里面得到
  341. }]
  342. },
  343. "tabBar": {
  344. "color": "#AAABAD",
  345. "selectedColor": "#9797FF",
  346. "backgroundColor": "#FFFFFF",
  347. "borderStyle": "#eee",
  348. "height": "75px",
  349. "spacing": "6px",
  350. "list": [{
  351. "pagePath": "pages/personal-page/personal/personal",
  352. "text": "首页",
  353. "iconPath": "./static/common/navigationBar/nHome.png",
  354. "selectedIconPath": "static/common/navigationBar/nHomeB.png"
  355. },
  356. {
  357. "pagePath": "pages/personal-page/plan/plan",
  358. "text": "计划",
  359. "iconPath": "static/common/navigationBar/nPlan.png",
  360. "selectedIconPath": "static/common/navigationBar/nPlanB.png"
  361. }, {
  362. "pagePath": "pages/game-page/game-list/game-list",
  363. "text": "游戏",
  364. "iconPath": "static/common/navigationBar/nGame.png",
  365. "selectedIconPath": "static/common/navigationBar/nGameB.png"
  366. },
  367. {
  368. "pagePath": "pages/game-page/game-video/game-video",
  369. "text": "视频",
  370. "iconPath": "static/common/navigationBar/nVideo.png",
  371. "selectedIconPath": "static/common/navigationBar/nVideoB.png"
  372. },
  373. {
  374. "pagePath": "pages/my-page/homepage/homepage",
  375. "text": "我的",
  376. "iconPath": "static/common/navigationBar/nMy.png",
  377. "selectedIconPath": "static/common/navigationBar/nMyB.png"
  378. }
  379. ]
  380. }
  381. }