videoCourseItem.module.less 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. .videoWrap {
  2. display: flex;
  3. flex-direction: row;
  4. margin-bottom: 12px;
  5. .videoImgWrapImg {
  6. width: 220px;
  7. height: 124px;
  8. margin-right: 10px;
  9. max-width: 220px!important;
  10. }
  11. .videoImgWrap {
  12. cursor: pointer;
  13. position: relative;
  14. .player {
  15. position: absolute;
  16. width: 32px;
  17. height: 32px;
  18. left: 50%;
  19. top: 50%;
  20. margin-left: -16px;
  21. margin-top: -16px;
  22. }
  23. }
  24. .courseInfo {
  25. padding-top: 7px;
  26. h4 {
  27. font-size: 17px;
  28. font-weight: 600;
  29. color: #333;
  30. line-height: 28px;
  31. margin-bottom: 6px;
  32. }
  33. .courseDetial {
  34. font-size: 16px;
  35. font-family: PingFangSC-Regular, PingFang SC;
  36. font-weight: 400;
  37. color: #666666;
  38. line-height: 25px;
  39. display: -webkit-box;
  40. overflow: hidden;
  41. text-overflow: ellipsis;
  42. -webkit-line-clamp: 4;
  43. -webkit-box-orient: vertical;
  44. }
  45. }
  46. }
  47. .scanTxt {
  48. span {
  49. color: var(--el-color-primary);
  50. }
  51. }
  52. .videoWrap {
  53. :global {
  54. .el-dialog {
  55. --el-dialog-width: 440px !important;
  56. --el-dialog-bg-color: transparent !important;
  57. }
  58. .el-dialog__header,
  59. .el-dialog__body {
  60. padding: 0;
  61. }
  62. --el-border-color-light: transparent !important;
  63. .el-tabs {
  64. --el-tabs-header-height: 35px !important;
  65. }
  66. .el-tabs__content {
  67. overflow: inherit;
  68. }
  69. .el-tabs__item {
  70. @apply text-lg !important;
  71. --el-text-color-primary: #666 !important;
  72. }
  73. }
  74. }
  75. .scanTxt {
  76. span {
  77. color: var(--el-color-primary);
  78. }
  79. }
  80. .iconClose {
  81. background: url('../images/icon_close.png') no-repeat center;
  82. background-size: 100%;
  83. }