// 平板 .creationTablet .sectionVideo .videoBg { height: 314px; } .sectionVideo { position: relative; line-height: 0; overflow: visible !important; margin-bottom: 24px !important; .videoBg { width: 100%; height: 196px; object-fit: cover; border-radius: 10px; } .btnGroup { position: absolute; left: 50%; bottom: 10px; background: linear-gradient( 180deg, rgba(180,131,76,0.3) 0%, rgba(180,131,76,0.6) 100%); border-radius: 15px; height: 30px; text-shadow: 0px 0px 2px rgba(0,0,0,0.3); // transform: translate(-50%); display: flex; align-items: center; flex: 1; font-size: 12px; //font-weight: 500; color: #FFFFFF; line-height: 17px; width: 300px; margin: 0 0 0 -150px; &>div { flex: 1; text-align: center; display: flex; align-items: center; justify-content: center; } .btnCropper { position: relative; &::after{ content: ''; width: 1px; height: 11px; background-color: #fff; position: absolute; left: -1px; top: 50%; transform: translateY(-50%); } &::before { content: ''; width: 16px; height: 17px; display: inline-block; background: url('../images/icon-cropper.png') no-repeat center; background-size: contain; margin-right: 4px; margin-top: -3px; } } .btnImg { // &::before { // content: ''; // width: 16px; // height: 16px; // display: inline-block; // background: url('../images/icon-image.png') no-repeat center; // background-size: contain; // margin-right: 4px; // } :global { .van-icon { display: flex; align-items: center; &::before { content: ''; width: 16px; height: 17px; display: inline-block; background: url('../images/icon-image.png') no-repeat center; background-size: contain; margin-right: 4px; margin-top: -2px; } &::after { content: '相册获取封面'; font-size: 12px; color: #fff; } img { display: none; } } } } } } .section { margin: 12px 13px; background: #FFFFFF; border-radius: 10px; overflow: hidden; font-size: 16px; :global { .van-field__control::placeholder { color: #aaa; } } } .sectionFile { padding: 12px; display: flex; :global { .van-uploader { --upload-file-size: 62px !important; width: 62px; height: 62px; } .van-image { width: 62px; height: 62px; } .van-uploader__upload { margin: 0; } } .muploader { position: relative; z-index: 9; &::after { content: '选封面'; position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; background: rgba(0,0,0,0.37); line-height: 20px; height: 20px; font-size: 13px; color: #FFFFFF; line-height: 18px; text-align: center; border-radius: 0 0 8px 8px; pointer-events: none; } :global{ .van-uploader .van-image{ border-radius: 8px !important; } } } .uploadImg { position: relative; border-radius: 8px; margin-right: 16px; .tip { position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; background: #000000; opacity: 0.37; font-size: 13px; color: #FFFFFF; line-height: 18px; text-align: center; border-radius: 0 0 8px 8px; pointer-events: none; } &::before { content: ''; background: url('../images/audio-pan.png') no-repeat center; background-size: contain; position: absolute; top: 0; right: -6px; z-index: 1; width: 60px; height: 60px; } } .musicDetail { display: flex; justify-content: center; flex-direction: column; .musicName { font-size: 16px; font-weight: 600; color: #131415; line-height: 22px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 240px; } .username { padding-top: 4px; font-size: 14px; color: #777777; line-height: 20px; } } } .btnGroup { margin: 32px 24px 12px; }