web.scss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. .TUI-group {
  2. position: relative;
  3. width: 100%;
  4. height: calc(100% - 49px);
  5. overflow-y: auto;
  6. box-sizing: border-box;
  7. }
  8. .TUI-conversation-list {
  9. position: absolute;
  10. width: 100%;
  11. }
  12. .TUI-contact-list {
  13. flex: 1;
  14. width: 100%;
  15. list-style: none;
  16. position: relative;
  17. width: 100%;
  18. height: 100%;
  19. overflow-y: auto;
  20. box-sizing: border-box;
  21. &-item {
  22. margin: 0 6px;
  23. padding: 12Px 9Px;
  24. position: relative;
  25. display: flex;
  26. align-items: center;
  27. border-radius: 8px;
  28. cursor: pointer;
  29. label {
  30. font-size: 14Px;
  31. }
  32. &:hover {
  33. background: #F5F6FA;
  34. .icon-close {
  35. display: inline-block;
  36. }
  37. }
  38. .left {
  39. position: relative;
  40. width: 48Px;
  41. height: 48Px;
  42. margin-right: 10px;
  43. .num {
  44. position: absolute;
  45. display: inline-block;
  46. right: -8Px;
  47. top: -8Px;
  48. width: 20Px;
  49. height: 20Px;
  50. font-size: 10Px;
  51. text-align: center;
  52. line-height: 20Px;
  53. border-radius: 50%;
  54. }
  55. .avatar {
  56. width: 100%;
  57. border-radius: 5Px;
  58. height: 100%;
  59. object-fit: cover;
  60. }
  61. .online-status {
  62. box-sizing: border-box;
  63. position: absolute;
  64. width: 11Px;
  65. height: 11Px;
  66. // left: 24Px;
  67. // top: 22Px;
  68. right: 0px;
  69. bottom: 3px;
  70. border: 2Px solid #ffffff;
  71. box-shadow: 0Px 0Px 4Px rgba(0, 0, 0, 0.102606);
  72. border-radius: 50%;
  73. &-online {
  74. background: #29cc85;
  75. }
  76. &-offline {
  77. background: #a4a4a4;
  78. }
  79. }
  80. }
  81. .content {
  82. flex: 1;
  83. padding-left: 8Px;
  84. display: flex;
  85. justify-content: space-between;
  86. align-items: center;
  87. ul {
  88. flex: 1;
  89. display: flex;
  90. flex-direction: column;
  91. li {
  92. flex: 1;
  93. display: flex;
  94. align-items: center;
  95. font-size: 14Px;
  96. line-height: 16Px;
  97. span {
  98. flex: 1;
  99. width: 0;
  100. overflow: hidden;
  101. text-overflow: ellipsis;
  102. white-space: nowrap;
  103. }
  104. }
  105. .name {
  106. padding-bottom: 2Px;
  107. font-size: 14Px;
  108. color: #333;
  109. font-weight: 500;
  110. }
  111. }
  112. .type {
  113. padding: 0 4Px;
  114. line-height: 14Px;
  115. font-size: 12Px;
  116. border-radius: 1Px;
  117. }
  118. }
  119. }
  120. .not-aside {
  121. padding-left: 40Px;
  122. display: flex;
  123. justify-content: space-between;
  124. }
  125. }
  126. .reduce {
  127. position: relative;
  128. display: inline-block;
  129. width: 36Px;
  130. height: 36Px;
  131. &::before {
  132. position: absolute;
  133. content: '';
  134. width: 50%;
  135. height: 1Px;
  136. top: 0;
  137. bottom: 0;
  138. left: 0;
  139. right: 0;
  140. margin: auto;
  141. }
  142. }
  143. .center {
  144. display: flex;
  145. justify-content: center;
  146. }
  147. .btn {
  148. padding: 8Px 20Px;
  149. border-radius: 4Px;
  150. border: none;
  151. font-size: 14Px;
  152. text-align: center;
  153. line-height: 20Px;
  154. }
  155. input {
  156. box-sizing: border-box;
  157. border-radius: 5Px;
  158. padding: 10Px;
  159. }
  160. .search {
  161. flex: 1;
  162. display: flex;
  163. &-box {
  164. flex: 1;
  165. display: flex;
  166. align-items: center;
  167. h1 {
  168. padding: 2Px 8Px;
  169. font-size: 14Px;
  170. }
  171. .input-box {
  172. display: flex;
  173. position: relative;
  174. flex: 1;
  175. input {
  176. flex: 1;
  177. margin-right: 0;
  178. }
  179. .icon {
  180. position: absolute;
  181. right: 10Px;
  182. top: 0;
  183. bottom: 0;
  184. margin: auto 0;
  185. }
  186. }
  187. .search-cancel {
  188. padding-left: 10Px;
  189. font-size: 12Px;
  190. line-height: 18Px;
  191. }
  192. }
  193. }
  194. .content-header {
  195. flex: 1;
  196. display: flex;
  197. flex-direction: column;
  198. label {
  199. flex: 1;
  200. font-size: 14Px;
  201. }
  202. .name {
  203. width: 110Px;
  204. letter-spacing: 0;
  205. font-size: 14Px;
  206. overflow: hidden;
  207. text-overflow: ellipsis;
  208. white-space: nowrap;
  209. }
  210. }
  211. .middle-box {
  212. flex: 1;
  213. display: flex;
  214. align-items: center;
  215. font-weight: 400;
  216. color: #999999;
  217. letter-spacing: 0;
  218. span {
  219. font-size: 12Px;
  220. }
  221. p {
  222. flex: 1;
  223. width: 0;
  224. overflow: hidden;
  225. text-overflow: ellipsis;
  226. white-space: nowrap;
  227. font-size: 12Px;
  228. line-height: 16Px;
  229. }
  230. }
  231. .content-footer {
  232. line-height: 16Px;
  233. display: flex;
  234. flex-direction: column;
  235. .time {
  236. font-size: 12Px;
  237. line-height: 16Px;
  238. display: inline-block;
  239. max-width: 75Px;
  240. white-space: nowrap;
  241. color: #bbbbbb
  242. }
  243. img {
  244. width: 16Px;
  245. height: 16Px;
  246. margin-top: 5Px;
  247. align-self: flex-end;
  248. }
  249. }
  250. .sectionSearch {
  251. padding: 0 20px 12px;
  252. }