teacher-elegant.module.less 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. .classHeader {
  2. // background: linear-gradient(180deg, #59e5d5 0%, #fff 100%);
  3. background: linear-gradient(#59e5d5, 30%, #ffffff);
  4. }
  5. .teacher-elegant {
  6. :global {
  7. .van-list__loading,
  8. .van-list__finished-text,
  9. .van-list__error-text {
  10. width: 100%;
  11. }
  12. }
  13. }
  14. .label {
  15. margin-right: 8px;
  16. font-size: 14px;
  17. :global {
  18. .van-list__loading,
  19. .van-list__finished-text,
  20. .van-list__error-text {
  21. width: 100%;
  22. }
  23. .iconfont-down {
  24. margin-left: 4px;
  25. }
  26. }
  27. }
  28. .elegant {
  29. display: flex;
  30. justify-content: space-between;
  31. flex-wrap: wrap;
  32. padding: 14px;
  33. }
  34. .itemBg {
  35. position: absolute;
  36. top: 0;
  37. left: 0;
  38. bottom: 0;
  39. bottom: 0;
  40. width: 100%;
  41. height: 100%;
  42. z-index: 89;
  43. }
  44. .tedeoItem {
  45. border-radius: 8px;
  46. background-color: #fff;
  47. overflow: hidden;
  48. width: 168px;
  49. margin-bottom: 12px;
  50. position: relative;
  51. .teCover {
  52. height: 94px;
  53. width: 100%;
  54. vertical-align: middle;
  55. overflow: hidden;
  56. position: relative;
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. }
  61. .teSection {
  62. padding: 8px;
  63. }
  64. .teTitle {
  65. font-size: 14px;
  66. color: #1a1a1a;
  67. line-height: 20px;
  68. }
  69. .info {
  70. display: flex;
  71. align-items: center;
  72. justify-content: space-between;
  73. }
  74. .teUserInfo {
  75. display: flex;
  76. align-items: center;
  77. font-size: 12px;
  78. color: #999;
  79. padding: 2px 0;
  80. .teUserLogo {
  81. width: 18px;
  82. height: 18px;
  83. border-radius: 50%;
  84. margin-right: 5px;
  85. overflow: hidden;
  86. }
  87. .teUserName {
  88. padding-right: 6px;
  89. margin-right: 6px;
  90. max-width: 65px;
  91. // &::after {
  92. // content: '|';
  93. // display: inline-block;
  94. // }
  95. }
  96. }
  97. .teUserNum {
  98. color: #999999;
  99. font-size: 12px;
  100. }
  101. }
  102. .searchContainer {
  103. background-color: #fff;
  104. }
  105. .item {
  106. display: flex;
  107. align-items: center;
  108. justify-content: space-between;
  109. padding: 14px;
  110. .searchItem {
  111. width: 168px;
  112. height: 56px;
  113. }
  114. .title {
  115. font-size: 14px;
  116. font-weight: 600;
  117. color: #333333;
  118. line-height: 20px;
  119. padding-top: 10px;
  120. padding-left: 75px;
  121. }
  122. .content {
  123. padding-left: 75px;
  124. font-size: 12px;
  125. color: #666666;
  126. line-height: 20px;
  127. }
  128. .searchFollow {
  129. background: url('./images/follow_bg.png') no-repeat center;
  130. background-size: 100%;
  131. }
  132. .active {
  133. .title,
  134. .content {
  135. color: #ff1f95;
  136. }
  137. }
  138. .searchLive {
  139. background: url('./images/live_bg.png') no-repeat center;
  140. background-size: 100%;
  141. }
  142. .active2 {
  143. .title,
  144. .content {
  145. color: var(--van-primary);
  146. }
  147. }
  148. }
  149. .searchDefault {
  150. margin: 0 0 12px 14px;
  151. display: inline-flex;
  152. align-items: center;
  153. padding: 4px 8px;
  154. border-radius: 20px;
  155. color: #666666;
  156. font-size: 13px;
  157. background: #f7f8f9;
  158. .star {
  159. margin-right: 5px;
  160. }
  161. }
  162. .video {
  163. position: absolute;
  164. left: 0;
  165. top: 0;
  166. width: 100%;
  167. min-height: 100%;
  168. background-color: #ccc;
  169. border-radius: 4px 4px 0 0;
  170. }
  171. .living {
  172. position: absolute;
  173. top: 0;
  174. left: 0;
  175. color: #fff;
  176. font-weight: 500;
  177. right: 0;
  178. display: flex;
  179. align-items: center;
  180. justify-content: center;
  181. font-size: 16px;
  182. bottom: 0;
  183. background: rgba(51, 51, 51, 0.5);
  184. span {
  185. padding-left: 5px;
  186. }
  187. }
  188. .animation {
  189. height: 18px !important;
  190. width: 20px !important;
  191. }