index.module.less 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. .w1200 {
  2. width: 1002px;
  3. margin: 20px auto 40px;
  4. background-color: #fff;
  5. border-radius: 10px;
  6. }
  7. .allWrap {
  8. background-color: #f8f8f8;
  9. }
  10. .videoList {
  11. display: flex;
  12. flex-direction: row;
  13. flex-wrap: wrap;
  14. // margin-top: 20px;
  15. }
  16. .detailWrap {
  17. display: flex;
  18. flex-direction: row;
  19. .detailLeft {
  20. width: 628px;
  21. padding: 0 24px;
  22. margin: 26px 0;
  23. // margin-right: 16px;
  24. border-right: 1px solid #e7e6e6;
  25. .detailTopImg {
  26. background-color: #fff;
  27. width: 628px;
  28. // height: 463px;
  29. margin-bottom: 24px;
  30. border-radius: 10px;
  31. }
  32. }
  33. }
  34. .courseDetailWrap {
  35. .courseDetailTitle {
  36. display: flex;
  37. flex-direction: row;
  38. justify-content: space-between;
  39. align-items: top;
  40. margin-bottom: 10px;
  41. word-break: break-all;
  42. .courseDetailText {
  43. width: 580px;
  44. font-size: 26px;
  45. font-weight: 600;
  46. color: #000000;
  47. line-height: 40px;
  48. word-break: break-all;
  49. }
  50. .courseTitleR {
  51. display: flex;
  52. flex-direction: row;
  53. justify-content: flex-end;
  54. align-items: bottom;
  55. position: relative;
  56. top: 10px;
  57. min-width: 130px;
  58. span {
  59. font-size: 16px;
  60. font-weight: 600;
  61. color: #00bf9b;
  62. line-height: 22px;
  63. }
  64. img {
  65. width: 20px;
  66. height: 20px;
  67. margin-right: 10px;
  68. }
  69. }
  70. }
  71. }
  72. .tag {
  73. background-color: rgba(188, 253, 241, 0.46);
  74. color: #00886d;
  75. // padding: 0px 4px;
  76. font-size: 14px;
  77. margin-right: 16px;
  78. border-radius: 20px;
  79. padding: 0 16px;
  80. height: 30px;
  81. line-height: 30px;
  82. text-align: center;
  83. display: inline-block;
  84. margin-bottom: 50px;
  85. }
  86. .courseWrap {
  87. // padding: 20px;
  88. background-color: #fff;
  89. .courseTitle {
  90. display: flex;
  91. flex-direction: row;
  92. align-items: center;
  93. font-size: 18px;
  94. font-family: PingFangSC-Medium, PingFang SC;
  95. font-weight: 600;
  96. color: #333;
  97. line-height: 28px;
  98. word-break: break-all;
  99. img {
  100. width: 30px;
  101. height: 20px;
  102. margin-left: 10px;
  103. }
  104. }
  105. .courseInfo {
  106. margin-top: 14px;
  107. padding-bottom: 53px;
  108. word-break: break-all;
  109. // border-bottom: 1px solid #f0f0f0;
  110. p {
  111. font-size: 16px;
  112. font-weight: 400;
  113. color: #656565;
  114. line-height: 28px;
  115. word-break: break-all;
  116. // text-overflow: -o-ellipsis-lastline;
  117. // overflow: hidden; //溢出内容隐藏
  118. // text-overflow: ellipsis; //文本溢出部分用省略号表示
  119. // display: -webkit-box; //特别显示模式
  120. // -webkit-line-clamp: 2; //行数
  121. // line-clamp: 2;
  122. // -webkit-box-orient: vertical; //盒子中内容竖直排列
  123. }
  124. }
  125. }
  126. .courseListWrap {
  127. margin-top: 16px;
  128. word-break: break-all;
  129. .courseTitle {
  130. display: flex;
  131. flex-direction: row;
  132. justify-content: space-between;
  133. align-items: center;
  134. margin-bottom: 16px;
  135. .courseTitleLeft {
  136. display: flex;
  137. flex-direction: row;
  138. justify-content: flex-start;
  139. font-size: 18px;
  140. font-family: PingFangSC-Medium, PingFang SC;
  141. font-weight: 600;
  142. color: #333;
  143. line-height: 28px;
  144. align-items: center;
  145. img {
  146. width: 30px;
  147. height: 20px;
  148. margin-right: 10px;
  149. }
  150. }
  151. .courseTitlTimer {
  152. font-size: 16px;
  153. font-family: PingFangSC-Medium, PingFang SC;
  154. font-weight: 600;
  155. color: #ff6422;
  156. line-height: 22px;
  157. display: flex;
  158. flex-direction: row;
  159. align-items: center;
  160. img {
  161. width: 16px;
  162. height: 16px;
  163. margin-right: 10px;
  164. }
  165. }
  166. }
  167. }
  168. .detailRight {
  169. width: 360px;
  170. .teacherInfo {
  171. padding: 26px 6px 20px 24px;
  172. background-color: #fff;
  173. h2 {
  174. font-size: 18px;
  175. font-weight: 600;
  176. color: #000000;
  177. line-height: 25px;
  178. margin-bottom: 23px;
  179. }
  180. .teacherTopInfo {
  181. display: flex;
  182. flex-direction: row;
  183. justify-content: space-between;
  184. align-items: center;
  185. .fensNum {
  186. font-size: 24px;
  187. font-family: PingFangSC-Medium, PingFang SC;
  188. font-weight: 600;
  189. color: #ff8b00;
  190. line-height: 33px;
  191. text-align: center;
  192. }
  193. .fens {
  194. font-size: 14px;
  195. font-family: PingFangSC-Regular, PingFang SC;
  196. font-weight: 400;
  197. color: #999999;
  198. line-height: 20px;
  199. }
  200. }
  201. .teacherHeadWrap {
  202. display: flex;
  203. flex-direction: row;
  204. align-items: center;
  205. justify-content: space-between;
  206. .teacherHeadLeft {
  207. display: flex;
  208. flex-direction: row;
  209. align-items: center;
  210. .teacherHeader {
  211. width: 68px;
  212. height: 68px;
  213. border-radius: 50%;
  214. border: 1px solid #2dc7aa;
  215. overflow: hidden;
  216. margin-right: 17px;
  217. object-fit: cover;
  218. }
  219. .teacherHeadName {
  220. padding-top: 2px;
  221. // display: flex;
  222. // flex-direction: row;
  223. // align-items: center;
  224. font-size: 16px;
  225. font-family: PingFangSC-Semibold, PingFang SC;
  226. font-weight: 600;
  227. color: #000;
  228. line-height: 22px;
  229. span {
  230. margin-bottom: 10px;
  231. display: block;
  232. }
  233. .teacherIcon {
  234. width: 54px;
  235. height: 22px;
  236. margin-right: 5px;
  237. }
  238. }
  239. .iconWrapList {
  240. display: flex;
  241. flex-direction: row;
  242. align-items: center;
  243. .teacherDetailIcon {
  244. width: 26px;
  245. height: 26px;
  246. }
  247. .vipIcon {
  248. width: 42px;
  249. height: 26px;
  250. }
  251. }
  252. }
  253. .fensNum {
  254. font-size: 24px;
  255. font-family: PingFangSC-Medium, PingFang SC;
  256. font-weight: 600;
  257. color: #ff8b00;
  258. line-height: 33px;
  259. }
  260. .fens {
  261. font-size: 14px;
  262. font-family: PingFangSC-Regular, PingFang SC;
  263. font-weight: 400;
  264. color: #999999;
  265. line-height: 20px;
  266. }
  267. .teacherHeadRight {
  268. width: 67px;
  269. height: 26px;
  270. background: #ff6969;
  271. border-radius: 13px;
  272. font-size: 14px;
  273. color: #ffffff;
  274. line-height: 26px;
  275. text-align: center;
  276. cursor: pointer;
  277. }
  278. .teacherHeadRight.isStart {
  279. height: 28px;
  280. border: 1px solid #ff6969;
  281. background: #fff;
  282. color: #ff6969;
  283. }
  284. }
  285. //
  286. .courseWrap {
  287. padding: 20px;
  288. background-color: #fff;
  289. .courseTitle {
  290. display: flex;
  291. flex-direction: row;
  292. align-items: center;
  293. font-size: 20px;
  294. font-family: PingFangSC-Medium, PingFang SC;
  295. font-weight: 600;
  296. color: #333;
  297. line-height: 28px;
  298. img {
  299. width: 26px;
  300. height: 26px;
  301. margin-right: 8px;
  302. }
  303. }
  304. }
  305. .titleWrap {
  306. display: flex;
  307. flex-direction: row;
  308. align-items: center;
  309. justify-content: flex-start;
  310. margin-top: 43px;
  311. padding-bottom: 20px;
  312. span {
  313. font-size: 20px;
  314. color: #000;
  315. line-height: 28px;
  316. font-weight: 600;
  317. }
  318. img {
  319. width: 24px;
  320. height: 24px;
  321. margin-right: 10px;
  322. }
  323. }
  324. .teacherDetail {
  325. font-size: 14px;
  326. font-family: PingFangSC-Regular, PingFang SC;
  327. font-weight: 400;
  328. color: #999;
  329. line-height: 28px;
  330. }
  331. .teacherVideoList {
  332. display: flex;
  333. flex-direction: row;
  334. flex-wrap: wrap;
  335. .videoItem {
  336. cursor: pointer;
  337. &:hover {
  338. .player {
  339. visibility: visible;
  340. }
  341. }
  342. .player {
  343. position: absolute;
  344. width: 48px;
  345. height: 48px;
  346. left: 50%;
  347. top: 50%;
  348. margin-left: -24px;
  349. margin-top: -24px;
  350. visibility: hidden;
  351. }
  352. .Styles {
  353. width: 160px;
  354. height: 160px;
  355. }
  356. .videoItemVideo {
  357. width: 160px;
  358. height: 160px;
  359. object-fit: cover;
  360. border-radius: 10px;
  361. }
  362. margin-right: 10px;
  363. margin-bottom: 12px;
  364. width: 160px;
  365. height: 160px;
  366. position: relative;
  367. &:nth-child(2n) {
  368. margin-right: 0;
  369. }
  370. }
  371. }
  372. }
  373. .otherCourse {
  374. margin-top: 14px;
  375. padding: 16px 8px 10px 24px;
  376. background-color: #fff;
  377. h2 {
  378. font-size: 20px;
  379. font-family: PingFangSC-Semibold, PingFang SC;
  380. font-weight: 600;
  381. color: #000;
  382. line-height: 30px;
  383. margin-bottom: 20px;
  384. }
  385. }
  386. }
  387. .hotSearchWrap {
  388. margin-top: 20px;
  389. }