pages.json 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. // uni-ui 规则如下配置
  6. "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
  7. }
  8. },
  9. "usingComponents": {
  10. "van-index-bar": "@vant/weapp/index-bar/index",
  11. "van-index-anchor": "@vant/weapp/index-anchor/index"
  12. },
  13. "tabBar":{
  14. "custom":true,
  15. "color": "#7D7DA4",
  16. "selectedColor": "#FFFFFF",
  17. "borderStyle": "black",
  18. "backgroundColor": "#151126",
  19. "list": [
  20. {
  21. "pagePath": "pages/friends/friends",
  22. "iconPath": "static/tabbar/friends-off.png",
  23. "selectedIconPath": "static/tabbar/friends-on.png",
  24. "text": "交友"
  25. },
  26. {
  27. "pagePath": "pages/messages/messages",
  28. "iconPath": "static/tabbar/message-off.png",
  29. "selectedIconPath": "static/tabbar/message-on.png",
  30. "text": "消息"
  31. },
  32. {
  33. "pagePath": "pages/mine/mine",
  34. "iconPath": "static/tabbar/mine-off.png",
  35. "selectedIconPath": "static/tabbar/mine-on.png",
  36. "text": "我的"
  37. }
  38. ]
  39. },
  40. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  41. {
  42. "path" : "pages/login/login",
  43. "style" :
  44. {
  45. "navigationBarTitleText": "",
  46. "enablePullDownRefresh": false,
  47. "navigationStyle":"custom"
  48. }
  49. },
  50. {
  51. "path" : "pages/friends/friends",
  52. "style" :
  53. {
  54. "navigationBarTitleText": "",
  55. "enablePullDownRefresh": false,
  56. "navigationStyle":"custom"
  57. }
  58. },
  59. {
  60. "path" : "pages/login/loginByPhone",
  61. "style" :
  62. {
  63. "navigationBarTitleText": "",
  64. "enablePullDownRefresh": false,
  65. "navigationStyle":"custom"
  66. }
  67. }
  68. ,{
  69. "path" : "pages/login/loginByCode",
  70. "style" :
  71. {
  72. "navigationBarTitleText": "",
  73. "enablePullDownRefresh": false,
  74. "navigationStyle":"custom"
  75. }
  76. }
  77. ,{
  78. "path" : "pages/login/loginByPassword",
  79. "style" :
  80. {
  81. "navigationBarTitleText": "",
  82. "enablePullDownRefresh": false,
  83. "navigationStyle":"custom"
  84. }
  85. }
  86. ,{
  87. "path" : "pages/info/sex",
  88. "style" :
  89. {
  90. "navigationBarTitleText": "",
  91. "enablePullDownRefresh": false,
  92. "navigationStyle":"custom"
  93. }
  94. }
  95. ,{
  96. "path" : "pages/info/figure",
  97. "style" :
  98. {
  99. "navigationBarTitleText": "",
  100. "enablePullDownRefresh": false,
  101. "navigationStyle":"custom"
  102. }
  103. }
  104. ,{
  105. "path" : "pages/info/datum",
  106. "style" :
  107. {
  108. "navigationBarTitleText": "",
  109. "enablePullDownRefresh": false,
  110. "navigationStyle":"custom"
  111. }
  112. }
  113. ,{
  114. "path" : "pages/info/city",
  115. "style" :
  116. {
  117. "navigationBarTitleText": "",
  118. "enablePullDownRefresh": false,
  119. "navigationStyle":"custom"
  120. }
  121. }
  122. ,{
  123. "path" : "pages/info/wechat",
  124. "style" :
  125. {
  126. "navigationBarTitleText": "",
  127. "enablePullDownRefresh": false,
  128. "navigationStyle":"custom"
  129. }
  130. }
  131. ,{
  132. "path" : "pages/mine/mine",
  133. "style" :
  134. {
  135. "navigationBarTitleText": "",
  136. "enablePullDownRefresh": false,
  137. "navigationStyle":"custom"
  138. }
  139. }
  140. ,{
  141. "path" : "pages/friends/user",
  142. "style" :
  143. {
  144. "navigationBarTitleText": "",
  145. "enablePullDownRefresh": false,
  146. "navigationStyle":"custom"
  147. }
  148. }
  149. ,{
  150. "path" : "pages/mine/guest",
  151. "style" :
  152. {
  153. "navigationBarTitleText": "",
  154. "enablePullDownRefresh": false,
  155. "navigationStyle":"custom"
  156. }
  157. }
  158. ,{
  159. "path" : "pages/mine/album",
  160. "style" :
  161. {
  162. "navigationBarTitleText": "",
  163. "enablePullDownRefresh": false,
  164. "navigationStyle":"custom"
  165. }
  166. }
  167. ,{
  168. "path" : "pages/info/editCenter",
  169. "style" :
  170. {
  171. "navigationBarTitleText": "",
  172. "enablePullDownRefresh": false,
  173. "navigationStyle":"custom"
  174. }
  175. },
  176. {
  177. "path" : "pages/info/labels",
  178. "style" :
  179. {
  180. "navigationBarTitleText": "",
  181. "enablePullDownRefresh": false,
  182. "navigationStyle":"custom"
  183. }
  184. }
  185. ,{
  186. "path" : "pages/vip/vip",
  187. "style" :
  188. {
  189. "navigationBarTitleText": "",
  190. "enablePullDownRefresh": false,
  191. "navigationStyle":"custom"
  192. }
  193. }
  194. ,{
  195. "path" : "pages/wallet/wallet",
  196. "style" :
  197. {
  198. "navigationBarTitleText": "",
  199. "enablePullDownRefresh": false,
  200. "navigationStyle":"custom"
  201. }
  202. }
  203. ,{
  204. "path" : "pages/webview/webview",
  205. "style" :
  206. {
  207. "navigationBarTitleText": "",
  208. "enablePullDownRefresh": false
  209. }
  210. }
  211. ,{
  212. "path" : "pages/messages/messages",
  213. "style" :
  214. {
  215. "navigationBarTitleText": "",
  216. "enablePullDownRefresh": false,
  217. "navigationStyle":"custom"
  218. }
  219. }
  220. ,{
  221. "path" : "pages/search/search",
  222. "style" :
  223. {
  224. "navigationBarTitleText": "",
  225. "enablePullDownRefresh": false,
  226. "navigationStyle":"custom"
  227. }
  228. }
  229. ],
  230. "subPackages": [{
  231. "root": "pagesSub/",
  232. "pages": [
  233. {
  234. "path" : "chatting/chatting",
  235. "style" :
  236. {
  237. "navigationBarTitleText": "",
  238. "enablePullDownRefresh": false,
  239. "navigationStyle":"custom"
  240. }
  241. }
  242. ,{
  243. "path" : "setting/setting",
  244. "style" :
  245. {
  246. "navigationBarTitleText": "",
  247. "enablePullDownRefresh": false,
  248. "navigationStyle":"custom"
  249. }
  250. }
  251. ,{
  252. "path" : "faceVideo/faceVideo",
  253. "style" :
  254. {
  255. "navigationBarTitleText": "",
  256. "enablePullDownRefresh": false,
  257. "navigationStyle":"custom"
  258. }
  259. }
  260. ]
  261. }],
  262. "globalStyle": {
  263. "navigationBarTextStyle": "white",
  264. "navigationBarTitleText": "uni-app",
  265. "navigationBarBackgroundColor": "#151126",
  266. "backgroundColor": "#151126"
  267. }
  268. }