pages.json 10 KB

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