// 文字
$text-color-main: #DEE7F0;

//边框
$border: .01rem solid;

// 颜色
$white: #FFF;
$blue: #06BAFE;

@mixin v-center(){
     display: flex;
     align-items: center;
    }
// 图片
@mixin bg($img, $size:100% 100%, $repeat: no-repeat) {
    background-image: url($img);
    background-size: $size;
    background-repeat: $repeat;
}

// 滚动条
@mixin scrollbar($width: 12, $height: 12, $thumb-background: rgba(0, 0, 0, 0.4), $track-background: rgba(42, 93, 197, .3)) {
    &::-webkit-scrollbar {
        width: $width+px;
        height: $height+px;
    }
    &::-webkit-scrollbar-thumb{
        background: $thumb-background;
        border-radius: 8px;
    }
    &::-webkit-scrollbar-track {
        background: $track-background;
        border-radius: 8px;
    }
}

@mixin V-center(){
    display: flex;
    align-items: center;
}

@font-face {
    font-family: 'PuHuiTi';
    src: url('../font/AlibabaPuHuiTi-2-115-Black.ttf') format('truetype');
    src: url('../font/AlibabaPuHuiTi-2-55-Regular.ttf') format('truetype');
    src: url('../font/AlibabaPuHuiTi-2-65-Medium.ttf') format('truetype');
    src: url('../font/AlibabaPuHuiTi-2-85-Bold.ttf') format('truetype');
}