123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677 |
- .trainTool {
- .theSticky {
- :global {
- .van-sticky {
- background: url('./images/music-bg.png') no-repeat top center;
- background-size: 100% 365px;
- }
- }
- }
- :global {
- // 选择框
- // 上拉选择 - ✅
- // 选择器 - ✅
- .van-picker {
- --van-picker-toolbar-height: 44px !important;
- --k-font-primary: #fe2451;
- --k-bg-4: #f2f2f2;
- --k-gray-1: #333333;
- --k-gray-2: #666666;
- --k-gray-3: #777777;
- .van-picker__toolbar {
- position: relative;
- &::after {
- position: absolute;
- box-sizing: border-box;
- content: ' ';
- pointer-events: none;
- right: var(--van-padding-md);
- bottom: 0;
- left: var(--van-padding-md);
- border-bottom: 1px solid var(--van-cell-border-color);
- transform: scaleY(0.5);
- }
- }
- .van-picker__columns {
- padding: 0 24px;
- }
- .van-picker-column {
- position: relative;
- z-index: 1;
- }
- .van-picker__frame {
- z-index: 0;
- &::after {
- background: var(--k-bg-4);
- border-radius: 8px;
- }
- }
- .van-picker__cancel,
- .van-picker__confirm {
- font-size: 15px;
- }
- .van-picker__cancel {
- color: var(--k-gray-3);
- }
- .van-picker__confirm {
- color: var(--k-font-primary);
- }
- .van-picker-column__item {
- color: var(--k-gray-1);
- font-size: 16px;
- }
- .van-picker-column__item--selected {
- font-weight: 600;
- }
- }
- }
- }
- .musicContent {
- position: fixed;
- top: 0;
- height: 365px;
- width: 100%;
- padding-top: 55px;
- z-index: 10;
- // background-color: rgba(0, 0, 0, 0.2);
- // backdrop-filter: blur(20px);
- // -webkit-backdrop-filter: blur(20px);
- // background: linear-gradient(270deg, #F5E6B4 0%, #F7A699 100%), linear-gradient(180deg, rgba(246, 246, 246, 0) 0%, #F6F6F6 100%);
- background: url('./images/music-bg.png') no-repeat top center;
- background-size: cover;
- }
- .changeSubjectSection {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- border: 1px solid rgba(254, 36, 81, 0.5);
- border-radius: 100px;
- padding: 3px 8px 2px;
- .subjectName {
- font-weight: 400;
- font-size: 14px;
- color: #fe2451;
- line-height: 20px;
- padding-right: 4px;
- max-width: 60px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- img {
- width: 9px;
- height: 5px;
- transition: 0.2s ease;
- &.active {
- transform: rotate(180deg);
- transition: 0.2s ease;
- }
- }
- }
- .bgImg {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 265px;
- object-fit: cover;
- filter: blur(20px);
- backdrop-filter: blur(22px);
- -webkit-backdrop-filter: blur(20px);
- }
- .bg {
- position: relative;
- height: 100%;
- padding: 16px 0 0;
- z-index: 11;
- }
- .alumWrap {
- position: relative;
- // display: flex;
- // align-items: center;
- // flex-direction: column;
- // margin-bottom: 76px;
- .singleAlbum {
- display: flex;
- align-items: center;
- justify-content: center;
- padding-bottom: 2px;
- min-height: 130px;
- }
- :global {
- .swiper {
- --swiper-theme-color: #fe2451 !important;
- --swiper-pagination-bottom: 0px !important;
- --swiper-pagination-bullet-size: 6px !important;
- padding-bottom: 15px;
- min-height: 130px;
- }
- .swiper-pagination-bullet {
- background-color: #fff;
- opacity: 1;
- }
- .swiper-pagination-bullet-active {
- background-color: #fe2451;
- }
- .swiper-container {
- width: 100%;
- height: 100%;
- }
- .swiper-slide {
- text-align: center;
- font-size: 18px;
- // background: #fff;
- display: -webkit-box;
- display: -ms-flexbox;
- display: -webkit-flex;
- display: flex;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- -webkit-align-items: center;
- align-items: center;
- transition: 300ms;
- transform: scale(0.8) !important;
- width: 53%;
- }
- .swiper-slide-active,
- .swiper-slide-duplicate-active {
- transform: scale(1) !important;
- }
- }
- .quota {
- position: absolute;
- right: 0;
- top: 0;
- z-index: 11;
- font-size: 12px;
- font-weight: 500;
- color: #ffffff;
- background: linear-gradient(270deg, #ff7b57 0%, #ff3460 100%);
- border-radius: 0px 0px 0px 6px;
- padding: 3px 6px 2px;
- }
- .img {
- margin-bottom: 10px;
- position: relative;
- width: 130px;
- height: 130px;
- flex-shrink: 0;
- border-radius: 6px;
- position: relative;
- z-index: 9;
- --van-image-error-icon-size: 130px;
- &::after {
- content: '';
- position: absolute;
- bottom: -4px;
- left: -9px;
- width: 148px;
- height: 10px;
- background: url('./images/botom-shdow.png') no-repeat center;
- background-size: contain;
- z-index: 1;
- }
- :global {
- .van-image {
- position: relative;
- z-index: 2;
- &::before {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- bottom: 0;
- width: 9px;
- background: linear-gradient(
- 270deg,
- rgba(0, 0, 0, 0.18) 0%,
- rgba(255, 255, 255, 0) 100%
- );
- }
- }
- }
- }
- .iconPian {
- position: absolute;
- right: -22px;
- top: 8px;
- z-index: -1;
- width: 110px;
- height: 110px;
- display: flex;
- align-items: center;
- justify-content: center;
- background: url('./images/icon-pian.png') no-repeat center;
- background-size: contain;
- // :global {
- // .van-image {
- // width: 60px !important;
- // height: 60px !important;
- // border-radius: 50%;
- // overflow: hidden;
- // }
- // }
- }
- .numContent {
- position: absolute;
- right: 4px;
- bottom: 4px;
- display: flex;
- align-items: center;
- background: rgba(255, 255, 255, 0.8);
- border-radius: 4px;
- font-size: 12px;
- font-weight: 500;
- color: #000000;
- padding: 2px 3px;
- .iconMenu {
- margin-top: -2px;
- width: 10px;
- height: 12px;
- margin-right: 4px;
- }
- }
- .alumTitle {
- padding: 0 20px;
- padding-bottom: 8px;
- font-size: 16px;
- font-weight: 600;
- color: #000000;
- line-height: 24px;
- }
- .alumDes {
- width: 100%;
- padding-top: 10px;
- padding-bottom: 12px;
- text-align: center;
- min-height: 64px;
- .des {
- padding: 0 16px;
- font-size: 12px;
- color: #777;
- line-height: 20px;
- }
- }
- }
- .albumPriceGroup {
- margin: 0 13px 12px;
- height: 36px;
- background: url('./images/tip_bg.png') no-repeat center;
- background-size: cover;
- display: flex;
- align-items: center;
- justify-content: space-between;
- font-size: 13px;
- padding: 0 12px;
- .albumTimer {
- display: flex;
- align-items: center;
- font-weight: 500;
- color: #5e3314;
- line-height: 1;
- }
- .iconTimer {
- width: 16px;
- height: 16px;
- margin-right: 6px;
- }
- .originPrice {
- font-weight: 500;
- color: rgba(38, 38, 38, 0.4);
- line-height: 18px;
- }
- .currentPrice {
- padding: 3px 7px;
- border-radius: 20px;
- background: #262626;
- margin-left: 6px;
- display: inline-block;
- span {
- font-weight: 500;
- color: #ffe1ae;
- line-height: 18px;
- background: linear-gradient(180deg, #ffffff 0%, #ffc76c 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- }
- }
- }
- :global {
- .van-dropdown-menu__bar {
- background-color: transparent !important;
- box-shadow: none !important;
- padding-right: 15px !important;
- padding-bottom: 10px !important;
- height: 36px !important;
- }
- .van-dropdown-menu__title {
- padding-left: 0 !important;
- color: #131415 !important;
- &:after {
- border-color: transparent transparent rgba(0, 0, 0, 0.4)
- rgba(0, 0, 0, 0.4);
- }
- &.van-dropdown-menu__title--active {
- color: #fe2451 !important;
- &:after {
- border-color: transparent transparent #fe2451 #fe2451;
- }
- }
- }
- .van-dropdown-item__content {
- border-radius: 0px 0px 16px 16px;
- }
- .van-dropdown-item__option {
- padding: 0 13px !important;
- // line-height: 50px;
- line-height: auto;
- .van-cell__title {
- text-align: center;
- padding: 0;
- color: #333333;
- font-size: 16px;
- line-height: 50px !important;
- // height: 50px;
- // display: flex;
- // align-items: center;
- // justify-content: center;
- }
- .van-cell__value {
- display: none;
- }
- &::after {
- display: none;
- }
- &:last-child {
- padding-bottom: 12px;
- }
- &:first-child {
- padding-top: 12px;
- }
- }
- .van-dropdown-item__option--active {
- .van-cell__title {
- font-weight: 600;
- color: #FE2451;
- text-align: center;
- background: rgba(254, 36, 81, 0.08);
- border-radius: 10px;
- }
- }
- }
- .musicList {
- position: relative;
- z-index: 12;
- background-color: #fff;
- border-radius: 16px;
- min-height: calc(
- 100vh - var(--header-height) - var(--bottom-train-tool-height, 0px) + 1px
- );
- --van-cell-background-color: transparent;
- --van-cell-font-size: 16px;
- --van-cell-text-color: #333;
- --van-cell-value-color: #999;
- --van-cell-icon-size: 10px;
- :global {
- .van-tabs {
- padding-bottom: 16px;
- }
- .van-tabs__nav {
- padding-left: 6px;
- padding-right: 6px;
- }
- .van-tab {
- font-size: 16px !important;
- margin-top: 15px;
- color: #999999;
- }
- .van-tab--active {
- font-size: 16px !important;
- color: #131415;
- font-weight: 600;
- }
- .van-tabs__line {
- width: 24px;
- height: 4px;
- background: linear-gradient(
- 90deg,
- #ff3c5e 0%,
- rgba(255, 118, 155, 0.5) 100%
- ) !important;
- border-radius: 36px 36px 0px 0px;
- }
- .van-tab--shrink {
- padding: 0 14px 0 14px;
- }
- .van-button--plain.van-button--primary {
- background-color: transparent;
- }
- .van-sticky--fixed {
- border-radius: 16px 16px 0 0;
- }
- .van-sticky--fixed .van-tabs {
- background-color: #fff;
- }
- .van-search {
- padding-top: 0;
- padding-bottom: 10px;
- background-color: #fff !important;
- align-items: flex-start;
- }
- .van-search__content {
- background-color: #f6f6f6 !important;
- margin-bottom: 10px !important;
- }
-
- }
- .alumnList {
- padding: 0 15px;
- &.alumnListCourseware {
- padding: 0 3px 3px;
- }
- :global {
- .van-empty {
- margin-top: -24px;
- }
- .songItem {
- &:first-child {
- padding-top: 0;
- }
- }
- .courseItem:nth-child(1) {
- margin-top: 0 !important;
- }
- .courseItem:nth-child(2) {
- margin-top: 0 !important;
- }
- .courseItem:nth-child(3) {
- margin-top: 0 !important;
- }
- }
- }
- }
- .searchResult {
- padding: 16px 13px 12px;
- overflow: hidden;
- margin-bottom: 20px;
- border-bottom: 1px solid #f2f2f2;
- .searchTitle {
- font-size: 15px;
- color: #333333;
- font-weight: 600;
- line-height: 22px;
- }
- }
- .radio-group {
- display: flex;
- margin-top: 12px;
- margin-bottom: 7px;
- flex-wrap: wrap;
- .radio:first-child {
- :global {
- .van-radio__label {
- margin-left: 0;
- }
- }
- }
- }
- .radio {
- :global {
- .van-radio__icon {
- display: none;
- }
- .van-tag--large {
- width: 100px;
- height: 34px;
- font-size: 13px;
- text-align: center;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .van-tag {
- box-sizing: border-box;
- width: 31% !important;
- }
- .van-tag--default {
- color: #333333;
- background: #f6f6f6;
- }
- .van-tag--primary {
- background: #fff3f5;
- }
- }
- }
- .organ-radio {
- :global {
- .van-tag--large {
- width: auto;
- padding: 0 2px;
- margin-bottom: 8px;
- margin-right: 8px;
- font-size: 14px;
- }
- }
- }
- .btnGroup {
- border-top: 1px solid #f2f2f2;
- background-color: #fff;
- padding-top: 12px;
- padding-left: 25px;
- padding-right: 25px;
- // padding-bottom: calc(12px + env(safe-area-inset-bottom));
- padding-bottom: 25px;
- :global {
- .van-button {
- font-size: 18px;
- font-weight: 500;
- &.van-button--disabled {
- opacity: initial;
- background: linear-gradient(
- 270deg,
- #ff7a93 0%,
- #ff9daa 100%
- ) !important;
- }
- }
- }
- }
- .colResultBox {
- :global {
- .col-result-container {
- padding-top: 0;
- }
- }
- }
|