pages.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  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. "app-plus": {
  24. "animationType": "none"
  25. }
  26. }
  27. },
  28. //app 相关注册页面
  29. {
  30. "path": "pages/login-page/login/login",
  31. "style": {
  32. "navigationBarTitleText": "登录"
  33. }
  34. },
  35. {
  36. "path": "pages/login-page/reg/reg",
  37. "style": {
  38. "navigationBarTitleText": "注册"
  39. }
  40. },
  41. {
  42. "path": "pages/login-page/main/main",
  43. "style": {
  44. "navigationBarTitleText": "我的"
  45. }
  46. },
  47. {
  48. "path": "pages/login-page/pwd/pwd",
  49. "style": {
  50. "navigationBarTitleText": "找回密码"
  51. }
  52. },
  53. {
  54. "path": "pages/login-page/user/user",
  55. "style": {
  56. "navigationBarTitleText": "我的"
  57. }
  58. },
  59. // #endif
  60. {
  61. "path": "pages/personal-page/personal/personal",
  62. "style": {
  63. "navigationBarTitleText": "个人中心",
  64. "app-plus": {
  65. "bounce": "none"
  66. },
  67. "disableScroll": true
  68. }
  69. },
  70. {
  71. "path": "pages/game-page/game/game",
  72. "style": {
  73. "navigationBarTitleText": "游戏"
  74. }
  75. },
  76. {
  77. "path": "pages/my-page/homepage/homepage",
  78. "style": {
  79. "navigationBarTitleText": "我的"
  80. }
  81. },
  82. {
  83. "path": "pages/my-page/userInfo/userInfo",
  84. "style": {
  85. "navigationBarTitleText": "完善资料"
  86. }
  87. },
  88. {
  89. "path": "pages/personal-page/plan/plan",
  90. "style": {
  91. "navigationBarTitleText": "健身计划"
  92. }
  93. },
  94. {
  95. "path": "pages/personal-page/devices/devices",
  96. "style": {
  97. "navigationBarTitleText": "选中设备型号",
  98. "enablePullDownRefresh": true
  99. }
  100. },
  101. {
  102. "path": "pages/conversion-page/conversion/conversion",
  103. "style": {}
  104. },
  105. {
  106. "path": "pages/personal-page/list/list",
  107. "style": {}
  108. }, {
  109. "path": "pages/game-page/game-comment/game-comment",
  110. "style": {
  111. "navigationBarTitleText": "游戏评论"
  112. }
  113. }, {
  114. "path": "pages/game-page/game-search/game-search",
  115. "style": {
  116. "navigationBarTitleText": "搜索"
  117. }
  118. },
  119. {
  120. "path": "pages/game-page/game-detail/game-detail",
  121. "style": {
  122. "navigationBarTitleText": "游戏详情"
  123. }
  124. },
  125. // #ifdef H5
  126. {
  127. "path": "pages/game-page/game-play/game-play-web",
  128. "style": {}
  129. },
  130. // #endif
  131. // #ifdef APP-PLUS
  132. {
  133. "path": "pages/game-page/game-play-sub/game-play-sub",
  134. "style": {
  135. "app-plus": {
  136. "titleNView": false,
  137. "subNVues": [{
  138. "id": "game",
  139. "path": "pages/game-page/game-play-sub/subGame/subGame",
  140. "type": "popup",
  141. "style": {
  142. "width": "100%",
  143. "position": "absolute"
  144. }
  145. }]
  146. }
  147. }
  148. },
  149. // #endif
  150. {
  151. "path": "pages/personal-page/favorites/favorites",
  152. "style": {
  153. "navigationBarTitleText": "我的关注"
  154. }
  155. }, {
  156. "path": "pages/personal-page/more/more",
  157. "style": {
  158. "navigationBarTitleText": "我的设备"
  159. }
  160. }, {
  161. "path": "pages/game-page/game-ranking/game-ranking",
  162. "style": {}
  163. }, {
  164. "path": "pages/login-page/bindPhone/bindPhone",
  165. "style": {}
  166. }, {
  167. "path": "pages/my-page/perfectInfo/perfectInfo",
  168. "style": {}
  169. }
  170. , {
  171. "path": "pages/login-page/userAgreement/userAgreement",
  172. "style": {
  173. "navigationStyle": "default",
  174. "navigationBarTitleText": ""
  175. }
  176. }, {
  177. "path": "pages/personal-page/devices-category/devices-category",
  178. "style": {}
  179. }, {
  180. "path": "pages/personal-page/devices-hardware/devices-hardware",
  181. "style": {}
  182. }, {
  183. "path": "pages/fc-page/fc/fc",
  184. "style": {}
  185. }, {
  186. "path": "pages/fc-page/fc-list/fc-list",
  187. "style": {}
  188. }, {
  189. "path": "pages/personal-page/devices-update/devices-update",
  190. "style": {
  191. "navigationBarTitleText": "",
  192. "enablePullDownRefresh": false
  193. }
  194. }, {
  195. "path": "pages/info-page/app-info/app-info",
  196. "style": {
  197. "navigationBarTitleText": "",
  198. "enablePullDownRefresh": false
  199. }
  200. }, {
  201. "path": "pages/my-page/firstPlan/firstPlan",
  202. "style": {
  203. "navigationBarTitleText": "",
  204. "enablePullDownRefresh": false
  205. }
  206. }, {
  207. "path": "pages/login-page/feedback/feedback",
  208. "style": {
  209. "navigationBarTitleText": "",
  210. "enablePullDownRefresh": false
  211. }
  212. }, {
  213. "path": "pages/friend-page/search/search",
  214. "style": {
  215. "navigationBarTitleText": "",
  216. "enablePullDownRefresh": false
  217. }
  218. }, {
  219. "path": "pages/friend-page/main/main",
  220. "style": {
  221. "navigationBarTitleText": "",
  222. "enablePullDownRefresh": false
  223. }
  224. }, {
  225. "path": "pages/friend-page/select/select",
  226. "style": {
  227. "navigationBarTitleText": "",
  228. "enablePullDownRefresh": false
  229. }
  230. }, {
  231. "path": "pages/game-page/game-list/game-list",
  232. "style": {
  233. "navigationBarTitleText": "",
  234. "enablePullDownRefresh": false
  235. }
  236. }, {
  237. "path": "pages/game-page/game-video/game-video",
  238. "style": {
  239. "navigationBarTitleText": "",
  240. "enablePullDownRefresh": false
  241. }
  242. }, {
  243. "path": "pages/my-page/achievement/achievement",
  244. "style": {
  245. "navigationBarTitleText": "",
  246. "enablePullDownRefresh": false
  247. }
  248. },
  249. {
  250. "path": "components/modal-mask/modal-mask-nvue",
  251. "style": {
  252. "navigationStyle": "custom",
  253. "app-plus": {
  254. "animationType": "fade-in",
  255. "background": "transparent",
  256. "backgroundColor": "rgba(0,0,0,0)",
  257. "popGesture": "none"
  258. }
  259. }
  260. }, {
  261. "path": "pages/personal-page/directionOfDetection/directionOfDetection",
  262. "style": {
  263. "navigationBarTitleText": "",
  264. "enablePullDownRefresh": false
  265. }
  266. }
  267. ,{
  268. "path" : "pages/platform-page/settings/settings",
  269. "style" :
  270. {
  271. "navigationBarTitleText": "",
  272. "enablePullDownRefresh": false
  273. }
  274. }
  275. ,{
  276. "path" : "pages/platform-page/guide/guide",
  277. "style" :
  278. {
  279. "navigationBarTitleText": "",
  280. "enablePullDownRefresh": false
  281. }
  282. }
  283. ,{
  284. "path" : "pages/platform-page/guide/guide-bluetoothConnect",
  285. "style" :
  286. {
  287. "navigationBarTitleText": "",
  288. "enablePullDownRefresh": false
  289. }
  290. }
  291. ,{
  292. "path" : "pages/platform-page/guide/guide-ble-scroll",
  293. "style" :
  294. {
  295. "navigationBarTitleText": "",
  296. "enablePullDownRefresh": false
  297. }
  298. }
  299. ,{
  300. "path" : "pages/platform-page/guide/guide-level-scroll",
  301. "style" :
  302. {
  303. "navigationBarTitleText": "",
  304. "enablePullDownRefresh": false
  305. }
  306. }
  307. ],
  308. "subPackages": [{
  309. "root": "pages/personal-page",
  310. "pages": [
  311. // #ifdef APP-PLUS
  312. {
  313. "path": "personal/personal",
  314. "style": {
  315. // "navigationBarTitleText": "原生子窗体",
  316. "titleNView": false,
  317. "app-plus": {
  318. "subNVues": [{
  319. "id": "personal-drawer",
  320. "path": "../../platform/app-plus/subNVue/drawer",
  321. "type": "popup",
  322. "style": {
  323. "width": "89%"
  324. }
  325. }, {
  326. "id": "personal-popup",
  327. "path": "../../platform/app-plus/subNVue/reward-popup",
  328. "type": "popup",
  329. "style": {
  330. "margin": "auto",
  331. // "width": "100%",
  332. // "height": "100%",
  333. "background": "transparent"
  334. }
  335. }, {
  336. "id": "personal-guide",
  337. "path": "../../platform/app-plus/subNVue/guide",
  338. "type": "popup",
  339. "style": {
  340. "margin": "auto",
  341. // "width": "100%",
  342. // "height": "100%",
  343. "background": "transparent",
  344. "mask": "rgba(0,0,0,0)"
  345. }
  346. }]
  347. }
  348. }
  349. }
  350. // #endif
  351. ]
  352. }],
  353. "globalStyle": {
  354. "navigationBarTextStyle": "black",
  355. "navigationBarTitleText": "uni-app",
  356. "navigationBarBackgroundColor": "#FFFFFF",
  357. "backgroundColor": "#F8F8F8",
  358. "navigationStyle": "custom",
  359. "app-plus": {
  360. "bounce": "none"
  361. }
  362. },
  363. "condition": { //模式配置,仅开发期间生效
  364. "current": 0, //当前激活的模式(list 的索引项)
  365. "list": [{
  366. "name": "", //模式名称
  367. "path": "", //启动页面,必选
  368. "query": "" //启动参数,在页面的onLoad函数里面得到
  369. }]
  370. },
  371. "tabBar": {
  372. "color": "#AAABAD",
  373. "selectedColor": "#9797FF",
  374. "backgroundColor": "#FFFFFF",
  375. "borderStyle": "#eee",
  376. "height": "75px",
  377. "spacing": "6px",
  378. "list": [{
  379. "pagePath": "pages/personal-page/personal/personal",
  380. "text": "首页",
  381. "iconPath": "./static/common/navigationBar/nHome.png",
  382. "selectedIconPath": "static/common/navigationBar/nHomeB.png"
  383. },
  384. {
  385. "pagePath": "pages/personal-page/plan/plan",
  386. "text": "计划",
  387. "iconPath": "static/common/navigationBar/nPlan.png",
  388. "selectedIconPath": "static/common/navigationBar/nPlanB.png"
  389. }, {
  390. "pagePath": "pages/game-page/game-list/game-list",
  391. "text": "游戏",
  392. "iconPath": "static/common/navigationBar/nGame.png",
  393. "selectedIconPath": "static/common/navigationBar/nGameB.png"
  394. },
  395. {
  396. "pagePath": "pages/game-page/game-video/game-video",
  397. "text": "视频",
  398. "iconPath": "static/common/navigationBar/nVideo.png",
  399. "selectedIconPath": "static/common/navigationBar/nVideoB.png"
  400. },
  401. {
  402. "pagePath": "pages/my-page/homepage/homepage",
  403. "text": "我的",
  404. "iconPath": "static/common/navigationBar/nMy.png",
  405. "selectedIconPath": "static/common/navigationBar/nMyB.png"
  406. }
  407. ]
  408. }
  409. }