index.wxss 2.42 KB
.van-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.van-multi-ellipsis--l2 {
    -webkit-line-clamp: 2;
}

.van-multi-ellipsis--l2,.van-multi-ellipsis--l3 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

.van-multi-ellipsis--l3 {
    -webkit-line-clamp: 3;
}

.van-clearfix:after {
    display: table;
    clear: both;
    content: "";
}

.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom {
    position: relative;
}

.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after {
    position: absolute;
    box-sizing: border-box;
    transform-origin: center;
    content: " ";
    pointer-events: none;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    border: 0 solid #eee;
    transform: scale(.5);
}

.van-hairline--top:after {
    border-top-width: 1px;
}

.van-hairline--left:after {
    border-left-width: 1px;
}

.van-hairline--right:after {
    border-right-width: 1px;
}

.van-hairline--bottom:after {
    border-bottom-width: 1px;
}

.van-hairline--top-bottom:after {
    border-width: 1px 0;
}

.van-hairline--surround:after {
    border-width: 1px;
}

.van-progress {
    position: relative;
    height: 4px;
    height: var(--progress-height,4px);
    border-radius: 4px;
    border-radius: var(--progress-height,4px);
    background: #ebedf0;
    background: var(--progress-background-color,#ebedf0);
}

.van-progress__portion {
    position: absolute;
    left: 0;
    height: 100%;
    border-radius: inherit;
    background: #1989fa;
    background: var(--progress-color,#1989fa);
}

.van-progress__pivot {
    position: absolute;
    top: 50%;
    right: 0;
    box-sizing: border-box;
    min-width: 2em;
    text-align: center;
    word-break: keep-all;
    border-radius: 1em;
    transform: translateY(-50%);
    color: #fff;
    color: var(--progress-pivot-text-color,#fff);
    padding: 0 5px;
    padding: var(--progress-pivot-padding,0 5px);
    font-size: 10px;
    font-size: var(--progress-pivot-font-size,10px);
    line-height: 1.6;
    line-height: var(--progress-pivot-line-height,1.6);
    background-color: #1989fa;
    background-color: var(--progress-pivot-background-color,#1989fa);
}