.practiceDetail { min-height: 100vh; background-color: #f6f7f8; overflow: hidden; background: linear-gradient(to bottom, #beffe6 0px, #f6f7f8 392px); } .groupContainer { height: calc(100vh - var(--header-height, 0)); overflow-x: hidden; overflow-y: auto; } .section { background: #ffffff; box-shadow: 0px 2px 10px 0px rgba(229, 229, 229, 0.1); border-radius: 10px; overflow: hidden; padding: 12px; margin: 12px 14px 0; position: relative; &:last-child { margin-bottom: 30px; } .filter { position: absolute; top: 0; right: 0; background: url('../images/filter-bg.png') no-repeat center; background-size: contain; width: 114.5px; height: 37px; display: flex; align-items: center; font-size: 14px; color: #131415; line-height: 20px; &.active { color: #2dc7aa; } span { padding-left: 49px; } img { width: 9px; height: 5px; margin-left: 4px; } } .title { display: flex; justify-content: space-between; span { display: flex; align-items: center; font-weight: 600; font-size: 15px; color: #333333; line-height: 18px; &::before { content: ''; display: inline-block; width: 3px; height: 12px; background: linear-gradient(180deg, #59e5d4 0%, #2dc7aa 100%); border-radius: 2px; margin-right: 4px; } } .download { display: flex; align-items: center; background: rgba(45, 199, 170, 0.1); border-radius: 9px; padding: 0 6px; font-size: 12px; color: #2dc7aa; line-height: 17px; img { width: 10px; height: 10px; margin-left: 4px; } } } .leaveTime { padding-top: 20px; padding-bottom: 20px; .num { font-family: DIN; font-weight: bold; font-size: 30px; color: #333333; line-height: 35px; } .text { font-weight: 400; font-size: 14px; color: #777777; line-height: 26px; padding: 0 2px; } } .sList { display: flex; } .sItem { background: #f8f8f8; box-shadow: 0px 2px 10px 0px rgba(229, 229, 229, 0.1); border-radius: 4px; padding: 10px; flex: 1; &:last-child { margin-left: 10px; } .sTop { display: flex; align-items: center; font-weight: 600; font-size: 14px; color: #2dc7aa; line-height: 18px; padding-bottom: 5px; img { margin-right: 6px; width: 16px; height: 16px; } } .sBottom { .num { font-family: DIN; font-weight: bold; font-size: 22px; color: #333333; line-height: 26px; } .text { font-size: 12px; color: #777777; line-height: 26px; } } } } .scroll { overflow-y: hidden; overflow-x: auto; position: relative; z-index: auto; height: 100%; width: 100%; padding-top: 12px; &::-webkit-scrollbar { display: none; } } .dataTable { word-break: break-word; // transition: background-color .3s var(--n-bezier); border-collapse: separate; border-spacing: 0; .tdFixedLeft { position: sticky; z-index: 1; left: 0; } th { font-weight: 600; line-height: 26px; margin-right: 2px; font-weight: 600; font-size: 12px; &:last-child { margin-right: 0; } &:first-child { padding-left: 6px; padding-right: 6px; text-align: left; background: #f8f8f8; } &:nth-child(5n), &:nth-child(3n) { background: #f8f1e9; color: #df8010; } &:nth-child(2n), &:nth-child(4n) { background: #e8f4f4; color: #17bda6; } } td { line-height: 34px; height: 34px; text-align: center; background: #fff; margin-right: 2px; font-weight: bold; font-family: DIN; &:last-child { margin-right: 0; } &:first-child { padding-left: 6px; padding-right: 6px; text-align: left; display: flex; align-items: center; font-weight: 400; span { font-size: 13px; color: #333333; line-height: 20px; max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } &:nth-child(4n) { color: #17bda6; } &:nth-child(3n), &:nth-child(5n) { color: #df8010; } .userImg { width: 16px; height: 16px; border-radius: 50%; margin-right: 4px; flex-shrink: 0; } } } .popupContainer { // max-height: 504px; // overflow-x: hidden; // overflow-y: auto; .popupTitle { position: sticky; z-index: 1; top: 0; text-align: center; font-weight: 600; font-size: 18px; color: #333333; line-height: 24px; padding: 18px 0 12px; } .popupSearchList { min-height: 30vh; max-height: 50vh; overflow: hidden auto; } .popupSection { padding: 0 16px 18px; .title { display: flex; justify-content: space-between; padding-bottom: 10px; span { display: flex; align-items: center; font-weight: 600; font-size: 15px; color: #333333; line-height: 18px; &::before { content: ''; display: inline-block; width: 3px; height: 12px; background: linear-gradient(180deg, #59e5d4 0%, #2dc7aa 100%); border-radius: 2px; margin-right: 4px; } } } .timeCount { display: flex; align-items: center; p { margin-left: 10px; flex: 1; background: #f8f8f8; border: 1px solid #f8f8f8; border-radius: 4px; font-size: 13px; color: #999999; line-height: 18px; text-align: center; padding: 6px 0; &:first-child { margin-left: 0; } &.active { background: #e9fff8; border-radius: 4px; border: 1px solid #2dc7aa; color: #2dc7aa; } } } .timeSubject { flex-wrap: wrap; margin-left: -5px; margin-right: -5px; p { width: calc(33.333% - 10px); padding: 6px 3px; margin: 0 5px; flex: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-bottom: 9px; box-sizing: border-box; &:first-child { margin-left: 5px; } } } .timeRang { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; .timeInput { width: 159px; line-height: 32px; text-align: center; background: #f8f8f8; border-radius: 4px; font-size: 13px; color: #999999; cursor: pointer; } .hasValue { color: #333; } .timeUnit { width: 12px; height: 1px; background: #d0d0d0; } } } .popupBottom { position: sticky; z-index: 1; bottom: 0; border-top: 1px solid #f2f2f2; padding: 20px 13px 30px; display: flex; align-items: center; :global { .van-button { font-size: 16px; } .van-button + .van-button { margin-left: 15px; } } } }