pages.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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/set",
  64. "name": "set",
  65. "pages": [{
  66. "path": "phone",
  67. "style": {
  68. "navigationBarTitleText": "绑定手机"
  69. }
  70. },
  71. {
  72. "path": "password",
  73. "style": {
  74. "navigationBarTitleText": "修改密码"
  75. }
  76. },
  77. {
  78. "path": "userinfo",
  79. "style": {
  80. "navigationBarTitleText": "修改资料"
  81. }
  82. }
  83. ]
  84. },
  85. {
  86. "root": "pages/public",
  87. "name": "public",
  88. "pages": [{
  89. "path": "forget",
  90. "style": {
  91. "navigationBarTitleText": "忘记密码",
  92. "app-plus": {
  93. "titleNView": {
  94. "type": "transparent"
  95. }
  96. }
  97. }
  98. },
  99. {
  100. "path": "register",
  101. "style": {
  102. "navigationBarTitleText": "注册",
  103. "app-plus": {
  104. "titleNView": {
  105. "type": "transparent"
  106. }
  107. }
  108. }
  109. }, {
  110. "path": "login",
  111. "style": {
  112. "navigationBarTitleText": "登录",
  113. "app-plus": {
  114. "titleNView": {
  115. "type": "transparent"
  116. }
  117. }
  118. }
  119. },
  120. {
  121. "path": "wxLogin",
  122. "style": {
  123. "navigationBarTitleText": "微信登录",
  124. "app-plus": {
  125. "titleNView": {
  126. "type": "transparent"
  127. }
  128. }
  129. }
  130. }
  131. ]
  132. },
  133. {
  134. "root": "pages/user",
  135. "name": "user",
  136. "pages": [{
  137. "path": "about",
  138. "style": {
  139. "navigationBarTitleText": "隐私协议"
  140. }
  141. },
  142. {
  143. "path": "user",
  144. "style": {
  145. // #ifdef MP
  146. "navigationStyle": "custom",
  147. // #endif
  148. // #ifndef MP
  149. "app-plus": {
  150. "titleNView": false
  151. },
  152. // #endif
  153. "navigationBarTitleText": "个人中心"
  154. }
  155. },
  156. {
  157. "path": "ship",
  158. "style": {
  159. "navigationBarBackgroundColor": "transparent",
  160. "navigationBarTitleText": "飞船"
  161. }
  162. },
  163. {
  164. "path": "blindBox",
  165. "style": {
  166. "navigationBarBackgroundColor": "transparent",
  167. "navigationBarTitleText": "我的盲盒"
  168. }
  169. }]
  170. }
  171. ],
  172. "globalStyle": {
  173. "navigationBarTextStyle": "black",
  174. "navigationBarTitleText": "加载中",
  175. "navigationBarBackgroundColor": "#fff",
  176. // "titleNView": false
  177. "backgroundColor": "#F8F8F8"
  178. },
  179. "tabBar": {
  180. "color": "#999",
  181. "selectedColor": "#222",
  182. "borderStyle": "black",
  183. "backgroundColor": "#ffffff",
  184. "list": [{
  185. "pagePath": "pages/index/index",
  186. "iconPath": "static/tabBar/tab-00.png",
  187. "selectedIconPath": "static/tabBar/tab-00-current.png",
  188. "text": "首页"
  189. }, {
  190. "pagePath": "pages/index/game",
  191. "iconPath": "static/tabBar/tab-01.png",
  192. "selectedIconPath": "static/tabBar/tab-01-current.png",
  193. "text": "盲盒"
  194. },
  195. {
  196. "pagePath": "pages/index/happly",
  197. "iconPath": "static/tabBar/tab-02.png",
  198. "selectedIconPath": "static/tabBar/tab-02-current.png",
  199. "text": "娱乐"
  200. },
  201. {
  202. "pagePath": "pages/store_cate/store_cate",
  203. "iconPath": "static/tabBar/tab-03.png",
  204. "selectedIconPath": "static/tabBar/tab-03-current.png",
  205. "text": "联盟"
  206. },
  207. {
  208. "pagePath": "pages/user/user",
  209. "iconPath": "static/tabBar/tab-04.png",
  210. "selectedIconPath": "static/tabBar/tab-04-current.png",
  211. "text": "我的"
  212. }
  213. ]
  214. }
  215. }