123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884 |
- .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;
- }
- }
|