teacher-elegant.module.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. .classHeader {
  2. // background: linear-gradient(180deg, #59e5d5 0%, #fff 100%);
  3. background: linear-gradient(#59e5d5, 30%, #ffffff);
  4. }
  5. :global {
  6. .van-list__loading,
  7. .van-list__finished-text,
  8. .van-list__error-text {
  9. width: 100%;
  10. }
  11. }
  12. .elegant {
  13. display: flex;
  14. justify-content: space-between;
  15. flex-wrap: wrap;
  16. padding: 14px;
  17. }
  18. .tedeoItem {
  19. border-radius: 4px 4px 0 0;
  20. background-color: #fff;
  21. overflow: hidden;
  22. width: 168px;
  23. margin-bottom: 12px;
  24. .teCover {
  25. height: 110px;
  26. width: 100%;
  27. vertical-align: middle;
  28. overflow: hidden;
  29. }
  30. .teSection {
  31. padding: 8px;
  32. }
  33. .teTitle {
  34. font-size: 14px;
  35. color: #1a1a1a;
  36. line-height: 20px;
  37. }
  38. .info {
  39. display: flex;
  40. align-items: center;
  41. justify-content: space-between;
  42. }
  43. .teUserInfo {
  44. display: flex;
  45. align-items: center;
  46. font-size: 12px;
  47. color: #999;
  48. padding: 8px 0;
  49. .teUserLogo {
  50. width: 18px;
  51. height: 18px;
  52. border-radius: 50%;
  53. margin-right: 5px;
  54. overflow: hidden;
  55. }
  56. .teUserName {
  57. padding-right: 6px;
  58. margin-right: 6px;
  59. // &::after {
  60. // content: '|';
  61. // display: inline-block;
  62. // }
  63. }
  64. }
  65. .teUserNum {
  66. color: #999999;
  67. }
  68. }
  69. .searchContainer {
  70. background-color: #fff;
  71. }
  72. .item {
  73. display: flex;
  74. align-items: center;
  75. justify-content: space-between;
  76. padding: 14px;
  77. .searchItem {
  78. width: 168px;
  79. height: 56px;
  80. }
  81. .title {
  82. font-size: 14px;
  83. font-weight: 600;
  84. color: #333333;
  85. line-height: 20px;
  86. padding-top: 10px;
  87. padding-left: 75px;
  88. }
  89. .content {
  90. padding-left: 75px;
  91. font-size: 12px;
  92. color: #666666;
  93. line-height: 20px;
  94. }
  95. .searchFollow {
  96. background: url('./images/follow_bg.png') no-repeat center;
  97. background-size: 100%;
  98. }
  99. .active {
  100. .title,
  101. .content {
  102. color: #ff1f95;
  103. }
  104. }
  105. .searchLive {
  106. background: url('./images/live_bg.png') no-repeat center;
  107. background-size: 100%;
  108. }
  109. .active2 {
  110. .title,
  111. .content {
  112. color: var(--van-primary);
  113. }
  114. }
  115. }
  116. .searchDefault {
  117. margin: 0 0 12px 14px;
  118. display: inline-flex;
  119. align-items: center;
  120. padding: 4px 8px;
  121. border-radius: 20px;
  122. color: #666666;
  123. font-size: 13px;
  124. background: #f7f8f9;
  125. .star {
  126. margin-right: 5px;
  127. }
  128. }