pages.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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/happly",
  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/downLoad",
  39. "style": {
  40. "navigationBarTitleText": "下载",
  41. "app-plus": {
  42. "titleNView": false
  43. }
  44. }
  45. }
  46. ],
  47. "subPackages": [{
  48. "root": "pages/set",
  49. "name": "set",
  50. "pages": [{
  51. "path": "phone",
  52. "style": {
  53. "navigationBarTitleText": "绑定手机"
  54. }
  55. },
  56. {
  57. "path": "password",
  58. "style": {
  59. "navigationBarTitleText": "修改密码"
  60. }
  61. },
  62. {
  63. "path": "userinfo",
  64. "style": {
  65. "navigationBarTitleText": "修改资料"
  66. }
  67. }
  68. ]
  69. },
  70. {
  71. "root": "pages/public",
  72. "name": "public",
  73. "pages": [{
  74. "path": "forget",
  75. "style": {
  76. "navigationBarTitleText": "忘记密码",
  77. "app-plus": {
  78. "titleNView": {
  79. "type": "transparent"
  80. }
  81. }
  82. }
  83. },
  84. {
  85. "path": "register",
  86. "style": {
  87. "navigationBarTitleText": "注册",
  88. "app-plus": {
  89. "titleNView": {
  90. "type": "transparent"
  91. }
  92. }
  93. }
  94. }, {
  95. "path": "login",
  96. "style": {
  97. "navigationBarTitleText": "登录",
  98. "app-plus": {
  99. "titleNView": {
  100. "type": "transparent"
  101. }
  102. }
  103. }
  104. },
  105. {
  106. "path": "wxLogin",
  107. "style": {
  108. "navigationBarTitleText": "微信登录",
  109. "app-plus": {
  110. "titleNView": {
  111. "type": "transparent"
  112. }
  113. }
  114. }
  115. }
  116. ]
  117. },
  118. {
  119. "root": "pages/user",
  120. "name": "user",
  121. "pages": [{
  122. "path": "about",
  123. "style": {
  124. "navigationBarTitleText": "隐私协议"
  125. }
  126. }]
  127. }
  128. ],
  129. "globalStyle": {
  130. "navigationBarTextStyle": "black",
  131. "navigationBarTitleText": "加载中",
  132. "navigationBarBackgroundColor": "#fff",
  133. // "titleNView": false
  134. "backgroundColor": "#F8F8F8"
  135. },
  136. "tabBar": {
  137. "color": "#999",
  138. "selectedColor": "#222",
  139. "borderStyle": "black",
  140. "backgroundColor": "#ffffff",
  141. "list": [{
  142. "pagePath": "pages/index/index",
  143. "iconPath": "static/tabBar/tab-00.png",
  144. "selectedIconPath": "static/tabBar/tab-00-current.png",
  145. "text": "首页"
  146. }, {
  147. "pagePath": "pages/index/game",
  148. "iconPath": "static/tabBar/tab-01.png",
  149. "selectedIconPath": "static/tabBar/tab-01-current.png",
  150. "text": "盲盒"
  151. },
  152. {
  153. "pagePath": "pages/index/happly",
  154. "iconPath": "static/tabBar/tab-02.png",
  155. "selectedIconPath": "static/tabBar/tab-02-current.png",
  156. "text": "娱乐"
  157. },
  158. {
  159. "pagePath": "pages/store_cate/store_cate",
  160. "iconPath": "static/tabBar/tab-03.png",
  161. "selectedIconPath": "static/tabBar/tab-03-current.png",
  162. "text": "联盟"
  163. },
  164. {
  165. "pagePath": "pages/user/index",
  166. "iconPath": "static/tabBar/tab-04.png",
  167. "selectedIconPath": "static/tabBar/tab-04-current.png",
  168. "text": "我的"
  169. }
  170. ]
  171. }
  172. }