index.wxss 3.31 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-checkbox {
    display: flex;
    align-items: center;
    overflow: hidden;
    user-select: none;
}

.van-checkbox__icon-wrap,.van-checkbox__label {
    line-height: 20px;
    line-height: var(--checkbox-size,20px);
}

.van-checkbox__icon-wrap {
    flex: none;
}

.van-checkbox__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 1em;
    height: 1em;
    color: transparent;
    text-align: center;
    transition-property: color,border-color,background-color;
    font-size: 20px;
    font-size: var(--checkbox-size,20px);
    border: 1px solid #c8c9cc;
    border: 1px solid var(--checkbox-border-color,#c8c9cc);
    transition-duration: .2s;
    transition-duration: var(--checkbox-transition-duration,.2s);
}

.van-checkbox__icon--round {
    border-radius: 100%;
}

.van-checkbox__icon--checked {
    color: #fff;
    color: var(--white,#fff);
    background-color: #1989fa;
    background-color: var(--checkbox-checked-icon-color,#1989fa);
    border-color: #1989fa;
    border-color: var(--checkbox-checked-icon-color,#1989fa);
}

.van-checkbox__icon--disabled {
    background-color: #ebedf0;
    background-color: var(--checkbox-disabled-background-color,#ebedf0);
    border-color: #c8c9cc;
    border-color: var(--checkbox-disabled-icon-color,#c8c9cc);
}

.van-checkbox__icon--disabled.van-checkbox__icon--checked {
    color: #c8c9cc;
    color: var(--checkbox-disabled-icon-color,#c8c9cc);
}

.van-checkbox__label {
    word-wrap: break-word;
    margin-left: 10px;
    margin-left: var(--checkbox-label-margin,10px);
    color: #323233;
    color: var(--checkbox-label-color,#323233);
}

.van-checkbox__label--left {
    float: left;
    margin: 0 10px 0 0;
    margin: 0 var(--checkbox-label-margin,10px) 0 0;
}

.van-checkbox__label--disabled {
    color: #c8c9cc;
    color: var(--checkbox-disabled-label-color,#c8c9cc);
}

.van-checkbox__label:empty {
    margin: 0;
}