index.wxss 5.17 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-popup {
    position: fixed;
    box-sizing: border-box;
    max-height: 100%;
    overflow-y: auto;
    transition-timing-function: ease;
    animation: ease both;
    -webkit-overflow-scrolling: touch;
    background-color: #fff;
    background-color: var(--popup-background-color,#fff);
}

.van-popup--center {
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
}

.van-popup--center.van-popup--round {
    border-radius: 20px;
    border-radius: var(--popup-round-border-radius,20px);
}

.van-popup--top {
    top: 0;
    left: 0;
    width: 100%;
}

.van-popup--top.van-popup--round {
    border-radius: 0 0 20px 20px;
    border-radius: 0 0 var(--popup-round-border-radius,20px) var(--popup-round-border-radius,20px);
}

.van-popup--right {
    top: 50%;
    right: 0;
    transform: translate3d(0,-50%,0);
}

.van-popup--right.van-popup--round {
    border-radius: 20px 0 0 20px;
    border-radius: var(--popup-round-border-radius,20px) 0 0 var(--popup-round-border-radius,20px);
}

.van-popup--bottom {
    bottom: 0;
    left: 0;
    width: 100%;
}

.van-popup--bottom.van-popup--round {
    border-radius: 20px 20px 0 0;
    border-radius: var(--popup-round-border-radius,20px) var(--popup-round-border-radius,20px) 0 0;
}

.van-popup--left {
    top: 50%;
    left: 0;
    transform: translate3d(0,-50%,0);
}

.van-popup--left.van-popup--round {
    border-radius: 0 20px 20px 0;
    border-radius: 0 var(--popup-round-border-radius,20px) var(--popup-round-border-radius,20px) 0;
}

.van-popup--bottom.van-popup--safe {
    padding-bottom: env(safe-area-inset-bottom);
}

.van-popup--safeTop {
    padding-top: env(safe-area-inset-top);
}

.van-popup__close-icon {
    position: absolute;
    z-index: 1;
    z-index: var(--popup-close-icon-z-index,1);
    color: #969799;
    color: var(--popup-close-icon-color,#969799);
    font-size: 18px;
    font-size: var(--popup-close-icon-size,18px);
}

.van-popup__close-icon--top-left {
    top: 16px;
    top: var(--popup-close-icon-margin,16px);
    left: 16px;
    left: var(--popup-close-icon-margin,16px);
}

.van-popup__close-icon--top-right {
    top: 16px;
    top: var(--popup-close-icon-margin,16px);
    right: 16px;
    right: var(--popup-close-icon-margin,16px);
}

.van-popup__close-icon--bottom-left {
    bottom: 16px;
    bottom: var(--popup-close-icon-margin,16px);
    left: 16px;
    left: var(--popup-close-icon-margin,16px);
}

.van-popup__close-icon--bottom-right {
    right: 16px;
    right: var(--popup-close-icon-margin,16px);
    bottom: 16px;
    bottom: var(--popup-close-icon-margin,16px);
}

.van-popup__close-icon:active {
    opacity: .6;
}

.van-scale-enter-active,.van-scale-leave-active {
    transition-property: opacity,-webkit-transform;
    transition-property: opacity,transform;
    transition-property: opacity,transform,-webkit-transform;
}

.van-scale-enter,.van-scale-leave-to {
    transform: translate3d(-50%,-50%,0) scale(.7);
    opacity: 0;
}

.van-fade-enter-active,.van-fade-leave-active {
    transition-property: opacity;
}

.van-fade-enter,.van-fade-leave-to {
    opacity: 0;
}

.van-center-enter-active,.van-center-leave-active {
    transition-property: opacity;
}

.van-center-enter,.van-center-leave-to {
    opacity: 0;
}

.van-bottom-enter-active,.van-bottom-leave-active,.van-left-enter-active,.van-left-leave-active,.van-right-enter-active,.van-right-leave-active,.van-top-enter-active,.van-top-leave-active {
    transition-property: transform;
    transition-property: transform,-webkit-transform;
}

.van-bottom-enter,.van-bottom-leave-to {
    transform: translate3d(0,100%,0);
}

.van-top-enter,.van-top-leave-to {
    transform: translate3d(0,-100%,0);
}

.van-left-enter,.van-left-leave-to {
    transform: translate3d(-100%,-50%,0);
}

.van-right-enter,.van-right-leave-to {
    transform: translate3d(100%,-50%,0);
}