body { -ms-overflow-style: none; scrollbar-width: none; &::-webkit-scrollbar { display: none; } } .reportDetail { width: 100%; min-height: 100vh; --header-height: 62px; } .reportHead { position: fixed; left: 0; top: 0; z-index: 99; width: 100%; display: flex; align-items: center; background: #fff; padding: 0 22px; height: var(--header-height); .backIcon { width: 32px; height: 32px; } .content { flex: 1; margin: 0 12px; .title { display: flex; align-items: center; .titleName { font-size: 16px; color: #131415; font-weight: 600; margin-right: 6px; } .titleLevel { border: 1px solid #01C1B5; border-radius: 2px; padding: 0 3px; line-height: 16px; font-size: 12px; color: #01C1B5; font-weight: normal; transform: scale(0.9); } } .score { margin-top: 4px; display: flex; align-items: center; span { font-size: 12px; color: #777777; } .total { font-weight: 500; color: #FF2F0E; } } } .right { display: flex; align-items: center; .fItem { color: #1A1A1A; font-size: 13px; display: flex; align-items: center; i { width: 16px; height: 16px; border-radius: 4px; border: 1px solid #88974C; background: rgba(253, 255, 171, 0.41); margin-right: 6px; } } .sItem { display: flex; align-items: center; color: #1A1A1A; font-size: 13px; margin-left: 20px; i { width: 16px; height: 16px; border-radius: 4px; background: rgba(16, 216, 203, 0.6); margin-right: 6px; } } .videoIcon { width: 71px; height: 28px; margin-left: 20px; cursor: pointer; } :global{ .van-switch{ margin-left: 6px; width: 25px; height: 13px; background-color: transparent!important; background-image: url("./image/guan.png"); background-repeat: no-repeat; background-size: 100% 100%; border-radius: 0; &.van-switch--on{ background-image: url("./image/kai.png"); } .van-switch__node{ display: none; } } } } } .scoreTable { padding-top: calc(var(--header-height) + 1px); background: #EFF7FF; .stContent { position: relative; &::before { content: ""; position: absolute; left: 0; top: 0; width: 47px; height: 100%; background: linear-gradient( 90deg, #D4F5EE 0%, rgba(212,244,237,0) 100%); z-index: 0; } border: 1px solid rgba(120, 211, 205, 0.58); display: flex; flex-wrap: nowrap; overflow-x: scroll; -ms-overflow-style: none; scrollbar-width: none; &::-webkit-scrollbar { display: none; } :global { .note-line { position: absolute; width: 100%; height: 1px; background: rgba(120, 211, 205, 0.25); } .measure-list { display: flex; align-items: center; } .time-marker { position: absolute; top: 0; font-size: 12px; color: #666; } .note { position: absolute; height: 30PX; line-height: 30PX; padding-left: 2px; background: rgba(253, 255, 171, 0.41); border: 1px solid rgba(136, 151, 76, 1); color: #000; font-size: 12px; font-weight: normal; } } } .stMeasure { // width: 160px; height: 30PX; border-bottom: 1px solid rgba(120, 211, 205, 0.25); border-right: 1px solid rgba(120, 211, 205, 0.58); display: flex; align-items: center; padding: 0 5px; overflow: hidden; .mBeat { display: flex; flex-direction: column; align-items: center; background: #C9E4EB; width: 16px; transform: scale(0.72); font-size: 12px; margin-right: 2px; span { font-size: 12px; color: #007C74; &:first-child { border-bottom: 1px solid #007C74; } } } .mNumber { font-size: 12px; color: #007C74; } } .stBeat { display: flex; align-items: center; border-bottom: 1px solid rgba(120, 211, 205, 0.25); border-right: 1px solid rgba(120, 211, 205, 0.58); width: 160px; &:last-child { border-bottom: none; } li { position: relative; width: 40px; height: 15px; border-right: 1px dashed; /* 利用 repeating-linear-gradient 自定义 dash 长度 */ border-image: repeating-linear-gradient( 180deg, rgba(120, 211, 205, 0.3) 0, rgba(120, 211, 205, 0.3) 4px, transparent 4px, transparent 6px ) 1; &:last-child { border-right: none; } } } } .reportContainer { width: 1000px; //height: 400px; overflow: auto; background: #EFF7FF; border: 1px solid #aaa; position: relative; margin: 20px auto; :global { .note-line { position: absolute; width: 100%; height: 1px; background: #ddd; } .time-marker { position: absolute; top: 0; font-size: 12px; color: #666; } .note { position: absolute; height: 20PX; background: #98c; color: white; text-align: center; line-height: 20PX; border-radius: 4px; padding: 2px; } } } .rcTable { position: relative; width: 2000px; /* 适应长时间序列 */ }