audioVideo.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. .audio-video-content {
  2. display: flex;
  3. flex-wrap: wrap;
  4. padding: 20rpx;
  5. justify-content: space-between;
  6. .cover-item {
  7. width: 100%;
  8. height: 240rpx;
  9. display: flex;
  10. flex-direction: column-reverse;
  11. position: relative;
  12. background-repeat: no-repeat;
  13. background-size: 100% 100%;
  14. font-size: 24rpx;
  15. color: #fff;
  16. .identification{
  17. display: flex;
  18. align-items: center;
  19. justify-content: center;
  20. position: absolute;
  21. top: 0;
  22. right:0;
  23. width: 0;
  24. height: 0;
  25. border-top: 90rpx solid #376cbb;
  26. border-left: 90rpx solid transparent;
  27. }
  28. .identification-img {
  29. position: absolute;
  30. top: 15rpx;
  31. right:10rpx;
  32. width: 30rpx;
  33. height: 30rpx;
  34. }
  35. .identification-video {
  36. border-top: 90rpx solid #FFAB31 !important;
  37. }
  38. .img-bg {
  39. position: absolute;
  40. top: 50%;
  41. left: 50%;
  42. transform: translate(-50%, -50%);
  43. width: 80rpx;
  44. height: 80rpx;
  45. image {
  46. width: 80rpx;
  47. height: 80rpx;
  48. }
  49. }
  50. .time {
  51. position: absolute;
  52. bottom: 8rpx;
  53. left: 15rpx;
  54. }
  55. }
  56. .audio-item {
  57. width: 49%;
  58. height: 420rpx;
  59. margin-bottom: 10rpx;
  60. border-radius: 8rpx;
  61. overflow: hidden;
  62. box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.05);
  63. }
  64. .video-item {
  65. width: 50%;
  66. height: 523rpx;
  67. margin-bottom: 10rpx;
  68. border-radius: 8rpx;
  69. overflow: hidden;
  70. box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.05);
  71. .cover-item {
  72. height: 340rpx;
  73. ::after{
  74. content: "";
  75. display: block;
  76. position: absolute;
  77. top: 0;
  78. left: 0;
  79. width: 0;
  80. height: 0;
  81. border-top: 60rpx solid #376cbb;
  82. border-right: 60rpx solid transparent;
  83. }
  84. }
  85. }
  86. video {
  87. width: 100%;
  88. height: 340rpx;
  89. }
  90. .title-share {
  91. padding: 0 20rpx 0 15rpx;
  92. .title {
  93. height: 90rpx;
  94. margin: 13rpx 0;
  95. }
  96. .share {
  97. display: flex;
  98. align-items: center;
  99. justify-content: space-between;
  100. .share-icon {
  101. display: flex;
  102. align-items: center;
  103. justify-content: center;
  104. width: 50rpx;
  105. height: 50rpx;
  106. }
  107. image {
  108. width: 44rpx;
  109. height: 44rpx;
  110. }
  111. .share-text {
  112. position: flex;
  113. align-items: center;
  114. padding: 0 10rpx;
  115. image {
  116. width: 20rpx;
  117. height: 20rpx;
  118. margin-right: 5rpx;
  119. }
  120. }
  121. }
  122. .share-collected {
  123. padding-left: 5rpx;
  124. justify-content: space-around;
  125. }
  126. }
  127. }