index.module.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. .sectionVideo {
  2. position: relative;
  3. line-height: 0;
  4. overflow: visible !important;
  5. margin-bottom: 24px !important;
  6. .videoBg {
  7. width: 100%;
  8. height: 160px;
  9. object-fit: cover;
  10. border-radius: 10px;
  11. }
  12. .btnGroup {
  13. position: absolute;
  14. left: 50%;
  15. bottom: -12px;
  16. background: linear-gradient(180deg, rgba(128, 158, 200, 0.59) 0%, rgba(58, 101, 162, 0.59) 100%);
  17. border-radius: 15px;
  18. height: 30px;
  19. // transform: translate(-50%);
  20. display: flex;
  21. align-items: center;
  22. flex: 1;
  23. font-size: 12px;
  24. font-weight: 500;
  25. color: #FFFFFF;
  26. line-height: 17px;
  27. width: 300px;
  28. margin: 0 0 0 -150px;
  29. &>div {
  30. flex: 1;
  31. text-align: center;
  32. display: flex;
  33. align-items: center;
  34. justify-content: center;
  35. }
  36. .btnCropper {
  37. border-left: 1px solid #fff;
  38. &::before {
  39. content: '';
  40. width: 16px;
  41. height: 16px;
  42. display: inline-block;
  43. background: url('../images/icon-cropper.png') no-repeat center;
  44. background-size: contain;
  45. margin-right: 4px;
  46. }
  47. }
  48. .btnImg {
  49. // &::before {
  50. // content: '';
  51. // width: 16px;
  52. // height: 16px;
  53. // display: inline-block;
  54. // background: url('../images/icon-image.png') no-repeat center;
  55. // background-size: contain;
  56. // margin-right: 4px;
  57. // }
  58. :global {
  59. .van-icon {
  60. display: flex;
  61. align-items: center;
  62. &::before {
  63. content: '';
  64. width: 16px;
  65. height: 16px;
  66. display: inline-block;
  67. background: url('../images/icon-image.png') no-repeat center;
  68. background-size: contain;
  69. margin-right: 4px;
  70. }
  71. &::after {
  72. content: '相册获取封面';
  73. font-size: 12px;
  74. color: #fff;
  75. }
  76. img {
  77. display: none;
  78. }
  79. }
  80. }
  81. }
  82. }
  83. }
  84. .section {
  85. margin: 12px 13px;
  86. background: #FFFFFF;
  87. border-radius: 10px;
  88. overflow: hidden;
  89. font-size: 16px;
  90. :global {
  91. .van-field__control::placeholder {
  92. color: #aaa;
  93. }
  94. }
  95. }
  96. .sectionFile {
  97. padding: 12px;
  98. display: flex;
  99. :global {
  100. .van-uploader {
  101. --upload-file-size: 62px;
  102. }
  103. .van-uploader__upload {
  104. margin: 0;
  105. }
  106. }
  107. .muploader {
  108. position: relative;
  109. z-index: 9;
  110. }
  111. .uploadImg {
  112. position: relative;
  113. border-radius: 8px;
  114. margin-right: 16px;
  115. .tip {
  116. position: absolute;
  117. bottom: 0;
  118. left: 0;
  119. right: 0;
  120. z-index: 10;
  121. background: #000000;
  122. opacity: 0.37;
  123. font-size: 13px;
  124. color: #FFFFFF;
  125. line-height: 18px;
  126. text-align: center;
  127. border-radius: 0 0 8px 8px;
  128. pointer-events: none;
  129. }
  130. &::before {
  131. content: '';
  132. background: url('../images/audio-pan.png') no-repeat center;
  133. background-size: contain;
  134. position: absolute;
  135. top: 0;
  136. right: -6px;
  137. z-index: 1;
  138. width: 60px;
  139. height: 60px;
  140. }
  141. }
  142. .musicDetail {
  143. display: flex;
  144. justify-content: center;
  145. flex-direction: column;
  146. .musicName {
  147. font-size: 16px;
  148. font-weight: 600;
  149. color: #131415;
  150. line-height: 22px;
  151. }
  152. .username {
  153. padding-top: 4px;
  154. font-size: 14px;
  155. color: #777777;
  156. line-height: 20px;
  157. }
  158. }
  159. }
  160. .btnGroup {
  161. margin: 32px 24px 12px;
  162. }