index.module.less 4.5 KB

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