body { background: transparent !important; } .homeTab { &>div:first-child { position: fixed; top: 0; left: 0; right: 0; z-index: 10; :global { .van-tabs__nav:not(.van-tabs__nav--shrink) { background: transparent; } .van-tab{ z-index: 10; &.van-tab--active{ font-size: 15px; } } .van-tabs__line { bottom: 0.74rem; width: var(--line-width, 1.5rem); height: 6px; background: linear-gradient(250deg, rgba(45, 199, 170, 0.22) 0%, #2DC7AA 100%); border-radius: 0; } } } &>div:nth-child(2) { :global { .van-tab__panel { margin-top: var(--van-tabs-line-height); background: #F8F9FC; } } } } .strickyTop{ &>div:first-child{ background-color: #fff; } } .item { margin: 12px; border-radius: 10px; background: #FFFFFF; :global{ .van-tabs__nav{ background: transparent; } } } .itemEmtry { padding: 12px; } .top { position: relative; display: flex; align-items: center; justify-content: center; width: calc(100% - 4px); height: 35px; background: linear-gradient(180deg, #CFF2EB 0%, rgba(248, 249, 252, 1) 100%); border-radius: 10px 10px 0 0; box-shadow: -2px -2px 0 rgba(255, 255, 255, 1), 0 -2px 0 rgba(255, 255, 255, 1), 2px 0 0 rgba(255, 255, 255, 1); margin: 0 auto; .iconLeft, .iconRight { width: 15px; height: 8px; } span { line-height: 21px; margin: 0 7px; font-size: 14px; color: #333; } } .itemTop { position: relative; z-index: 1; display: flex; align-items: center; margin-top: -2px; padding: 12px; background-color: #fff; border-radius: 10px 10px 0 0; .icon { width: 18px; height: 18px; margin-right: 8px; } .title { color: #333; font-size: 14px; line-height: 20px; margin-right: 4px; } .des { color: #aaa; font-size: 12px; line-height: 20px; } :global { .van-popover__wrapper { margin-left: auto; } } } .tabsContainer { display: flex; align-items: center; height: var(--van-tabs-line-height); :global { .van-tabs__line { width: 14px; height: 4px; border-radius: 2px; bottom: .5rem; } .van-tab{ padding: 0 12px; } } .tagRight { display: flex; align-items: center; margin-left: auto; margin-right: 14px; color: #333; height: 100%; } } .gradeContainer { display: flex; align-items: center; .gradeEcharts { width: 160px; height: 160px; } .tags { flex: 1; display: flex; flex-wrap: wrap; font-size: 12px; color: #777; line-height: 16px; padding: 10px 0; .tag { display: flex; align-items: center; padding: 6px 14px 6px 0; :global { .van-badge--dot { transform: none; width: 5px; height: 5px; } } } .tagTitle{ margin: 0 4px 0 6px; } .tagNum { color: #333; font-weight: bold; font-family: DINAlternate-Bold, DINAlternate; } } } .subjectContainer { .subjectEcharts { width: 100%; height: 200px; } } .musicGroupContainer { .musicGroupEcharts { width: 100%; min-height: 400px; } .tags { display: flex; font-size: 12px; color: #777; line-height: 16px; padding: 12px 0 12px 36px; margin-right: 12px; overflow-x: auto; &::-webkit-scrollbar { width: 0; display: none; } .tag { display: flex; align-items: center; justify-content: center; padding: 6px 5px; margin-right: 14px; :global { .van-badge--dot { transform: none; width: 5px; height: 5px; margin-right: 4px; } } } } } .detailDataContainerTop{ margin-bottom: 10px; } .detailDataContainer { display: flex; font-family: DINAlternate-Bold, DINAlternate; .detailLeft { display: flex; padding-left: 12px; padding-bottom: 12px; } .detailRight { display: flex; flex: 1; overflow-x: auto; background: linear-gradient(to bottom, rgba(253,253,253,1) 0%, rgba(249,249,249,1) 50%, rgba(253,253,253,1) 100%); padding-bottom: 12px; &::-webkit-scrollbar { width: 0; display: none; } } .tableTitle { position: relative; padding: 6px 0; font-size: 10px; line-height: 14px; white-space: nowrap; margin: 0 1px; width: 58px; &>div:first-child { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: .1; } &>div:last-child { position: relative; z-index: 2; } } .totalTableTitle{ padding: 6px; } .center { text-align: center; } .tableTr { padding: 7px 6px; font-size: 12px; line-height: 17px; white-space: nowrap; } .tableTr:not(:last-child) { border-bottom: 1Px solid #F2F2F2; } } .attendanceContainer { display: flex; align-items: center; .attendanceEcharts { width: 150px; height: 150px; } .tags { flex: 1; display: flex; flex-wrap: wrap; font-size: 12px; color: #777; line-height: 16px; .tag { width: 40%; display: flex; align-items: center; padding: 6px 5px; .des { margin: 0 5px; } :global { .van-badge--dot { transform: none; width: 5px; height: 5px; } } } .rect { width: 8px; height: 8px; border-radius: 2px; } .tagNum { color: #333; font-weight: bold; font-family: DINAlternate-Bold, DINAlternate; } } } .practiceTabs{ :global{ .van-tab{ padding-left: 15px; } .van-tabs__nav{ padding-left: 0; } } } .practiceContainer { .iconline{ height: 34px; } :global { .van-grid{ align-items: center; } .van-grid-item { margin: 10px 0; flex-basis: 23% !important; .van-grid-item__content { align-items: flex-start; padding: 0; font-size: 12px; color: #777; line-height: 18px; } &:first-child { .van-grid-item__content{ padding-left: 15px; } } &:last-child { .van-grid-item__content{ padding-left: 30px; } } } } .tagNum { color: #333; font-weight: bold; font-family: DINAlternate-Bold, DINAlternate; font-size: 22px; } .fenHao{ font-size: 14px; } .numDes{ font-size: 16px; } .progressItem { padding: 5px 15px; line-height: 34px; color: #777; :global{ .van-progress{ border-radius: 2Px; } } } } .subjects{ :global{ .van-popover__action{ font-size: 12px; width: auto; min-width: var(--van-popover-action-width); } } }