@prim: #00BA64;
@success: #07c160;
@danger: #ff6c00;
@warn: #ff976a;
@text0: #181818;
@text1: #323233;
@text2: #606266;
@text3: #939599;
@text4: #c6c8cc;
@border1: #f5f7fa;
@border2: #f2f3f5;
@border3: #dfe1e6;
@border4: #f2f6fc;
@bg: #f5f7fa;
@red:#FD4D49;
.flex1 {
    flex-grow: 1;
}
.flex() {
    display: flex;
    align-items: center;
}
.flex-col() {
    display: flex;
    flex-direction: column;
}
.span(){
     width: 38px;
     height: 18px;
     border-radius: 2px;
     border: 1px solid #c8c9cc;
     font-size: 12px;
     font-weight: 400;
     color: #c8c9cc;
     line-height: 18px;
     text-align: center;
     margin-right: 3px;
}
.ellipsis() {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipsis-line( @line:2 ) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: @line;
    overflow: hidden;
}

.bottom( @bottom:0.5px ) {
    padding-bottom: @bottom;
    padding-bottom: calc(@bottom + constant(safe-area-inset-bottom)); // 兼容 IOS<11.2
    padding-bottom: calc(@bottom + env(safe-area-inset-bottom)); // 兼容 IOS>=11.2
}

@keyframes iconAnimate {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    20% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }

    80% {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
.iconAnimate {
    animation: iconAnimate ease-in-out 0.3s;
}
