pages.json 8.4 KB

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