pages.json 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  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. "subPackages": [{
  266. "root": "pages/personal-page",
  267. "pages": [
  268. // #ifdef APP-PLUS
  269. {
  270. "path": "personal/personal",
  271. "style": {
  272. // "navigationBarTitleText": "原生子窗体",
  273. "titleNView": false,
  274. "app-plus": {
  275. "subNVues": [{
  276. "id": "personal-drawer",
  277. "path": "../../platform/app-plus/subNVue/drawer",
  278. "type": "popup",
  279. "style": {
  280. "width": "89%"
  281. }
  282. }, {
  283. "id": "personal-popup",
  284. "path": "../../platform/app-plus/subNVue/reward-popup",
  285. "type": "popup",
  286. "style": {
  287. "margin": "auto",
  288. // "width": "100%",
  289. // "height": "100%",
  290. "background": "transparent"
  291. }
  292. }, {
  293. "id": "personal-guide",
  294. "path": "../../platform/app-plus/subNVue/guide",
  295. "type": "popup",
  296. "style": {
  297. "margin": "auto",
  298. // "width": "100%",
  299. // "height": "100%",
  300. "background": "transparent",
  301. "mask": "rgba(0,0,0,0)"
  302. }
  303. }]
  304. }
  305. }
  306. }
  307. // #endif
  308. ]
  309. }],
  310. "globalStyle": {
  311. "navigationBarTextStyle": "black",
  312. "navigationBarTitleText": "uni-app",
  313. "navigationBarBackgroundColor": "#FFFFFF",
  314. "backgroundColor": "#F8F8F8",
  315. "navigationStyle": "custom",
  316. "app-plus": {
  317. "bounce": "none"
  318. }
  319. },
  320. "condition": { //模式配置,仅开发期间生效
  321. "current": 0, //当前激活的模式(list 的索引项)
  322. "list": [{
  323. "name": "", //模式名称
  324. "path": "", //启动页面,必选
  325. "query": "" //启动参数,在页面的onLoad函数里面得到
  326. }]
  327. },
  328. "tabBar": {
  329. "color": "#AAABAD",
  330. "selectedColor": "#9797FF",
  331. "backgroundColor": "#FFFFFF",
  332. "borderStyle": "#eee",
  333. "height": "75px",
  334. "spacing": "6px",
  335. "list": [{
  336. "pagePath": "pages/personal-page/personal/personal",
  337. "text": "首页",
  338. "iconPath": "./static/common/navigationBar/nHome.png",
  339. "selectedIconPath": "static/common/navigationBar/nHomeB.png"
  340. },
  341. {
  342. "pagePath": "pages/personal-page/plan/plan",
  343. "text": "计划",
  344. "iconPath": "static/common/navigationBar/nPlan.png",
  345. "selectedIconPath": "static/common/navigationBar/nPlanB.png"
  346. }, {
  347. "pagePath": "pages/game-page/game-list/game-list",
  348. "text": "游戏",
  349. "iconPath": "static/common/navigationBar/nGame.png",
  350. "selectedIconPath": "static/common/navigationBar/nGameB.png"
  351. },
  352. {
  353. "pagePath": "pages/game-page/game-video/game-video",
  354. "text": "视频",
  355. "iconPath": "static/common/navigationBar/nVideo.png",
  356. "selectedIconPath": "static/common/navigationBar/nVideoB.png"
  357. },
  358. {
  359. "pagePath": "pages/my-page/homepage/homepage",
  360. "text": "我的",
  361. "iconPath": "static/common/navigationBar/nMy.png",
  362. "selectedIconPath": "static/common/navigationBar/nMyB.png"
  363. }
  364. ]
  365. }
  366. }