index.module.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. .itemContent {
  2. padding: 16px 16px 5px;
  3. display: flex;
  4. color: var(--live-color);
  5. & > img {
  6. width: 28px;
  7. height: 28px;
  8. margin-right: 8px;
  9. }
  10. }
  11. .itemInfo {
  12. width: 100%;
  13. }
  14. .itemName {
  15. display: flex;
  16. justify-content: space-between;
  17. align-items: center;
  18. padding-top: 3px;
  19. .userName {
  20. font-size: 15px;
  21. line-height: 22px;
  22. // display: flex;
  23. align-items: center;
  24. font-weight: 500;
  25. }
  26. .name-style {
  27. line-height: 24px;
  28. color: var(--live-text-color);
  29. }
  30. .rightTime {
  31. font-size: 12px;
  32. }
  33. :global {
  34. .el-tag--default {
  35. border-radius: 20px;
  36. margin-right: 8px;
  37. height: 20px;
  38. // padding: 0 12px;
  39. // line-height: 20px;
  40. // color: var(--live-color);
  41. // background: var(--message-color);
  42. // border-color: var(--message-color);
  43. }
  44. }
  45. }
  46. .itemText {
  47. font-size: 15px;
  48. line-height: 20px;
  49. &.active {
  50. color: var(--live-text-color);
  51. }
  52. }
  53. .joinText {
  54. display: flex;
  55. justify-content: space-between;
  56. align-items: center;
  57. .join {
  58. display: flex;
  59. align-items: center;
  60. }
  61. }
  62. .btn {
  63. font-size: 13px;
  64. line-height: 20px;
  65. background-color: var(--live-light-color);
  66. border-color: var(--live-light-color);
  67. text-align: center;
  68. padding: 3px 15px 1px;
  69. border-radius: 2px;
  70. cursor: pointer;
  71. color: var(--live-color);
  72. text-decoration: none;
  73. &.downBtn {
  74. background-color: transparent;
  75. border-color: var(--live-light-color);
  76. color: var(--live-light-color);
  77. }
  78. }
  79. .loadingStyle {
  80. position: absolute;
  81. left: 0;
  82. right: 0;
  83. top: 0;
  84. bottom: 0;
  85. }
  86. .slide-top-enter-active {
  87. opacity: 0;
  88. animation-name: error-num;
  89. animation-duration: 0.5s;
  90. animation-fill-mode: forwards;
  91. animation-delay: 0.1s;
  92. }
  93. @keyframes error-num {
  94. 0% {
  95. transform: translateY(30px);
  96. opacity: 0;
  97. }
  98. 100% {
  99. transform: translateY(0);
  100. opacity: 1;
  101. }
  102. }