pages.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [
  6. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  7. {
  8. "path": "pages/index/index",
  9. "style": {
  10. // "enablePullDownRefresh": true,
  11. // #ifdef MP
  12. "navigationStyle": "custom",
  13. // #endif
  14. // #ifndef MP
  15. "app-plus": {
  16. "titleNView": false
  17. },
  18. // #endif
  19. "navigationBarTitleText": "星辰"
  20. }
  21. },
  22. {
  23. "path": "pages/index/game",
  24. "style": {
  25. // "enablePullDownRefresh": true,
  26. // #ifdef MP
  27. "navigationStyle": "custom",
  28. // #endif
  29. // #ifndef MP
  30. "app-plus": {
  31. "titleNView": false
  32. },
  33. // #endif
  34. "navigationBarTitleText": "盲盒"
  35. }
  36. },
  37. {
  38. "path": "pages/index/happly",
  39. "style": {
  40. // "enablePullDownRefresh": true,
  41. // #ifdef MP
  42. "navigationStyle": "custom",
  43. // #endif
  44. // #ifndef MP
  45. "app-plus": {
  46. "titleNView": false
  47. },
  48. // #endif
  49. "navigationBarTitleText": "娱乐"
  50. }
  51. },
  52. {
  53. "path": "pages/index/downLoad",
  54. "style": {
  55. "navigationBarTitleText": "下载",
  56. "app-plus": {
  57. "titleNView": false
  58. }
  59. }
  60. }
  61. ],
  62. "subPackages": [{
  63. "root": "pages/game",
  64. "name": "game",
  65. "pages": [{
  66. "path": "index",
  67. "style": {
  68. "navigationBarTitleText": "星际角斗场",
  69. "app-plus": {
  70. "titleNView": false
  71. }
  72. }
  73. }]
  74. }, {
  75. "root": "pages/set",
  76. "name": "set",
  77. "pages": [{
  78. "path": "phone",
  79. "style": {
  80. "navigationBarTitleText": "绑定手机"
  81. }
  82. },
  83. {
  84. "path": "password",
  85. "style": {
  86. "navigationBarTitleText": "修改密码"
  87. }
  88. },
  89. {
  90. "path": "userinfo",
  91. "style": {
  92. "navigationBarTitleText": "修改资料"
  93. }
  94. }
  95. ]
  96. },
  97. {
  98. "root": "pages/public",
  99. "name": "public",
  100. "pages": [{
  101. "path": "forget",
  102. "style": {
  103. "navigationBarTitleText": "忘记密码",
  104. "app-plus": {
  105. "titleNView": {
  106. "type": "transparent"
  107. }
  108. }
  109. }
  110. },
  111. {
  112. "path": "register",
  113. "style": {
  114. "navigationBarTitleText": "注册",
  115. "app-plus": {
  116. "titleNView": {
  117. "type": "transparent"
  118. }
  119. }
  120. }
  121. }, {
  122. "path": "login",
  123. "style": {
  124. "navigationBarTitleText": "登录",
  125. "app-plus": {
  126. "titleNView": {
  127. "type": "transparent"
  128. }
  129. }
  130. }
  131. },
  132. {
  133. "path": "wxLogin",
  134. "style": {
  135. "navigationBarTitleText": "微信登录",
  136. "app-plus": {
  137. "titleNView": {
  138. "type": "transparent"
  139. }
  140. }
  141. }
  142. }
  143. ]
  144. },
  145. {
  146. "root": "pages/user",
  147. "name": "user",
  148. "pages": [
  149. {
  150. "path": "about",
  151. "style": {
  152. "navigationBarTitleText": "隐私协议"
  153. }
  154. },
  155. {
  156. "path": "myfans",
  157. "style": {
  158. "navigationBarTitleText": "我的粉丝",
  159. "navigationBarBackgroundColor": "rgb(34,34,34)",
  160. "navigationBarTextStyle": "white"
  161. }
  162. },
  163. {
  164. "path": "shareQrCode",
  165. "style": {
  166. "navigationBarTitleText": "邀请好友",
  167. "app-plus": {
  168. "titleNView": {
  169. "buttons": [{
  170. "text": "刷新 ",
  171. "float": "right",
  172. "color": "#1356FF",
  173. "fontSize": "14px"
  174. }]
  175. }
  176. }
  177. }
  178. },
  179. {
  180. "path": "user",
  181. "style": {
  182. // #ifdef MP
  183. "navigationStyle": "custom",
  184. // #endif
  185. // #ifndef MP
  186. "app-plus": {
  187. "titleNView": false
  188. },
  189. // #endif
  190. "navigationBarTitleText": "个人中心"
  191. }
  192. },
  193. {
  194. "path": "ship",
  195. "style": {
  196. "navigationBarBackgroundColor": "transparent",
  197. "navigationBarTitleText": "飞船"
  198. }
  199. },
  200. {
  201. "path": "blindBox",
  202. "style": {
  203. "navigationBarBackgroundColor": "transparent",
  204. "navigationBarTitleText": "我的盲盒"
  205. }
  206. },
  207. {
  208. "path": "lm",
  209. "style": {
  210. "navigationBarTitleText": "联盟",
  211. "app-plus": {
  212. "titleNView": false
  213. }
  214. }
  215. },
  216. {
  217. "path": "smrz",
  218. "style": {
  219. "navigationBarTitleText": "实名认证",
  220. "app-plus": {
  221. "titleNView": false
  222. }
  223. }
  224. }
  225. ]
  226. }
  227. ],
  228. "globalStyle": {
  229. "navigationBarTextStyle": "black",
  230. "navigationBarTitleText": "加载中",
  231. "navigationBarBackgroundColor": "#fff",
  232. // "titleNView": false
  233. "backgroundColor": "#F8F8F8"
  234. },
  235. "tabBar": {
  236. "color": "#999",
  237. "selectedColor": "#222",
  238. "borderStyle": "black",
  239. "backgroundColor": "#ffffff",
  240. "list": [{
  241. "pagePath": "pages/index/index",
  242. "iconPath": "static/tabBar/tab-00.png",
  243. "selectedIconPath": "static/tabBar/tab-00-current.png",
  244. "text": "首页"
  245. }, {
  246. "pagePath": "pages/index/game",
  247. "iconPath": "static/tabBar/tab-01.png",
  248. "selectedIconPath": "static/tabBar/tab-01-current.png",
  249. "text": "盲盒"
  250. },
  251. {
  252. "pagePath": "pages/index/happly",
  253. "iconPath": "static/tabBar/tab-02.png",
  254. "selectedIconPath": "static/tabBar/tab-02-current.png",
  255. "text": "娱乐"
  256. },
  257. {
  258. "pagePath": "pages/user/lm",
  259. "iconPath": "static/tabBar/tab-03.png",
  260. "selectedIconPath": "static/tabBar/tab-03-current.png",
  261. "text": "联盟"
  262. },
  263. {
  264. "pagePath": "pages/user/user",
  265. "iconPath": "static/tabBar/tab-04.png",
  266. "selectedIconPath": "static/tabBar/tab-04-current.png",
  267. "text": "我的"
  268. }
  269. ]
  270. }
  271. }