123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443 |
- :global(.eyeProtection) {
- .container {
- background: var(--eye-background-color) !important;
- }
- }
- .container {
- position: fixed;
- z-index: 9;
- top: 0;
- right: 0;
- left: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- height: 28px;
- box-sizing: border-box;
- padding: 0 16px;
- background: #fff;
- transition: transform 0.3s ease-out;
- }
- .outUp {
- transform: translateY(-100%);
- }
- .moreButton {
- display: flex;
- justify-content: flex-end;
- .button {
- margin: 0;
- }
- }
- .centerButton {
- display: flex;
- align-items: center;
- justify-content: center;
- margin: 0 auto;
- }
- .leftButton {
- display: flex;
- align-items: center;
- .titleWrap {
- margin-left: 6px;
- }
- .title {
- max-width: 20vw;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-size: 10px;
- color: #985131;
- font-weight: bold;
- }
- .album {
- font-size: 6px;
- color: #ab7f6a;
- }
- }
- .button {
- height: auto;
- line-height: normal;
- padding: 0;
- margin: 0;
- border: none;
- background: none;
- font-size: 0;
- &.hasText {
- color: #777;
- font-size: 5px;
- padding: 0 4.5px;
- white-space: nowrap;
- img {
- width: 13px;
- height: 13px;
- display: block;
- }
- :global {
- .van-button__text {
- display: flex;
- align-items: center;
- flex-direction: column;
- }
- }
- }
- &.bigIcon {
- img {
- width: 25px;
- height: 14px;
- display: block;
- margin: auto;
- margin-bottom: 1px;
- }
- }
- }
- .evaluatBtn {
- width: 54px;
- }
- .start {
- width: 75px;
- height: 75px;
- background-color: transparent;
- background-size: 100%;
- background-position: center;
- color: #fff;
- border-radius: 100%;
- position: fixed;
- top: 50%;
- left: 50%;
- margin-top: 10vh;
- transform: translate(-50%, -50%);
- font-size: 12px;
- }
- .evaluatStartBtn {
- position: fixed;
- top: calc(50% - 37.5px);
- left: calc(50% - 37.5px);
- width: 75px;
- height: 75px;
- background-size: 100%;
- background-position: center;
- z-index: 10;
- }
- .icon {
- width: 100%;
- }
- .onShow {
- transform: translateY(0);
- }
- .popover {
- :global(.van-popover__content) {
- border-radius: 3px !important;
- }
- :global {
- .van-popover__arrow {
- bottom: 3px;
- border-width: 4px !important;
- }
- }
- }
- .backbtn {
- width: 15px;
- height: 15px;
- }
- .speed {
- display: block;
- > div {
- padding: 2px;
- }
- :global {
- .van-slider__button-wrapper {
- background: #ffe8b1;
- border-radius: 20px;
- border: 1px solid #ffffff;
- padding: 2px 4px;
- > div {
- background-color: transparent !important;
- }
- span {
- color: #f67146 !important;
- }
- }
- .van-slider {
- background-color: #ffd571 !important;
- margin-top: 2px !important;
- margin-bottom: 2px !important;
- min-height: 35vh;
- }
- .van-button {
- width: 10px !important;
- height: 10px !important;
- background-color: transparent !important;
- border: none !important;
- margin-left: 0 !important;
- &:last-child {
- margin-top: 4px;
- }
- }
- .van-button__icon,
- img {
- width: 10px !important;
- height: 10px !important;
- }
- }
- }
- .schedule {
- position: relative;
- circle {
- display: block;
- }
- .ring {
- position: absolute;
- left: 0;
- top: 0;
- transform-origin: center;
- transform: rotate(-90deg);
- display: flex;
- width: 100%;
- height: 100%;
- pointer-events: none;
- }
- }
- .speedButton {
- position: relative;
- .label {
- position: absolute;
- font-size: 4px;
- padding: 0 2px;
- color: var(--primary-color);
- background: #ffe8b1;
- border-radius: 10px;
- border: 0.5px solid #ffffff;
- right: 0;
- top: 0;
- }
- }
- .player {
- position: fixed;
- z-index: 8;
- bottom: 10px;
- right: 16px;
- display: inline-block;
- z-index: 9;
- }
- .fullbtn {
- :global {
- .van-button__text {
- width: 20px;
- height: 20px;
- > div,
- img {
- width: 20px;
- height: 20px;
- }
- }
- }
- }
- .finish {
- background-color: transparent;
- background-size: 100%;
- background-position: center;
- background-repeat: no-repeat;
- width: 64px;
- height: 20px;
- border-radius: 12px;
- border: none;
- color: #6f4900;
- font-size: 9px;
- }
- :global {
- .start-enter-active,
- .start-leave-active {
- transition: all 0.5s ease-out;
- }
- .start-enter-from {
- opacity: 0;
- }
- .start-enter-to {
- opacity: 1;
- }
- .start-leave-from {
- opacity: 1;
- }
- .start-leave-to {
- margin-top: -100px;
- margin-left: -30px;
- opacity: 0;
- transform: scale(0.1);
- border-radius: 0;
- }
- .finish-enter-active,
- .finish-leave-active {
- transition: all 0.5s ease-out;
- }
- .finish-enter-from {
- transform: scale(0.1);
- opacity: 0;
- }
- .finish-enter-to {
- opacity: 1;
- transform: scale(1);
- }
- .finish-leave-from {
- opacity: 1;
- }
- .finish-leave-to {
- opacity: 0;
- transform: scale(0.1);
- }
- }
- .dialogueBox {
- position: fixed;
- bottom: -1px;
- right: 0;
- z-index: 9;
- display: flex;
- flex-direction: column;
- align-items: flex-end;
- .dialogue {
- position: fixed;
- bottom: 60px;
- }
- .dialogue > div {
- width: 96px;
- height: 32px;
- background: url('./icons/task-bg.png') no-repeat center;
- background-size: 100% 100%;
- margin-right: 10px;
- color: #fff;
- font-size: 6px;
- line-height: 8px;
- padding: 4px;
- box-sizing: border-box;
- }
- .dialogueIcon {
- width: 66px;
- height: 72px;
- margin-right: 6px;
- }
- .inRadioIcon {
- width: 66px;
- height: 72px;
- margin-right: 6px;
- }
- }
- .inRadio {
- width: 32px;
- height: 14px;
- font-size: 6px;
- background: linear-gradient(180deg, #ff975b, #ff6a3a);
- border-radius: 7px;
- border: 1px solid #ffffff;
- color: #fff;
- line-height: 12px;
- box-sizing: border-box;
- text-align: center;
- position: fixed;
- bottom: 0.12rem;
- right: 1.2rem;
- z-index: 9;
- }
- .animation {
- width: 80px;
- height: 67px;
- margin-right: 0;
- }
- .btnMusicList {
- position: fixed;
- right: 0;
- top: 50%;
- transform: translateY(-50%);
- z-index: 10;
- margin: 0;
- width: 40px;
- img {
- width: 100%;
- }
- }
- .toggleMusicType {
- :global {
- .van-popover__content {
- padding: 4px 0;
- border-radius: 8px;
- }
- .van-popover__action {
- width: 60px;
- height: 16px;
- padding: 0 6px;
- & > img {
- width: 14px;
- margin-right: 8px;
- }
- }
- .action-text {
- flex: 1;
- font-size: 8px;
- text-align: justify;
- text-align-last: justify;
- text-justify: distribute-all-lines; // 这行必加,兼容ie浏览器
- &::before,
- &::after {
- display: inline-block; /*行内元素*/
- content: '';
- width: 100%; /*可以挤掉文字,保证不跟文字在同一行*/
- height: 0;
- visibility: hidden;
- }
- }
- .action-active {
- color: var(--primary-color);
- }
- }
- }
- .slider {
- width: 20px;
- color: #fff;
- font-size: 8px;
- line-height: 10px;
- text-align: center;
- background-color: var(--van-primary-color);
- border-radius: 100px;
- }
- :global(.van-popup.van-popover.cameraPopover) {
- width: 140px;
- :global {
- .van-popover__arrow {
- right: 6px;
- border-width: 4px;
- }
- .cameraOpacity {
- .van-cell__value {
- flex: 2;
- overflow: visible;
- }
- }
- }
- }
- .followEndBtn {
- background-color: transparent;
- background-size: 100%;
- background-position: center;
- color: #fff;
- }
|