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-tabs__line { bottom: 0.74rem; width: var(--line-width, 62px); 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; } .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(255, 255, 255, 0) 100%); border-radius: 10px; 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; font-weight: bold; } } .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; } } .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; .tag { display: flex; align-items: center; padding: 6px 12px; :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 { flex: 1; display: flex; justify-content: space-evenly; flex-wrap: wrap; font-size: 12px; color: #777; line-height: 16px; padding: 12px; .tag { display: flex; align-items: center; justify-content: center; padding: 6px 5px; :global { .van-badge--dot { transform: none; width: 5px; height: 5px; margin-right: 4px; } } } } } .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: rgba(249, 249, 249, 1); padding-bottom: 12px; &::-webkit-scrollbar { width: 0; display: none; } } .tableTitle { position: relative; padding: 6px; font-size: 10px; line-height: 14px; white-space: nowrap; &>div:first-child { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: .1; } &>div:last-child { position: relative; z-index: 2; } } .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: 170px; height: 170px; } .tags { flex: 1; display: flex; flex-wrap: wrap; font-size: 12px; color: #777; line-height: 16px; .tag { width: 50%; 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; } } } .practiceContainer { :global { .van-grid-item { margin: 10px 0; .van-grid-item__content { padding-top: 0; padding-bottom: 0; font-size: 12px; color: #777; line-height: 18px; } } .van-grid-item:first-child { border-right: 1px dashed #777; } } .tagNum { color: #333; font-weight: bold; font-family: DINAlternate-Bold, DINAlternate; font-size: 22px; } .progressItem { padding: 5px 15px; line-height: 34px; } }