index.wxss 2.63 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-info {
    position: absolute;
    top: 0;
    right: 0;
    box-sizing: border-box;
    white-space: nowrap;
    text-align: center;
    transform: translate(50%,-50%);
    transform-origin: 100%;
    min-width: 16px;
    min-width: var(--info-size,16px);
    padding: 0 3px;
    padding: var(--info-padding,0 3px);
    color: #fff;
    color: var(--info-color,#fff);
    font-weight: 500;
    font-weight: var(--info-font-weight,500);
    font-size: 12px;
    font-size: var(--info-font-size,12px);
    font-family: PingFang SC,Helvetica Neue,Arial,sans-serif;
    font-family: var(--info-font-family,PingFang SC,Helvetica Neue,Arial,sans-serif);
    line-height: 14px;
    line-height: calc(var(--info-size, 16px) - var(--info-border-width, 1px)*2);
    background-color: #ee0a24;
    background-color: var(--info-background-color,#ee0a24);
    border: 1px solid #fff;
    border: var(--info-border-width,1px) solid var(--white,#fff);
    border-radius: 16px;
    border-radius: var(--info-size,16px);
}

.van-info--dot {
    min-width: 0;
    border-radius: 100%;
    width: 8px;
    width: var(--info-dot-size,8px);
    height: 8px;
    height: var(--info-dot-size,8px);
    background-color: #ee0a24;
    background-color: var(--info-dot-color,#ee0a24);
}