index.module.less 4.1 KB

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