pages.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/home/home",
  8. "style": {
  9. "navigationBarTitleText": "消息",
  10. "enablePullDownRefresh": true ,
  11. // #ifdef MP-WEIXIN
  12. "navigationStyle": "custom",
  13. // #endif
  14. "app-plus": {
  15. "titleNView": {
  16. "buttons": [{
  17. "fontSrc": "/static/iconfont/iconfont.ttf",
  18. "float": "right",
  19. "text": "\ue9c9"
  20. }]
  21. }
  22. }
  23. }
  24. },
  25. {
  26. "path": "pages/addressBook/addressBook",
  27. "style": {
  28. "enablePullDownRefresh": true ,
  29. "navigationBarTitleText": "通讯录"/* ,
  30. "app-plus": {
  31. "titleNView": {
  32. "buttons": [{
  33. "fontSrc": "/static/iconfont/iconfont.ttf",
  34. "float": "right",
  35. "text": "\ue786"
  36. }]
  37. }
  38. } */
  39. }
  40. }, {
  41. "path": "pages/find/find",
  42. "style": {
  43. "enablePullDownRefresh": true ,
  44. "navigationBarTitleText": "发现"
  45. }
  46. },{
  47. "path": "pages/register/register",
  48. "style": {
  49. "enablePullDownRefresh": true ,
  50. "navigationBarTitleText": "注册"
  51. }
  52. },{
  53. "path": "pages/agreement/agreement",
  54. "style": {
  55. "enablePullDownRefresh": true ,
  56. "navigationBarTitleText": "协议"
  57. }
  58. },
  59. {
  60. "path": "pages/search/search",
  61. "style": {
  62. "enablePullDownRefresh": true ,
  63. "navigationBarTitleText": "",
  64. "navigationStyle": "custom",
  65. "app-plus": {
  66. "titleView": false,
  67. "animationType": "zoom-out",
  68. "animationDuration": 300
  69. }
  70. }
  71. }, {
  72. "path": "pages/chat/chat",
  73. "style": {
  74. "enablePullDownRefresh": true ,
  75. "app-plus": {
  76. "softinputNavBar": "none",
  77. "scrollIndicator":"none",
  78. "softinputMode": "adjustPan",
  79. "titleNView": {
  80. "autoBackButton": false,
  81. "backgroundColor": "#fff",
  82. "buttons": [{
  83. "fontSrc": "/static/iconfont/iconfont.ttf",
  84. "float": "right",
  85. "text": "\ue626"
  86. }
  87. ,
  88. {
  89. "fontSrc": "/static/iconfont/iconfont.ttf",
  90. "float": "left",
  91. "text": "\ue6f2",
  92. "color": "#303133",
  93. "background": "rgba(255,255,255,0)"
  94. }
  95. ]
  96. }
  97. }
  98. }
  99. }, {
  100. "path": "pages/firendCircle/firendCircle",
  101. "style": {
  102. "navigationBarTitleText": " ",
  103. // #ifdef MP-WEIXIN
  104. "navigationStyle": "custom",
  105. // #endif
  106. "transparentTitle": "auto",
  107. "enablePullDownRefresh": true,
  108. "app-plus": {
  109. "titleNView": {
  110. "type": "transparent",
  111. "backgroundColor": "#f8f9f9",
  112. "coverage": "45%", //h5不起作用
  113. // #ifdef APP-PLUS
  114. "backButton": {
  115. "color": "#303133",
  116. "background": "rgba(255,255,255,0)"
  117. },
  118. // #endif
  119. "buttons": [{
  120. "fontSrc": "/static/iconfont/iconfont.ttf",
  121. "float": "right",
  122. "text": "\ue609",
  123. "color": "#303133",
  124. "background": "rgba(255,255,255,0)"
  125. }
  126. // #ifdef H5
  127. , {
  128. "fontSrc": "/static/iconfont/iconfont.ttf",
  129. "float": "left",
  130. "text": "\ue6f2",
  131. "color": "#303133",
  132. "background": "rgba(255,255,255,0)"
  133. }
  134. // #endif
  135. ]
  136. }
  137. }
  138. }
  139. }, {
  140. "path": "pages/businessCard/businessCard",
  141. "style": {
  142. "enablePullDownRefresh": true ,
  143. "navigationBarTitleText": "",
  144. "app-plus": {
  145. "titleNView": {
  146. "backgroundColor": "#FFFFFF"
  147. }
  148. }
  149. }
  150. }, {
  151. "path": "pages/releaseFirendCircle/releaseFirendCircle",
  152. "style": {
  153. "enablePullDownRefresh": true ,
  154. "navigationBarTitleText": "",
  155. // #ifdef MP-WEIXIN
  156. "navigationStyle": "custom",
  157. // #endif
  158. "app-plus": {
  159. "titleNView": {
  160. "buttons": [{
  161. "float": "right",
  162. "text": "发表",
  163. "color": "#18b566",
  164. "fontSize": "16"
  165. }]
  166. }
  167. }
  168. }
  169. }, {
  170. "path": "pages/chooseBgImg/chooseBgImg",
  171. "style": {
  172. "enablePullDownRefresh": true ,
  173. "navigationBarTitleText": "选择背景图"
  174. }
  175. },
  176. {
  177. "path": "components/u-avatar-cropper/u-avatar-cropper",
  178. "style": {
  179. "enablePullDownRefresh": true ,
  180. "navigationBarTitleText": "选择背景图",
  181. "navigationBarBackgroundColor": "#000000"
  182. }
  183. },
  184. {
  185. "path": "pages/builtinBgImg/builtinBgImg",
  186. "style": {
  187. "enablePullDownRefresh": true ,
  188. "navigationBarTitleText": "选择背景图",
  189. // #ifdef MP-WEIXIN
  190. "navigationStyle": "custom",
  191. // #endif
  192. "app-plus": {
  193. "titleNView": {
  194. "buttons": [{
  195. "float": "right",
  196. "text": "完成",
  197. "color": "#18b566",
  198. "fontSize": "16"
  199. }]
  200. }
  201. }
  202. }
  203. }, {
  204. "path": "pages/moreInforMation/moreInforMation",
  205. "style": {
  206. "enablePullDownRefresh": true ,
  207. "navigationBarTitleText": "更多信息"
  208. }
  209. }, {
  210. "path": "pages/chat/userDetail",
  211. "style": {
  212. "enablePullDownRefresh": true ,
  213. "navigationBarTitleText": "",
  214. "navigationStyle": "custom",
  215. "app-plus": {
  216. "titleView": false
  217. }
  218. }
  219. }, {
  220. "path": "pages/chat/groupDetail",
  221. "style": {
  222. "enablePullDownRefresh": true ,
  223. "navigationBarTitleText": "",
  224. "navigationStyle": "custom",
  225. "app-plus": {
  226. "titleView": false
  227. }
  228. }
  229. }, {
  230. "path": "pages/setings/setings",
  231. "style": {
  232. "enablePullDownRefresh": true ,
  233. "navigationBarTitleText": "设置"
  234. }
  235. }, {
  236. "path": "pages/my/person",
  237. "style": {
  238. "enablePullDownRefresh": true ,
  239. "navigationBarTitleText": "个人信息"
  240. }
  241. }, {
  242. "path": "pages/my/common",
  243. "style": {
  244. "enablePullDownRefresh": true ,
  245. "navigationBarTitleText": "通用"
  246. }
  247. }, {
  248. "path": "pages/my/account",
  249. "style": {
  250. "enablePullDownRefresh": true ,
  251. "navigationBarTitleText": "账号与安全"
  252. }
  253. }, {
  254. "path": "pages/chat/updateGroupInfo",
  255. "style": {
  256. "enablePullDownRefresh": true ,
  257. "navigationBarTitleText": "",
  258. "navigationStyle": "custom",
  259. "app-plus": {
  260. "titleView": false
  261. }
  262. }
  263. }, {
  264. "path": "pages/chat/addGroupUser",
  265. "style": {
  266. "enablePullDownRefresh": true ,
  267. "navigationBarTitleText": "",
  268. "navigationStyle": "custom",
  269. "app-plus": {
  270. "titleView": false
  271. }
  272. }
  273. },
  274. {
  275. "path": "pages/chat/detail",
  276. "style": {
  277. "enablePullDownRefresh": true ,
  278. "app-plus": {
  279. "softinputNavBar": "none",
  280. "softinputMode": "adjustPan",
  281. "titleNView": {
  282. "backgroundColor": "#EC624F",
  283. "titleColor": "#fff",
  284. "titleText": ""
  285. }
  286. }
  287. }
  288. }
  289. , {
  290. "path": "pages/qrcode/qrcode",
  291. "style": {
  292. "enablePullDownRefresh": true ,
  293. "navigationBarTitleText": "我的二维码"
  294. }
  295. }, {
  296. "path": "pages/chat/remind",
  297. "style": {
  298. "enablePullDownRefresh": true ,
  299. "navigationBarTitleText": "选择要提醒的人"
  300. }
  301. }, {
  302. "path": "pages/chat/forward",
  303. "style": {
  304. "enablePullDownRefresh": true ,
  305. "navigationBarTitleText": "选择一个聊天"
  306. }
  307. }, {
  308. "path": "pages/webview/webview",
  309. "style": {
  310. "enablePullDownRefresh": true ,
  311. "navigationBarTitleText": "webview"
  312. }
  313. }, {
  314. "path": "pages/my/photo",
  315. "style": {
  316. "enablePullDownRefresh": true ,
  317. "navigationBarTitleText": "朋友圈相册"
  318. }
  319. }, {
  320. "path": "pages/my/face",
  321. "style": {
  322. "enablePullDownRefresh": true ,
  323. "navigationBarTitleText": "表情商店"
  324. }
  325. }, {
  326. "path": "pages/chat/moreMem",
  327. "style": {
  328. "enablePullDownRefresh": true ,
  329. "navigationBarTitleText": "所有成员"
  330. }
  331. }
  332. ,{
  333. "path" : "pages/my/index",
  334. "style": {
  335. "enablePullDownRefresh": true ,
  336. "navigationBarTitleText": "我的",
  337. "navigationStyle": "custom"
  338. }
  339. },
  340. {
  341. "path": "pages/login/forget",
  342. "style": {
  343. "enablePullDownRefresh": true ,
  344. "navigationBarTitleText": "忘记密码",
  345. "navigationBarBackgroundColor":"#F6F7F8"
  346. }
  347. },
  348. {
  349. "path": "pages/login/agreement",
  350. "style": {
  351. "enablePullDownRefresh": true ,
  352. "navigationBarTitleText": "用户协议"
  353. }
  354. }
  355. ,{
  356. "path" : "pages/newFriend/newFriend",
  357. "style" :
  358. {
  359. "navigationBarTitleText": "新的朋友",
  360. "enablePullDownRefresh": false
  361. }
  362. }
  363. ,{
  364. "path" : "pages/groupItem/groupItem",
  365. "style" :
  366. {
  367. "navigationBarTitleText": "我的群组",
  368. "enablePullDownRefresh": false
  369. }
  370. }
  371. ,{
  372. "path" : "pages/login/loginV2",
  373. "style" :
  374. {
  375. "navigationBarTitleText": "",
  376. "enablePullDownRefresh": false
  377. }
  378. }
  379. ,{
  380. "path" : "pages/login/regV2",
  381. "style" :
  382. {
  383. "navigationBarTitleText": "",
  384. "enablePullDownRefresh": false
  385. }
  386. }
  387. ],
  388. "tabBar": {
  389. "color": "#7B8AA0",
  390. "selectedColor": "#171717",
  391. "border": "none",
  392. "backgroundColor": "#fff",
  393. "list": [{
  394. "pagePath": "pages/home/home",
  395. "iconPath": "static/menu/chat.png",
  396. "selectedIconPath": "static/menu/chat_s.png",
  397. "text": "消息"
  398. }, {
  399. "pagePath": "pages/addressBook/addressBook",
  400. "iconPath": "static/menu/contact.png",
  401. "selectedIconPath": "static/menu/contact_s.png",
  402. "text": "通讯录"
  403. }, {
  404. "pagePath": "pages/find/find",
  405. "iconPath": "static/menu/see.png",
  406. "selectedIconPath": "static/menu/see_s.png",
  407. "text": "发现"
  408. }, {
  409. "pagePath": "pages/my/index",
  410. "iconPath": "static/menu/my.png",
  411. "selectedIconPath": "static/menu/my_s.png",
  412. "text": "我"
  413. }]
  414. },
  415. "globalStyle": {
  416. "navigationBarTextStyle": "black",
  417. "navigationBarTitleText": "聊天",
  418. "navigationBarBackgroundColor": "#F6F7F8",
  419. "backgroundColor": "#fff",
  420. "backgroundTextStyle": "light",
  421. "pageOrientation": "portrait",
  422. "app-plus": {
  423. "bounce": "none"
  424. }
  425. },
  426. "condition": { //模式配置,仅开发期间生效
  427. "current": 0, //当前激活的模式(list 的索引项)
  428. "list": [{
  429. "name": "", //模式名称
  430. "path": "", //启动页面,必选
  431. "query": "" //启动参数,在页面的onLoad函数里面得到
  432. }]
  433. }
  434. }