teacher-header.module.less 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. .headerContent {
  2. // padding-top: 12px;
  3. // padding-bottom: 20px;
  4. min-height: 100px;
  5. position: relative;
  6. }
  7. .teacherContent {
  8. display: flex;
  9. justify-content: space-between;
  10. flex-shrink: 0;
  11. }
  12. .teacherUs {
  13. padding-left: 20px;
  14. flex: 1 auto;
  15. }
  16. .teacherIcon {
  17. position: relative;
  18. // margin-top: -38px;
  19. line-height: 0;
  20. .avatar {
  21. position: relative;
  22. width: 78px;
  23. height: 78px;
  24. box-sizing: border-box;
  25. border: 1px solid #fff;
  26. background-color: #fff;
  27. }
  28. .avatarActive {
  29. border-color: #F0AF88;
  30. background-color: #F0AF88;
  31. }
  32. .teacherIconVip {
  33. position: absolute;
  34. bottom: 0;
  35. right: -12px;
  36. width: 39px;
  37. height: 18px;
  38. }
  39. }
  40. .teacherInfo {
  41. display: flex;
  42. align-items: center;
  43. padding: 14px 0 0;
  44. .teacherInfoName {
  45. font-weight: 600;
  46. font-size: 22px;
  47. color: #FFFFFF;
  48. max-width: 150px;
  49. overflow: hidden;
  50. white-space: nowrap;
  51. text-overflow: ellipsis;
  52. }
  53. &>img {
  54. margin-left: 10px;
  55. width: 39px;
  56. height: 16px;
  57. }
  58. }
  59. .teacherHonor {
  60. display: flex;
  61. align-items: center;
  62. font-size: 12px;
  63. line-height: 16px;
  64. color: #666;
  65. font-weight: 500;
  66. padding-left: 8px;
  67. .score {
  68. margin-left: 25px;
  69. }
  70. }
  71. .headerCount {
  72. width: 100%;
  73. padding: 14px 14px 20px;
  74. margin: 0 auto;
  75. border-radius: 10px;
  76. box-sizing: border-box;
  77. }
  78. .teacherOperation {
  79. padding-top: 18px;
  80. display: flex;
  81. :global {
  82. .van-button {
  83. height: 36px;
  84. border-radius: 6px;
  85. background: rgba(255, 255, 255, .2);
  86. border: none;
  87. color: #FFFFFF;
  88. font-size: 14px;
  89. font-weight: 600;
  90. }
  91. }
  92. .btn {
  93. padding: 3px 12px 1px;
  94. flex: 1;
  95. img {
  96. width: 18px;
  97. // height: 18px;
  98. vertical-align: sub;
  99. margin-right: 6px;
  100. }
  101. &:first-child {
  102. margin-right: 13px;
  103. }
  104. }
  105. .btnStar {
  106. color: #F8F9FC;
  107. background: #2DC7AA;
  108. // &::before {
  109. // background: #2DC7AA;
  110. // }
  111. }
  112. }
  113. .subjectSection {
  114. margin-right: 10px;
  115. // height: 18px;
  116. max-width: 44px;
  117. box-sizing: content-box;
  118. }
  119. .teacher-bottom {
  120. padding: 11px 0 0 0;
  121. display: flex;
  122. align-items: center;
  123. .iconCert {
  124. height: 18px;
  125. margin-right: 8px;
  126. }
  127. }
  128. .followFans {
  129. padding-top: 10px !important;
  130. }
  131. .teacher-data {
  132. display: flex;
  133. align-items: center;
  134. justify-content: space-between;
  135. .teacher-data_item {
  136. font-size: 13px;
  137. color: rgba(255,255,255,0.6);
  138. position: relative;
  139. line-height: 1.2;
  140. span {
  141. font-weight: 500;
  142. font-family: DINAlternate, DINAlternate;
  143. font-weight: bold;
  144. font-size: 15px;
  145. color: #fff;
  146. margin-left: 5px;
  147. }
  148. &::after {
  149. content: ' ';
  150. display: inline-block;
  151. position: absolute;
  152. right: 0px;
  153. top: 2px;
  154. width: 1px;
  155. height: 16px;
  156. background: #ebebeb;
  157. }
  158. &:first-child {
  159. padding-right: 15px;
  160. margin-right: 15px;
  161. }
  162. &:last-child {
  163. &::after {
  164. display: none;
  165. }
  166. }
  167. }
  168. }
  169. .iconVip {
  170. width: 34px !important;
  171. margin-right: 5px;
  172. }
  173. .iconOther {
  174. margin-left: 6px;
  175. width: 18px;
  176. height: 18px;
  177. }
  178. .teacher-info {
  179. margin-left: 8px;
  180. .teacher-name {
  181. font-size: 18px;
  182. font-weight: 500;
  183. color: #1a1a1a;
  184. padding-bottom: 6px;
  185. display: flex;
  186. justify-content: space-between;
  187. .teacherCert {
  188. display: flex;
  189. align-items: center;
  190. }
  191. .teacherLast {
  192. display: inline-block;
  193. max-width: 120px;
  194. overflow: hidden;
  195. text-overflow: ellipsis;
  196. white-space: nowrap;
  197. }
  198. }
  199. }
  200. .subjectList::-webkit-scrollbar {
  201. display: none;
  202. /* Chrome Safari */
  203. }
  204. .subjectList {
  205. overflow: auto;
  206. width: 285px;
  207. // height: 18px;
  208. display: flex;
  209. flex-wrap: nowrap;
  210. }
  211. .piNameSubject {
  212. display: flex;
  213. align-items: center;
  214. padding-top: 20px;
  215. .subject {
  216. display: flex;
  217. align-items: center;
  218. margin-left: 8px;
  219. background: rgba(255, 255, 255, .2);
  220. border-radius: 10px;
  221. font-size: 12px;
  222. line-height: 1.3;
  223. color: #FFFFFF;
  224. padding: 4px 8px 3px;
  225. white-space: nowrap;
  226. &:first-child {
  227. margin-left: 0;
  228. }
  229. }
  230. }
  231. .rTitle {
  232. display: flex;
  233. align-items: center;
  234. &::before {
  235. margin-right: 8px;
  236. content: ' ';
  237. display: inline-block;
  238. width: 4px;
  239. height: 14px;
  240. background: #2dc7aa;
  241. border-radius: 3px;
  242. }
  243. }
  244. .liveTag {
  245. position: absolute;
  246. top: -1.5px;
  247. left: 50%;
  248. transform: translateX(-50%);
  249. width: 34px;
  250. // line-height: 16px;
  251. // background: #ff6363;
  252. // border-radius: 20px;
  253. // text-align: center;
  254. // color: #fff;
  255. // font-size: 10px;
  256. // font-weight: 500;
  257. // padding: 2px 0;
  258. // width: 60%;
  259. z-index: 10;
  260. }
  261. .teacherName {
  262. display: inline-block;
  263. flex: 1;
  264. white-space: nowrap;
  265. overflow: hidden;
  266. text-overflow: ellipsis;
  267. max-width: 100px;
  268. }
  269. .teacherIcons {
  270. display: flex;
  271. align-items: center;
  272. }
  273. .teaherPopup {
  274. background: transparent;
  275. width: 276px;
  276. overflow: initial;
  277. }
  278. .teacherIconWrap {
  279. padding: 50px 22px 22px 22px;
  280. background-color: #fff;
  281. border-radius: 0 0 10px 10px;
  282. margin-top: -25px;
  283. }
  284. .teacherIconItem {
  285. margin-bottom: 16px;
  286. .teacherIconItemTop {
  287. display: flex;
  288. align-items: center;
  289. margin-bottom: 10px;
  290. }
  291. :global {
  292. .van-image {
  293. margin-right: 8px;
  294. width: 24px;
  295. height: 24px;
  296. }
  297. }
  298. .teacherIconTitle {
  299. font-size: 16px;
  300. font-weight: bold;
  301. color: #333;
  302. }
  303. .teacherIconDes {
  304. font-size: 12px;
  305. line-height: 16px;
  306. font-weight: 400;
  307. padding-left: 3px;
  308. color: #666;
  309. }
  310. }
  311. .closeIcon {
  312. position: absolute;
  313. bottom: -54px;
  314. left: 50%;
  315. transform: translateX(-50%);
  316. width: 0.96rem;
  317. height: 0.96rem;
  318. }
  319. .liveList {
  320. padding: 12px 0;
  321. .headerFollow {
  322. margin-bottom: 12px;
  323. .teacherIcon {
  324. margin: 0 10px 0 0;
  325. }
  326. .score {
  327. margin-left: 10px;
  328. }
  329. .teacherIconVip {
  330. left: 50%;
  331. right: initial;
  332. transform: translateX(-50%);
  333. bottom: -6px;
  334. }
  335. .liveTag {
  336. // bottom: -30px;
  337. width: 80%;
  338. }
  339. .avatar {
  340. width: 72px;
  341. height: 72px;
  342. }
  343. .piNameSubject {
  344. align-items: flex-start;
  345. }
  346. .subjectList {
  347. flex-wrap: wrap;
  348. }
  349. .subject {
  350. margin: 2px 5px 3px 0;
  351. }
  352. .teacher-bottom {
  353. padding-top: 24px;
  354. }
  355. .unlinkeBtn {
  356. font-size: 12px;
  357. color: #ff6363;
  358. border: 1px solid #ff6363;
  359. padding: 5px 10px;
  360. border-radius: 20px;
  361. }
  362. }
  363. }
  364. .followContainer {
  365. display: flex;
  366. align-items: flex-start;
  367. }