pages.json 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  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": "交友1"
  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/friends/friends",
  43. "style" :
  44. {
  45. "navigationBarTitleText": "",
  46. "enablePullDownRefresh": false,
  47. "navigationStyle":"custom"
  48. }
  49. },
  50. {
  51. "path" : "pages/login/login",
  52. "style" :
  53. {
  54. "navigationBarTitleText": "",
  55. "enablePullDownRefresh": false,
  56. "navigationStyle":"custom"
  57. }
  58. },{
  59. "path" : "pages/login/loginByPhone",
  60. "style" :
  61. {
  62. "navigationBarTitleText": "",
  63. "enablePullDownRefresh": false,
  64. "navigationStyle":"custom"
  65. }
  66. }
  67. ,{
  68. "path" : "pages/login/loginByCode",
  69. "style" :
  70. {
  71. "navigationBarTitleText": "",
  72. "enablePullDownRefresh": false,
  73. "navigationStyle":"custom"
  74. }
  75. }
  76. ,{
  77. "path" : "pages/login/loginByPassword",
  78. "style" :
  79. {
  80. "navigationBarTitleText": "",
  81. "enablePullDownRefresh": false,
  82. "navigationStyle":"custom"
  83. }
  84. }
  85. ,{
  86. "path" : "pages/info/sex",
  87. "style" :
  88. {
  89. "navigationBarTitleText": "",
  90. "enablePullDownRefresh": false,
  91. "navigationStyle":"custom"
  92. }
  93. }
  94. ,{
  95. "path" : "pages/info/figure",
  96. "style" :
  97. {
  98. "navigationBarTitleText": "",
  99. "enablePullDownRefresh": false,
  100. "navigationStyle":"custom"
  101. }
  102. }
  103. ,{
  104. "path" : "pages/info/datum",
  105. "style" :
  106. {
  107. "navigationBarTitleText": "",
  108. "enablePullDownRefresh": false,
  109. "navigationStyle":"custom"
  110. }
  111. }
  112. ,{
  113. "path" : "pages/info/city",
  114. "style" :
  115. {
  116. "navigationBarTitleText": "",
  117. "enablePullDownRefresh": false,
  118. "navigationStyle":"custom"
  119. }
  120. }
  121. ,{
  122. "path" : "pages/info/wechat",
  123. "style" :
  124. {
  125. "navigationBarTitleText": "",
  126. "enablePullDownRefresh": false,
  127. "navigationStyle":"custom"
  128. }
  129. }
  130. ,{
  131. "path" : "pages/mine/mine",
  132. "style" :
  133. {
  134. "navigationBarTitleText": "",
  135. "enablePullDownRefresh": false,
  136. "navigationStyle":"custom"
  137. }
  138. }
  139. ,{
  140. "path" : "pages/friends/user",
  141. "style" :
  142. {
  143. "navigationBarTitleText": "",
  144. "enablePullDownRefresh": false,
  145. "navigationStyle":"custom"
  146. }
  147. }
  148. ,{
  149. "path" : "pages/mine/guest",
  150. "style" :
  151. {
  152. "navigationBarTitleText": "",
  153. "enablePullDownRefresh": false,
  154. "navigationStyle":"custom"
  155. }
  156. }
  157. ,{
  158. "path" : "pages/mine/album",
  159. "style" :
  160. {
  161. "navigationBarTitleText": "",
  162. "enablePullDownRefresh": false,
  163. "navigationStyle":"custom"
  164. }
  165. }
  166. ,{
  167. "path" : "pages/info/editCenter",
  168. "style" :
  169. {
  170. "navigationBarTitleText": "",
  171. "enablePullDownRefresh": false,
  172. "navigationStyle":"custom"
  173. }
  174. },
  175. {
  176. "path" : "pages/info/labels",
  177. "style" :
  178. {
  179. "navigationBarTitleText": "",
  180. "enablePullDownRefresh": false,
  181. "navigationStyle":"custom"
  182. }
  183. }
  184. ,{
  185. "path" : "pages/vip/vip",
  186. "style" :
  187. {
  188. "navigationBarTitleText": "",
  189. "enablePullDownRefresh": false,
  190. "navigationStyle":"custom"
  191. }
  192. }
  193. ,{
  194. "path" : "pages/wallet/wallet",
  195. "style" :
  196. {
  197. "navigationBarTitleText": "",
  198. "enablePullDownRefresh": false,
  199. "navigationStyle":"custom"
  200. }
  201. }
  202. ,{
  203. "path" : "pages/webview/webview",
  204. "style" :
  205. {
  206. "navigationBarTitleText": "",
  207. "enablePullDownRefresh": false
  208. }
  209. }
  210. ,{
  211. "path" : "pages/messages/messages",
  212. "style" :
  213. {
  214. "navigationBarTitleText": "",
  215. "enablePullDownRefresh": false,
  216. "navigationStyle":"custom"
  217. }
  218. }
  219. ,{
  220. "path" : "pages/search/search",
  221. "style" :
  222. {
  223. "navigationBarTitleText": "",
  224. "enablePullDownRefresh": false,
  225. "navigationStyle":"custom"
  226. }
  227. }
  228. ],
  229. "subPackages": [{
  230. "root": "pagesSub/",
  231. "pages": [
  232. {
  233. "path" : "chatting/chatting",
  234. "style" :
  235. {
  236. "navigationBarTitleText": "",
  237. "enablePullDownRefresh": false,
  238. "navigationStyle":"custom"
  239. }
  240. }
  241. ,{
  242. "path" : "setting/setting",
  243. "style" :
  244. {
  245. "navigationBarTitleText": "",
  246. "enablePullDownRefresh": false,
  247. "navigationStyle":"custom"
  248. }
  249. }
  250. ,{
  251. "path" : "setting/blacklist",
  252. "style" :
  253. {
  254. "navigationBarTitleText": "",
  255. "enablePullDownRefresh": false,
  256. "navigationStyle":"custom"
  257. }
  258. }
  259. ,{
  260. "path" : "faceVideo/faceVideo",
  261. "style" :
  262. {
  263. "navigationBarTitleText": "",
  264. "enablePullDownRefresh": false,
  265. "navigationStyle":"custom"
  266. }
  267. }
  268. ,{
  269. "path" : "report/report",
  270. "style" :
  271. {
  272. "navigationBarTitleText": "",
  273. "enablePullDownRefresh": false,
  274. "navigationStyle":"custom"
  275. }
  276. }
  277. ]
  278. }],
  279. "globalStyle": {
  280. "navigationBarTextStyle": "white",
  281. "navigationBarTitleText": "uni-app",
  282. "navigationBarBackgroundColor": "#151126",
  283. "backgroundColor": "#151126"
  284. }
  285. }