pages.json 10 KB

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