123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555 |
- .headerTop {
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- height: 100%;
- flex-shrink: 0;
- padding: 10px 22px;
- background: #FFFFFF;
- position: relative;
- }
- .android {
- padding-top: 20px;
- }
- .back {
- display: flex;
- justify-content: center;
- align-items: center;
- padding-right: 10px;
- height: 100%;
- img {
- display: block;
- width: 28px;
- height: 28px;
- }
- }
- .disabled {
- //opacity: 0;
- pointer-events: none;
- }
- .left {
- display: flex;
- align-items: center;
- .leftContent {
- .lcName {
- font-size: 18px;
- font-weight: 600;
- color: #333333;
- height: 20px;
- line-height: 20px;
- margin-bottom: 2px;
- padding: 0 !important;
- width: 200px;
- :global {
- .van-notice-bar {
- height: 20px;
- line-height: 20px;
- padding: 0 !important;
- }
- .van-notice-bar__content {
- color: #333333;
- }
- }
- }
- .lcScore {
- font-size: 12px;
- color: #777777;
- line-height: 18px;
- font-weight: normal;
- }
- }
- }
- .center {
- display: flex;
- align-items: center;
- margin: 0 auto;
- .cItem {
- text-align: center;
- padding: 0 12px;
- white-space: nowrap;
- &>div:first-child {
- font-size: 12px;
- color: #333333;
- line-height: 14px;
- margin-bottom: 6px;
- font-weight: bold;
- }
- &>div:last-child {
- font-size: 12px;
- color: #777777;
- line-height: 12px;
- padding: 4px 8px;
- border-radius: 14px;
- }
- }
- .cItem:not(:last-child) {
- border-right: 1px solid #EBDABF;
- }
- .active {
- &>div:first-child {
- color: var(--van-primary-color) !important;
- }
- &>div:last-child {
- background-color: #ECF9FF;
- color: var(--van-primary-color);
- }
- }
- }
- .middle {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 60%;
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-35%, -50%);
- .cItem {
- width: 64px;
- height: 50px;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: space-between;
- padding: 4px 0;
- margin: 0 6px;
- cursor: pointer;
- .mScore {
- font-size: 16px;
- line-height: 22px;
- color: #AAAAAA;
- }
- .mLabel {
- font-size: 12px;
- line-height: 18px;
- color: #AAAAAA;
- }
- }
- .active {
- background: rgba(9,159,255,0.15);
- border-radius: 8px;
- .mScore,
- .mLabel {
- color: #000000;
- font-weight: 600;
- }
- }
- }
- .padMiddle {
- .cItem {
- width: 50px;
- }
- }
- .right {
- display: flex;
- align-items: center;
- .btn {
- position: relative;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- font-size: 10px;
- line-height: 14px;
- font-weight: 400;
- padding: 0 5px;
- color: #999999;
- cursor: pointer;
- &+.btn {
- margin-left: 10px;
- }
- .iconBtn {
- display: block;
- width: 33px;
- height: 33px;
- }
- span {
- margin-top: 2px;
- white-space: nowrap;
- transform: scale(0.9);
- }
- .btnWrap {
- position: relative;
- width: 25px;
- height: 25px;
- }
- }
- }
- .popup {
- --plyr-color-main: var(--van-primary-color);
- :global {
- .van-popup__close-icon {
- width: 32px;
- height: 32px;
- top: -3px;
- right: -48px;
- background: url("./image/closeImg.png") no-repeat;
- background-size: 100% 100%;
- &::before {
- display: none;
- }
- }
- }
- }
- .playerBoxContent{
- background: #FFF8F8;
- box-shadow: inset 4px -3px 6px 0px #B2E8FF;
- border-radius: 20px;
- padding: 14px;
- &.padPlayerBox{
- padding: 12px;
- .playerBoxCon{
- width: 428px;
- }
- }
- .playerBoxCon{
- position: relative;
- width: 536px;
- padding-top: 56.25%;
- }
- }
- .playerBox {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- overflow: hidden;
- border-radius: 16px;
- :global {
- .plyr {
- width: 100%;
- height: 100%;
- border-radius: 16px;
- .plyr__control.plyr__control--overlaid {
- width: 48px;
- height: 48px;
- background: url("./image/midPlay.png") no-repeat;
- background-size: 100% 100%;
- .plyr__sr-only,
- svg {
- display: none;
- }
- }
- .plyr__controls {
- background: initial;
- padding: 0 20px 13px;
- opacity: 1 !important;
- transform: translateY(0) !important;
- pointer-events: initial !important;
- .plyr__controls__item.plyr__control {
- padding: 0;
- width: 18px;
- height: 18px;
- &:hover {
- background: initial;
- }
- .icon--pressed {
- width: 100%;
- height: 100%;
- background: url("./image//pause.png") no-repeat;
- background-size: 100% 100%;
- use {
- display: none;
- }
- }
- .icon--not-pressed {
- width: 100%;
- height: 100%;
- background: url("./image/play.png") no-repeat;
- background-size: 100% 100%;
- use {
- display: none;
- }
- }
- }
- .plyr__controls__item.plyr__progress__container {
- margin-left: 9px;
- input[type=range] {
- color: #1CACF1;
- 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;
- background-color: #269EFE;
- }
- .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: #333333;
- &.plyr__time--current {
- margin-left: 9px;
- }
- }
- }
- }
- }
- &.videoType{
- :global {
- .plyr {
- .plyr__controls{
- .plyr__controls__item.plyr__control{
- .icon--pressed{
- background: url("./image//pause1.png") no-repeat;
- background-size: 100% 100%;
- }
- .icon--not-pressed{
- background: url("./image/play1.png") no-repeat;
- background-size: 100% 100%;
- }
- }
- }
- .plyr__controls__item.plyr__progress__container{
- input[type=range] {
- color: #ffffff;
- }
- input[type="range"]::-webkit-slider-thumb {
- background-color: #ffffff;
- }
- .plyr__progress__buffer {
- color: #fff;
- background-color: #fff;
- }
- }
- .plyr__controls__item.plyr__time{
- color: #ffffff;
- }
- .plyr__poster{
- background-size: cover;
- }
- }
- }
- }
- .videoBox {
- width: 100%;
- height: 100%;
- }
- .audioBox {
- width: 100%;
- height: 100%;
- background: url("./image/audioBg.png") no-repeat;
- background-size: 100% 100%;
- position: relative;
- :global {
- .plyr {
- position: absolute;
- height: initial;
- left: 0;
- bottom: 0;
- box-shadow: initial;
- }
- }
- .audioBga{
- position: absolute;
- width: 100%;
- top: 44%;
- transform: translateY(-50%);
- }
- .audioVisualizer {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 370px;
- height: 66px;
- }
- }
- }
- .demos {
- position: fixed;
- top: calc(var(--header-height) + 8px);
- right: 20px;
- display: flex;
- justify-content: flex-end;
- align-items: center;
- padding: 0 16px;
- height: 30px;
- border-radius: 18px;
- background: #FFFFFF;
- z-index: 1;
- box-sizing: content-box;
- &>div {
- display: flex;
- align-items: center;
- margin-right: 16px;
- &:last-child {
- margin-right: 0;
- }
- &>span {
- margin-left: 4px;
- color: #1A1A1A;
- }
- &>i {
- width: 12px;
- height: 12px;
- margin-right: 2px;
- border-radius: 3px;
- display: inline-block;
- }
- }
- }
- .shiyiClose {
- width: 30px;
- height: 30px;
- position: absolute;
- right: -38px;
- top: -26px;
- cursor: pointer;
- }
- .shiyiPopup {
- background: #fff;
- border-radius: 20px;
- width: 80vw;
- max-width: 460px;
- padding: 10px;
- position: relative;
- &::before {
- content: "";
- position: absolute;
- left: 10px;
- top: 10px;
- width: calc(100% - 20px);
- height: calc(100% - 20px);
- border-radius: 14px;
- }
- .shiyiTop {
- position: absolute;
- width: 154px;
- left: 50%;
- top: -5px;
- transform: translateX(-50%);
- }
- }
- .shiyiTitle {
- font-size: 16px;
- color: #333;
- font-weight: 400;
- text-align: center;
- }
- .items {
- display: flex;
- flex-wrap: wrap;
- margin-top: 16px;
- position: relative;
- padding-bottom: 22px;
- .item {
- width: 50%;
- display: flex;
- align-items: center;
- padding: 12px 0 12px 18px;
- span {
- margin-left: 12px;
- font-size: 12px;
- font-weight: 400;
- }
- svg {
- visibility: visible;
- }
- &:nth-child(2n) {
- transform: translateX(20px);
- }
- }
- .itemTone {
- width: 50%;
- display: flex;
- align-items: center;
- padding: 16px 0 16px 26px;
- position: relative;
- &:nth-child(2n) {
- transform: translateX(20px);
- }
- span {
- font-size: 12px;
- font-weight: 400;
- }
- &>i {
- width: 12px;
- height: 12px;
- margin-right: 12px;
- border-radius: 3px;
- display: inline-block;
- }
- }
- }
|