.creationBg{ position: fixed; z-index: -1; width: 100%; height: 100%; min-height: 100vh; top: 0; left: 0; background: url("./images/bg.png") no-repeat; background-size: cover; } .creation{ :global{ .van-nav-bar .van-icon{ color: #ffffff; } } &.isScreenScroll,&.isShareScreenScroll{ :global{ .van-nav-bar .van-icon{ color: #333333; } } } } .singer{ text-align: center; font-weight: 400; font-size: 14px; color: rgba(255,255,255,0.7); line-height: 20px; margin-bottom: 14vh; } .playSection{ height: 210px; position: relative; &::after{ position: absolute; content: ""; width: 100%; height: 40px; bottom: -40px; left: 0; background: linear-gradient( 180deg, #355662 0%, rgba(57,90,95,0) 100%); pointer-events: none; } :global { .plyr { width: 100%; height: 100%; z-index: initial; .plyr__controls{ background: initial; padding: 0 12px 2px; opacity: 1 !important; transform: translateY(0) !important; pointer-events: initial !important; .plyr__controls__item.plyr__progress__container{ input[type=range]{ color: #73C1FF; height: 10px; } input[type="range"]::-webkit-slider-runnable-track { height: 2px; } input[type="range"]::-webkit-slider-thumb { width: 6px; height: 6px; margin-top: -2px; box-shadow: initial; } .plyr__progress__buffer{ height: 2px; color: rgba(115,193,255,0.8); background-color: #fff; margin-top: -1px; } } .plyr__controls__item.plyr__time{ display: none; } .plyr__controls__item.plyr__control{ display: none; } } } } .videoBox{ width: 100%; height: 100%; } .audioBox{ width: 100%; height: 100%; background: url("./images/audioBg.png") no-repeat; background-size: 100% 100%; position: relative; overflow: hidden; .audioBga { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%); width: 100%; height: 82%; } .audioBga1 { position: absolute; left: 0; top: 16px; width: 94px; } .audioBga2 { width: 192px; position: absolute; right: -24px; top: 0; } :global { .plyr { position: absolute; height: initial; left: 0; bottom: 0; z-index: 2; } } .audioVisualizer{ position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 280px; height: 55px; } } .playLarge{ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; background: url("./images/midPlay.png") no-repeat; background-size: 100% 100%; z-index: 12; display: none; &.playIngShow{ display: initial; } } .mediaTimeCon{ display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, .3); } &.mediaTimeShow{ .mediaTimeCon{ display: block; } } .mediaTime{ position: absolute; left: 50%; transform: translateX(-50%); bottom: 95px; display: flex; font-weight: 500; font-size: 16px; color: #B8E8FF; line-height: 20px; z-index: 10; text-shadow: 0px 1px 1px rgba(0,0,0,0.5); & div:first-child{ width: 50px; text-align: right; } .note{ margin: 0 4px; } .duration{ color: #fff; } } .landscapeScreen{ width: 26px; height: 26px; position: absolute; background: url("./images/Landscape.png") no-repeat; background-size: 100% 100%; right: 10px; top: 10px; z-index: 15; } .staffBoxCon{ position: absolute; width: 100%; height: 100%; left: 0; top: 0; z-index: 1; overflow: hidden; visibility: hidden; &.staffBoxShow{ visibility: initial; } } .staffBox{ width: 100%; height: calc(var(--staffBoxHeight) + 12px); position: absolute; bottom: 0; padding-bottom: 12px; background: linear-gradient( 180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%); .staff{ width: 100%; height: 100%; padding-left: 10px; } .mask{ position: absolute; z-index: 6; width: 100%; height: 100%; } } } .musicSection { width: 100%; min-height: calc(var(--creationHeight, 100vh) - var(--barheight) - 20px - 14vh - 210px - 55px - 80px); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 12px 0; .avatarInfoBox{ display: flex; justify-content: space-between; align-items: center; .avatar{ display: flex; align-items: center; .userLogo{ width: 44px; height: 44px; border: 1px solid #FFFFFF; margin-right: 10px; border-radius: 50%; overflow: hidden; } .infoCon{ .info{ display: flex; align-items: center; .userName{ font-weight: 500; font-size: 16px; color: #FFFFFF; line-height: 22px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 160px; } .iconMember{ margin-left: 6px; width: 14px; height: 14px; } } .sub{ margin-top: 2px; font-weight: 400; font-size: 12px; color: #FFFFFF; line-height: 17px; } } } .linkes{ display: flex; align-items: center; border-radius: 13px; padding: 4px 8px 3px; background-color: rgba(255,255,255,.12); font-weight: 400; font-size: 14px; color: #FFFFFF; .iconZan{ width: 18px; height: 18px; margin-right: 2px; } } } .textEllipsis{ margin-top: 10px; font-weight: 400; font-size: 14px; color: #FFFFFF; line-height: 20px; :global{ .van-text-ellipsis__action{ color: #FFFFFF; font-weight: 500; } } } } .likeSection { margin: 20px 12px; background: rgba(255,255,255,.09); border-radius: 10px; padding: 12px 12px 0 12px; overflow: hidden; .likeTitle { display: flex; align-items: center; font-size: 17px; font-weight: 600; color: #ffffff; line-height: 24px; &::before { display: inline-block; content: ''; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(to bottom, #5BECFF, #259CFE); margin-right: 6px; } } .likeItem { padding: 13px 0 16px; background-color: initial; border-bottom: 1px solid rgba(242,242,242,0.12); &.likeItemLast{ border-bottom: none; } .userLogo { border-radius: 50%; overflow: hidden; width: 42px; height: 42px; margin-right: 7px; } .userInfo { .name { font-size: 16px; font-weight: 500; color: #ffffff; line-height: 22px; } .sub { padding-top: 2px; font-size: 13px; color: #ffffff; line-height: 18px; } } .time { font-weight: 400; font-size: 13px; color: #FFFFFF; line-height: 18px; } } .mEmpty{ padding: 0; } .btnImg{ display: flex; justify-content: center; margin-top: 3px; margin-bottom: 12px; &>img{ width: 88px; height: 31px; &:active{ opacity: 0.8; } } } } .upward{ padding-top: 12px; display: flex; justify-content: center; height: 55px; background: linear-gradient( 180deg, rgba(20,39,85,0) 0%, rgba(24,46,85,0.77) 44%, #1B3454 100%); > img{ width: 19px; height: 15px; } } .bottomSection { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 20px; width: 100%; height: 80px; background: #1F1F1F; box-shadow: 0px -1px 10px 0px rgba(0,0,0,0.05); .bottomShare { display: flex; align-items: center; p { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-right: 28px; &:last-child{ margin-right: 0; } } img { width: 18px; height: 18px; } span { margin-top: 8px; font-weight: 400; font-size: 12px; color: #ffffff; line-height: 17px; } } .btnEdit { width: 80px; height: 30px; } } .popupContainer { width: 287px; background: rgba(255,255,255,0.31); border-radius: 12px !important; border: 1px solid rgba(255,252,252,0.53); padding: 9px 8px; overflow: initial; .prompt{ width: 151px; height: 32px; position: absolute; top: -7px; left: 50%; transform: translateX(-50%); } .deleteBox{ background: linear-gradient( 224deg, #ECF5FF 0%, #D5E8FF 100%); border-radius: 12px; padding: 37px 0 15px; } .popupContent { text-align: center; font-weight: 400; font-size: 16px; color: #334A64; line-height: 26px; } .popupBtnGroup { margin-top: 18px; display: flex; align-items: center; justify-content: center; >img{ width: 118px; height: 37px; & + img{ margin-left: 11px; } } } } // 分享样式 .playSection.notLoaded{ :global{ .plyr .plyr__controls { display: none; } } } .logoDownload{ display: flex; justify-content: space-between; align-items: center; padding: 10px 13px; position: relative; &::after{ content: ""; position: absolute; bottom: 0; left: 13px; width: calc(100% - 26px); height: 1px; background-color: rgba(255, 255, 255, 0.3) ; } .logoImg{ width: 159px; height: 29px; } .logTit{ font-weight: 400; font-size: 14px; color: #FFFFFF; line-height: 20px; padding: 2px 10px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.5); } } .isShareScreenScroll{ .logoDownload{ background-color: #ffffff; .logTit{ background: linear-gradient( 90deg, #44C9FF 0%, #259CFE 100%); border: none; padding: 3px 11px; } } } .singerBox{ height: 20vh; display: flex; flex-direction: column; justify-content: flex-end; .musicSheetName{ width: 200px; margin: 0 auto 10px; :global{ .van-notice-bar{ padding: 0; height: 28px; font-weight: 600; font-size: 20px; color: #FFFFFF; line-height: 28px; .van-notice-bar__content{ min-width: 100%; text-align: center; } } } } .singerName{ text-align: center; font-weight: 400; font-size: 14px; color: rgba(255,255,255,0.7); line-height: 20px; margin-bottom: 10px; } } .musicShareSection{ min-height: calc(var(--creationHeight, 100vh) - var(--barheight) - 20vh - 210px - 55px); } .likeShareItem{ background-color: initial; padding: 0; margin-top: 25px; &:first-child{ margin-top: 20px; } &.likeShareItemLast{ padding-bottom: 20px; } .audioImgBox{ position: relative; width: 51px; height: 51px; margin-right: 14px; .audioPan{ position: absolute; width: 100%; height: 100%; right: -6px; top: 0; } .muploader{ position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 8.5px; } .imgLabel{ position: absolute; right: 0; top: 0; width: 28px; height: 14px; z-index: 10; } } .userInfo{ .musicSheetName{ font-weight: 600; font-size: 16px; color: #FFFFFF; line-height: 22px; width: 200px; } .usernameCon{ display: flex; align-items: center; margin-top: 6px; .likeNum{ display: flex; align-items: center; border-radius: 3px; background-color: rgba(255,255,255,.22); padding: 1px 2px; img{ width: 14px; height: 15px; } span{ font-weight: 400; font-size: 10px; color: #FFFFFF; line-height: 1; margin-left: 2px; } } .username{ max-width: 160px; margin-left: 4px; font-weight: 400; font-size: 13px; color: #DEDEDE; line-height: 13px; } } } :global{ .van-cell__value{ display: flex; align-items: center; justify-content: flex-end; } } .playImg{ width: 20px; height: 20px; } } .isEmpty{ height: calc(var(--creationHeight, 100vh) - var(--barheight)); display: flex; align-items: center; } // 平板样式 .creation{ &.creationTablet{ .playSection{ height: 340px; .audioBox { .audioBga{ width: 80%; height: 62%; } } } .musicSection{ min-height: calc(var(--creationHeight, 100vh) - var(--barheight) - 20px - 14vh - 340px - 55px - 80px); } .musicShareSection{ min-height: calc(var(--creationHeight, 100vh) - var(--barheight) - 20vh - 340px - 55px); } } } .loadingPop { position: fixed; left: 0; top: 0; right: 0; bottom: 0; width: 100%; height: 100%; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 999; background: rgba(0, 0, 0, .5); .loadingBox{ width: 98px; height: 98px; border-radius: 10px; background-color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; .lottie{ margin-top: -6px; width: 52px; } .loadingTip { margin-top: 4px; font-size: 12px; color: #333333; } } } .wxpopup { width: 100%; height: 100%; min-height: 100vh; position: fixed; top: 0; left: 0; background: rgba(0, 0, 0, 0.5); z-index: 9999; img { width: 88%; margin: 0 6%; } } // :global{ // .dialogMusicClass.van-dialog{ // width: 300px; // .van-dialog__message{ // font-weight: 500; // line-height: 24px; // } // } // } // 横屏样式 .creation.creationTablet{ .playSection.isLandscapeScreen{ .audioBox { .audioBga{ width: 72%; height: 56%; } } } } .playSection.isLandscapeScreen{ overflow: hidden; position: fixed; top: 0; left: 0; bottom: 0; right: 0; width: 100%; height: 100%; min-height: 100vh; z-index: 1000; .landscapeScreen{ display: none; } :global { .plyr{ .plyr__controls{ padding: 0 20px 20px; .plyr__controls__item.plyr__control{ display: block; padding: 0; width: 18px; height: 18px; &:hover{ background: initial; } .icon--pressed{ width: 100%; height: 100%; background: url("./images/pause1.png") no-repeat; background-size: 100% 100%; use{ display: none; } } .icon--not-pressed{ width: 100%; height: 100%; background: url("./images/play1.png") no-repeat; background-size: 100% 100%; use{ display: none; } } } .plyr__controls__item.plyr__progress__container{ margin-left: 9px; input[type=range]{ color: #73C1FF; height: 20px; } input[type="range"]::-webkit-slider-runnable-track { height: 4px; } input[type="range"]::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -4px; box-shadow: initial; } .plyr__progress__buffer{ height: 4px; color: rgba(115,193,255,0.8); background-color: #fff; margin-top: -2px; } } .plyr__controls__item.plyr__time{ font-weight: 500; font-size: 14px; color: #FFFFFF; display: initial; &.plyr__time--current{ margin-left: 9px; } } } } } .backBox{ position: absolute; left: 30px; top: 20px; display: flex; z-index: 10; .backImg{ width: 32px; height: 32px; } .musicDetail{ margin-left: 20px; .musicSheetName{ width: 300px; margin-top: 4px; :global{ .van-notice-bar{ padding: 0; height: 20px; font-weight: 600; font-size: 18px; color: #FFFFFF; line-height: 20px; } } } .username{ margin-top: 2px; font-weight: 400; font-size: 12px; color: rgba(255, 255, 255, 0.7); line-height: 18px } } } .staffBox{ height: calc(var(--staffBoxHeight) + 44px); padding-bottom: 44px; } }