index.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .t-conversation-item-container {
  2. width: 100vw;
  3. height: 150rpx;
  4. background-color: #FFFFFF;
  5. }
  6. .t-conversation-item {
  7. width: 100vw;
  8. height: 150rpx;
  9. display: flex;
  10. left: 0;
  11. align-items: center;
  12. justify-content: flex-start;
  13. box-sizing: border-box;
  14. border-bottom: 2rpx solid #EEF0F3;
  15. }
  16. .avatar-box{
  17. position: relative;
  18. display: inline-flex;
  19. }
  20. .t-conversation-item-avatar{
  21. position: relative;
  22. width: 96rpx;
  23. height: 96rpx;
  24. border-radius: 14rpx;
  25. /*padding-left: 40rpx;*/
  26. /*padding-right: 24rpx;*/
  27. /*padding-bottom: 28rpx;*/
  28. /*padding-top: 28rpx;*/
  29. margin: 0 16rpx;
  30. overflow: auto;
  31. }
  32. .t-conversation-item-content {
  33. max-width: 60%;
  34. flex: 1;
  35. padding-left: 20rpx;
  36. }
  37. .t-conversation-item-info {
  38. line-height: 34rpx;
  39. font-size: 24rpx;
  40. color: #999999;
  41. margin-right: 30rpx;
  42. }
  43. .t-error {
  44. background-color: #fb5250;
  45. color: #fff;
  46. }
  47. .t-conversation-delete {
  48. width: 144rpx;
  49. height: 100%;
  50. display: flex;
  51. align-items: center;
  52. justify-content: center;
  53. background-color: #E85454;
  54. color: #FFFFFF;
  55. line-height: 44rpx;
  56. font-size: 32rpx;
  57. }
  58. .tui-conversation-item-name {
  59. line-height: 53rpx;
  60. font-size: 36rpx;
  61. font-family: 'PingFangSC-Regular';
  62. color: #333333;
  63. }
  64. .tui-conversation-lastMessage {
  65. line-height: 40rpx;
  66. font-size: 28rpx;
  67. font-family: 'PingFangSC-Regular';
  68. color: #999999;
  69. max-width: 90%;
  70. text-overflow: ellipsis;
  71. white-space: nowrap;
  72. overflow: hidden;
  73. }
  74. .unread {
  75. top: -10rpx;
  76. right: 0rpx;
  77. position: absolute;
  78. padding: 0 10rpx;
  79. height: 15px;
  80. border-radius: 16rpx;
  81. color: #ffffff;
  82. background-color: red;
  83. }
  84. .read-text {
  85. line-height: 15px;
  86. font-size: 10px;
  87. }