pages.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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. "path": "about",
  150. "style": {
  151. "navigationBarTitleText": "隐私协议"
  152. }
  153. },
  154. {
  155. "path": "user",
  156. "style": {
  157. // #ifdef MP
  158. "navigationStyle": "custom",
  159. // #endif
  160. // #ifndef MP
  161. "app-plus": {
  162. "titleNView": false
  163. },
  164. // #endif
  165. "navigationBarTitleText": "个人中心"
  166. }
  167. },
  168. {
  169. "path": "ship",
  170. "style": {
  171. "navigationBarBackgroundColor": "transparent",
  172. "navigationBarTitleText": "飞船"
  173. }
  174. },
  175. {
  176. "path": "blindBox",
  177. "style": {
  178. "navigationBarBackgroundColor": "transparent",
  179. "navigationBarTitleText": "我的盲盒"
  180. }
  181. }
  182. ]
  183. }
  184. ],
  185. "globalStyle": {
  186. "navigationBarTextStyle": "black",
  187. "navigationBarTitleText": "加载中",
  188. "navigationBarBackgroundColor": "#fff",
  189. // "titleNView": false
  190. "backgroundColor": "#F8F8F8"
  191. },
  192. "tabBar": {
  193. "color": "#999",
  194. "selectedColor": "#222",
  195. "borderStyle": "black",
  196. "backgroundColor": "#ffffff",
  197. "list": [{
  198. "pagePath": "pages/index/index",
  199. "iconPath": "static/tabBar/tab-00.png",
  200. "selectedIconPath": "static/tabBar/tab-00-current.png",
  201. "text": "首页"
  202. }, {
  203. "pagePath": "pages/index/game",
  204. "iconPath": "static/tabBar/tab-01.png",
  205. "selectedIconPath": "static/tabBar/tab-01-current.png",
  206. "text": "盲盒"
  207. },
  208. {
  209. "pagePath": "pages/index/happly",
  210. "iconPath": "static/tabBar/tab-02.png",
  211. "selectedIconPath": "static/tabBar/tab-02-current.png",
  212. "text": "娱乐"
  213. },
  214. {
  215. "pagePath": "pages/store_cate/store_cate",
  216. "iconPath": "static/tabBar/tab-03.png",
  217. "selectedIconPath": "static/tabBar/tab-03-current.png",
  218. "text": "联盟"
  219. },
  220. {
  221. "pagePath": "pages/user/user",
  222. "iconPath": "static/tabBar/tab-04.png",
  223. "selectedIconPath": "static/tabBar/tab-04-current.png",
  224. "text": "我的"
  225. }
  226. ]
  227. }
  228. }