index.module.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. margin: 0;
  50. height: inherit;
  51. border: 0;
  52. border-radius: 0;
  53. :global {
  54. .van-icon {
  55. display: flex;
  56. align-items: center;
  57. &::before {
  58. content: '';
  59. width: 16px;
  60. height: 16px;
  61. display: inline-block;
  62. background: url('../images/icon-image.png') no-repeat center;
  63. background-size: contain;
  64. margin-right: 4px;
  65. }
  66. &::after {
  67. content: '相册获取封面';
  68. font-size: 12px;
  69. color: #fff;
  70. }
  71. img {
  72. display: none;
  73. }
  74. }
  75. }
  76. }
  77. }
  78. }
  79. .section {
  80. margin: 12px 13px;
  81. background: #FFFFFF;
  82. border-radius: 10px;
  83. overflow: hidden;
  84. font-size: 16px;
  85. :global {
  86. .van-field__control::placeholder {
  87. color: #aaa;
  88. }
  89. }
  90. }
  91. .sectionFile {
  92. padding: 12px;
  93. display: flex;
  94. :global {
  95. .van-uploader {
  96. --upload-file-size: 62px;
  97. border-radius: 8px;
  98. overflow: hidden;
  99. }
  100. .van-uploader__upload {
  101. margin: 0;
  102. }
  103. }
  104. .muploader {
  105. position: relative;
  106. z-index: 9;
  107. width: 62px;
  108. height: 62px;
  109. border: none;
  110. margin: 0;
  111. border-radius: 8px;
  112. background-color: #FFFFFF;
  113. }
  114. .uploadImg {
  115. position: relative;
  116. border-radius: 8px;
  117. margin-right: 16px;
  118. .tip {
  119. position: absolute;
  120. bottom: 0;
  121. left: 0;
  122. right: 0;
  123. z-index: 10;
  124. background: #000000;
  125. opacity: 0.37;
  126. font-size: 13px;
  127. color: #FFFFFF;
  128. line-height: 18px;
  129. text-align: center;
  130. border-radius: 0 0 8px 8px;
  131. pointer-events: none;
  132. }
  133. &::before {
  134. content: '';
  135. background: url('../images/audio-pan.png') no-repeat center;
  136. background-size: contain;
  137. position: absolute;
  138. top: 0;
  139. right: -6px;
  140. z-index: 1;
  141. width: 60px;
  142. height: 60px;
  143. }
  144. }
  145. .musicDetail {
  146. display: flex;
  147. justify-content: center;
  148. flex-direction: column;
  149. .musicName {
  150. font-size: 16px;
  151. font-weight: 600;
  152. color: #131415;
  153. line-height: 22px;
  154. }
  155. .username {
  156. padding-top: 4px;
  157. font-size: 14px;
  158. color: #777777;
  159. line-height: 20px;
  160. }
  161. }
  162. }
  163. .btnGroup {
  164. margin: 32px 24px 12px;
  165. font-weight: 500;
  166. font-size: 16px;
  167. }