videoCourseItem.module.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. .videoWrap {
  2. display: flex;
  3. flex-direction: row;
  4. padding: 20px 0;
  5. border-bottom: 1px solid #e7e6e6;
  6. &:hover {
  7. background-color: #f4f4f4;
  8. }
  9. .videoImgWrapImg {
  10. width: 208px;
  11. height: 116px;
  12. margin-right: 10px;
  13. border-radius: 10px;
  14. overflow: hidden;
  15. max-width: 208px !important;
  16. }
  17. .videoImgWrap {
  18. cursor: pointer;
  19. position: relative;
  20. .player {
  21. position: absolute;
  22. width: 32px;
  23. height: 32px;
  24. left: 50%;
  25. top: 50%;
  26. margin-left: -16px;
  27. margin-top: -16px;
  28. }
  29. }
  30. .courseInfo {
  31. padding-top: 7px;
  32. h4 {
  33. font-size: 18px;
  34. font-weight: 600;
  35. color: #333;
  36. line-height: 25px;
  37. margin-bottom: 4px;
  38. }
  39. .courseDetial {
  40. font-size: 14px;
  41. font-family: PingFangSC-Regular, PingFang SC;
  42. font-weight: 400;
  43. color: #666666;
  44. line-height: 25px;
  45. // height: 56px;
  46. display: -webkit-box;
  47. overflow: hidden;
  48. text-overflow: ellipsis;
  49. -webkit-line-clamp: 2;
  50. -webkit-box-orient: vertical;
  51. line-height: 24px;
  52. // margin-bottom: 5px;
  53. }
  54. .courseDetialTime {
  55. font-size: 14px;
  56. font-weight: 400;
  57. color: #ff6422;
  58. line-height: 28px;
  59. display: flex;
  60. flex-direction: row;
  61. align-items: center;
  62. img {
  63. width: 16px;
  64. height: 16px;
  65. margin-right: 10px;
  66. }
  67. // span {
  68. // margin-right: px;
  69. // }
  70. }
  71. }
  72. }
  73. .scanTxt {
  74. span {
  75. color: var(--el-color-primary);
  76. }
  77. }
  78. .videoWrap {
  79. :global {
  80. .el-dialog {
  81. --el-dialog-width: 440px !important;
  82. --el-dialog-bg-color: transparent !important;
  83. border-radius: 10px;
  84. overflow: hidden;
  85. }
  86. .el-dialog__header,
  87. .el-dialog__body {
  88. padding: 0;
  89. }
  90. --el-border-color-light: transparent !important;
  91. .el-tabs {
  92. --el-tabs-header-height: 35px !important;
  93. }
  94. .el-tabs__content {
  95. overflow: inherit;
  96. }
  97. .el-tabs__item {
  98. @apply text-lg !important;
  99. --el-text-color-primary: #666 !important;
  100. }
  101. }
  102. }
  103. .registerSuccessBg {
  104. background: url('@/views/login/images/register_popup_bg.png') no-repeat left
  105. top;
  106. background-size: 128px;
  107. }
  108. .scanTxt {
  109. span {
  110. color: var(--el-color-primary);
  111. }
  112. }
  113. .iconClose {
  114. background: url('../images/icon_close.png') no-repeat center;
  115. background-size: 100%;
  116. }