chat.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. page{
  2. width: 100%;
  3. overflow: hidden;
  4. }
  5. .chat_title{
  6. position: fixed;
  7. background-color: #fff;
  8. width: 100%;
  9. z-index: 9;
  10. top: 0;
  11. height: 128rpx;
  12. }
  13. .chat_title text{
  14. line-height: 96rpx;
  15. font-size: 64rpx;
  16. font-weight: 400;
  17. margin-left: 32rpx;
  18. }
  19. .search,.search_input {
  20. width: 100%;
  21. height: 88rpx;
  22. background-color: #f2f2f2;
  23. display: flex;
  24. align-items: center;
  25. top: 0;
  26. left: 0;
  27. }
  28. .search {
  29. justify-content: space-around;
  30. }
  31. .search_input {
  32. justify-content: space-around;
  33. }
  34. .search view, .search_input view {
  35. height: 64rpx;
  36. line-height: 64rpx;
  37. background-color: #fff;
  38. border-radius: 17px;
  39. text-align: center;
  40. display: flex;
  41. align-items: center;
  42. margin: 0 32rpx;
  43. }
  44. .search view {
  45. width: 100%;
  46. justify-content: center;
  47. align-items: center;
  48. background-color: #fff;
  49. }
  50. .search image {
  51. display: block;
  52. width: 5%;
  53. height: 50%;
  54. }
  55. .search_input view {
  56. padding-left: 24rpx;
  57. text-align: left;
  58. flex: 1;
  59. margin: 0 28rpx 0 32rpx;
  60. }
  61. .search icon,.search_input icon {
  62. display: inline-block;
  63. margin: 4rpx 12rpx 0;
  64. font-size: 24rpx;
  65. }
  66. .search text {
  67. font-size: 30rpx;
  68. color: #9B9B9B;
  69. }
  70. .search_input text {
  71. display: inline-block;
  72. height: 60rpx;
  73. line-height: 60rpx;
  74. font-size: 30rpx;
  75. color: #0873DE;
  76. margin-right: 32rpx;
  77. }
  78. .search_input input {
  79. font-size: 28rpx;
  80. width: 90%;
  81. }
  82. .mask {
  83. background-color: black;
  84. opacity: 0.4;
  85. position: fixed;
  86. top: 80rpx;
  87. left: 0;
  88. right: 0;
  89. bottom: 0;
  90. }
  91. .chat_list_wraper{
  92. padding-bottom: 270rpx;
  93. box-sizing: border-box;
  94. height: 100%;
  95. position: fixed;
  96. overflow: hidden;
  97. }
  98. .chat_list {
  99. width: 100%;
  100. height: 128rpx;
  101. overflow: hidden;
  102. }
  103. .tap_mask{
  104. width: 100%;
  105. overflow: hidden;
  106. }
  107. .list_box{
  108. margin: 0 32rpx;
  109. height: 126rpx;
  110. border-bottom: 0.5px #E5E5E5 solid;
  111. display: flex;
  112. }
  113. .list_left {
  114. width: 63%;
  115. height: 100%;
  116. float: left;
  117. display: flex;
  118. flex-direction: row;
  119. align-items: center;
  120. flex: 1;
  121. }
  122. .list_text {
  123. width: 60%;
  124. height: 100%;
  125. float: left;
  126. font-size: 28rpx;
  127. }
  128. .list_pic {
  129. margin-right: 20rpx;
  130. }
  131. .list_pic image {
  132. display: block;
  133. width: 88rpx;
  134. height: 88rpx;
  135. }
  136. .list_user,.list_user2{
  137. font-size: 34rpx;
  138. color: #000;
  139. position: relative;
  140. top: 22rpx;
  141. overflow: hidden;
  142. width: 350rpx;
  143. display: inline-block;
  144. text-overflow: ellipsis;
  145. }
  146. .list_user2{
  147. top: 40rpx !important;
  148. }
  149. .em-msgNum {
  150. position: absolute;
  151. left: 84rpx;
  152. top: 20rpx;
  153. min-width: 28rpx;
  154. border-radius: 14rpx;
  155. background: #f04134;
  156. color: #fff;
  157. line-height: 28rpx;
  158. font-size: 25rpx;
  159. text-align: center;
  160. padding: 3rpx;
  161. z-index: 999;
  162. }
  163. .list_word {
  164. height: 40rpx;
  165. display: block;
  166. margin-top: 0;
  167. overflow: hidden;
  168. text-overflow: ellipsis;
  169. white-space: nowrap;
  170. position: absolute;
  171. width: 70%;
  172. font-size: 24rpx;
  173. color: #9B9B9B;
  174. top: 66rpx;
  175. }
  176. .list_right {
  177. width: 240rpx;
  178. height: 100%;
  179. float: right;
  180. font-size: 24rpx;
  181. text-align: right;
  182. }
  183. .list_right text:first-child {
  184. display: block;
  185. line-height: 60rpx;
  186. margin: 12rpx auto auto auto;
  187. }
  188. .list_right text:last-child {
  189. height: 40rpx;
  190. font-size: 26rpx;
  191. color: #CFCFCF;
  192. display: block;
  193. margin-top: 4rpx;
  194. }
  195. .chat_noChat{
  196. text-align: center;
  197. font-size: 30rpx;
  198. color: #9B9B9B;
  199. margin-top: 400rpx;
  200. }
  201. .ctbg{
  202. width: 138px;
  203. height: 106px;
  204. display: block;
  205. margin: 20rpx auto;
  206. }
  207. /* .main_title_hide{
  208. top: -128rpx;
  209. transition: top 0.5s;
  210. }
  211. .main_title_show{
  212. top: 0;
  213. transition: top 0.5s;
  214. } */
  215. /* .goTop{
  216. top: 0rpx;
  217. transition: top 0.5s;
  218. padding-bottom: 104rpx!important;
  219. }
  220. .goTopX{
  221. top: 0rpx;
  222. transition: top 0.5s;
  223. padding-bottom: 140rpx!important;
  224. }
  225. .goback{
  226. top: 128rpx;
  227. transition: top 0.5s;
  228. } */