live-item.module.less 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .liveItem {
  2. margin: 10px 14px 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. }
  23. .liUserInfo {
  24. padding-top: 4px;
  25. padding-bottom: 9px;
  26. font-size: 12px;
  27. color: #6a6a6a;
  28. line-height: 16px;
  29. }
  30. .liteachername {
  31. display: flex;
  32. align-items: center;
  33. margin-bottom: 6px;
  34. }
  35. .liteacherIcon {
  36. width: 18px;
  37. height: 18px;
  38. border-radius: 50%;
  39. overflow: hidden;
  40. margin-right: 4px;
  41. }
  42. .liPrice {
  43. display: flex;
  44. align-items: center;
  45. justify-content: space-between;
  46. .price {
  47. color: #fa6400;
  48. font-size: 14px;
  49. margin-right: 10px;
  50. font-weight: 600;
  51. i {
  52. font-style: normal;
  53. font-size: 11px;
  54. }
  55. }
  56. .classNum {
  57. background: #fff1de;
  58. border-radius: 4px;
  59. font-size: 12px;
  60. color: #ff9300;
  61. line-height: 18px;
  62. padding: 1px 4px;
  63. }
  64. .num,
  65. .buyNum {
  66. font-size: 12px;
  67. color: #ff802c;
  68. line-height: 18px;
  69. }
  70. .buyNum {
  71. color: #999999;
  72. display: flex;
  73. align-items: center;
  74. line-height: 1;
  75. }
  76. }
  77. .subjectName {
  78. position: absolute;
  79. top: 8px;
  80. left: 8px;
  81. font-size: 12px;
  82. padding: 3px 5px;
  83. color: #ffffff;
  84. line-height: 1;
  85. border-radius: 1px;
  86. background: rgba(0, 0, 0, 0.29);
  87. }
  88. }