index.module.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .style {
  2. padding: 0 14px;
  3. }
  4. .lineContainer {
  5. display: flex;
  6. flex-flow: wrap;
  7. justify-content: space-between;
  8. }
  9. .line {
  10. width: 168px;
  11. }
  12. .styleItem {
  13. position: relative;
  14. width: 168px;
  15. overflow: hidden;
  16. box-shadow: 0px 2px 10px 0px rgba(229, 229, 229, 0.1);
  17. border-radius: 8px;
  18. background-color: #fff;
  19. margin-bottom: 12px;
  20. .styleImg {
  21. position: relative;
  22. }
  23. .img {
  24. width: 168px;
  25. height: 168px;
  26. &.first {
  27. height: 222px;
  28. }
  29. }
  30. .iconVideoPlay {
  31. position: absolute;
  32. top: 8px;
  33. right: 8px;
  34. width: 24px;
  35. height: 24px;
  36. }
  37. .living {
  38. position: absolute;
  39. top: 15px;
  40. right: 0;
  41. line-height: 24px;
  42. background: rgba(0, 0, 0, 0.2);
  43. border-radius: 13px 0px 0px 13px;
  44. display: flex;
  45. align-items: center;
  46. .animationContainer {
  47. width: 24px;
  48. height: 24px;
  49. background: linear-gradient(180deg, #ff6e6e 0%, #ff3b3b 100%);
  50. border-radius: 50%;
  51. display: flex;
  52. align-items: center;
  53. justify-content: center;
  54. }
  55. .animation {
  56. width: 11px;
  57. height: 10px;
  58. }
  59. span {
  60. font-size: 12px;
  61. color: #ffffff;
  62. line-height: 17px;
  63. padding: 0 7px 0 5px;
  64. }
  65. }
  66. .userInfo {
  67. padding: 14px 10px;
  68. }
  69. .userInfo,
  70. .user {
  71. display: flex;
  72. align-items: center;
  73. justify-content: space-between;
  74. }
  75. .user {
  76. .userImg {
  77. width: 16px;
  78. height: 16px;
  79. border-radius: 50%;
  80. overflow: hidden;
  81. margin-right: 5px;
  82. }
  83. span {
  84. font-size: 12px;
  85. color: #333333;
  86. line-height: 17px;
  87. max-width: 70px;
  88. overflow: hidden;
  89. white-space: nowrap;
  90. text-overflow: ellipsis;
  91. }
  92. }
  93. .lookNum {
  94. font-size: 12px;
  95. color: #999999;
  96. line-height: 17px;
  97. }
  98. }