pages.json 3.3 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. {
  49. "root": "pages/set",
  50. "name": "set",
  51. "pages": [
  52. {
  53. "path": "phone",
  54. "style": {
  55. "navigationBarTitleText": "绑定手机"
  56. }
  57. },
  58. {
  59. "path": "password",
  60. "style": {
  61. "navigationBarTitleText": "修改密码"
  62. }
  63. },
  64. {
  65. "path": "userinfo",
  66. "style": {
  67. "navigationBarTitleText": "修改资料"
  68. }
  69. }
  70. ]
  71. },
  72. {
  73. "root": "pages/public",
  74. "name": "public",
  75. "pages": [
  76. {
  77. "path": "forget",
  78. "style": {
  79. "navigationBarTitleText": "忘记密码",
  80. "app-plus": {
  81. "titleNView": {
  82. "type": "transparent"
  83. }
  84. }
  85. }
  86. },
  87. {
  88. "path": "register",
  89. "style": {
  90. "navigationBarTitleText": "注册",
  91. "app-plus": {
  92. "titleNView": {
  93. "type": "transparent"
  94. }
  95. }
  96. }
  97. }, {
  98. "path": "login",
  99. "style": {
  100. "navigationBarTitleText": "登录",
  101. "app-plus": {
  102. "titleNView": {
  103. "type": "transparent"
  104. }
  105. }
  106. }
  107. },
  108. {
  109. "path": "wxLogin",
  110. "style": {
  111. "navigationBarTitleText": "微信登录",
  112. "app-plus": {
  113. "titleNView": {
  114. "type": "transparent"
  115. }
  116. }
  117. }
  118. }
  119. ]
  120. },
  121. {
  122. "root": "pages/user",
  123. "name": "user",
  124. "pages": [
  125. {
  126. "path": "about",
  127. "style": {
  128. "navigationBarTitleText": "隐私协议"
  129. }
  130. }
  131. ]
  132. }
  133. ],
  134. "globalStyle": {
  135. "navigationBarTextStyle": "black",
  136. "navigationBarTitleText": "加载中",
  137. "navigationBarBackgroundColor": "#fff",
  138. // "titleNView": false
  139. "backgroundColor": "#F8F8F8"
  140. },
  141. "tabBar": {
  142. "color": "#999",
  143. "selectedColor": "#222",
  144. "borderStyle": "black",
  145. "backgroundColor": "#ffffff",
  146. "list": [{
  147. "pagePath": "pages/index/index",
  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. }