live-item.module.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. .liveItem {
  2. margin: 10px 10px 0;
  3. width: auto !important;
  4. border-radius: 8px;
  5. padding: 10px;
  6. .liCover {
  7. width: 170px;
  8. height: 96px;
  9. background: #c6c7cb;
  10. border-radius: 8px;
  11. overflow: hidden;
  12. margin-right: 8px;
  13. vertical-align: middle;
  14. }
  15. .liTitle {
  16. padding-top: 4px;
  17. font-size: 14px;
  18. font-weight: 600;
  19. color: #333333;
  20. line-height: 20px;
  21. max-width: 150px;
  22. white-space: nowrap;
  23. overflow: hidden;
  24. text-overflow: ellipsis;
  25. }
  26. .liUserInfo {
  27. padding-top: 4px;
  28. padding-bottom: 9px;
  29. font-size: 12px;
  30. color: #6a6a6a;
  31. line-height: 16px;
  32. }
  33. .liteachername {
  34. display: flex;
  35. align-items: center;
  36. margin-bottom: 6px;
  37. }
  38. .liteacherIcon {
  39. width: 18px;
  40. height: 18px;
  41. border-radius: 50%;
  42. overflow: hidden;
  43. margin-right: 4px;
  44. flex-shrink: 0;
  45. }
  46. .liPrice {
  47. display: flex;
  48. align-items: center;
  49. justify-content: space-between;
  50. .price {
  51. color: #fa6400;
  52. font-size: 14px;
  53. margin-right: 10px;
  54. font-weight: 600;
  55. i {
  56. font-style: normal;
  57. font-size: 11px;
  58. }
  59. }
  60. .classNum {
  61. background: #fff1de;
  62. border-radius: 4px;
  63. font-size: 12px;
  64. color: #ff9300;
  65. line-height: 18px;
  66. padding: 1px 4px;
  67. }
  68. .num,
  69. .buyNum {
  70. font-size: 12px;
  71. color: #ff802c;
  72. line-height: 18px;
  73. }
  74. .buyNum {
  75. color: #999999;
  76. display: flex;
  77. align-items: center;
  78. line-height: 1;
  79. }
  80. }
  81. .subjectName {
  82. position: absolute;
  83. top: 8px;
  84. left: 8px;
  85. font-size: 12px;
  86. padding: 3px 5px;
  87. color: #ffffff;
  88. line-height: 1;
  89. border-radius: 1px;
  90. background: rgba(0, 0, 0, 0.29);
  91. }
  92. .iconTimer {
  93. width: 17px;
  94. height: 17px;
  95. vertical-align: bottom;
  96. }
  97. }