index.module.less 4.0 KB

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