/*公共代码*/

body{background-color: #f4f5fa;}
*{margin: 0;padding: 0;font-style: normal;}
h1,h2,h3,h4,h5,h6{font-weight: normal;}
.swiper-pagination-bullet{
    background-color: white;
}
.van-nav-bar{
    background: var(--mainColor);
}
.van-nav-bar .van-nav-bar__title,
.van-nav-bar .van-icon
{
    color: var(--textColor);
}
.max1{
    text-transform: uppercase;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}
.max2{
    text-transform: uppercase;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.loading{
    position: fixed;
    top: 46px;
    left: 0;
    z-index: 9999;
    background-color: white;
    height: calc(100vh - 46px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: white;
}
.publicLoading .van-loading__text{
    color: white;
}
/* 公共底部 */
.van-tabbar .van-tabbar-item__text{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.van-tabbar .van-tabbar-item__icon{
    display: none;
}
.publicLoading{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 999;
    background-color: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 20px;
}
.custom-image-location,.custom-image{background-color: white;}
.custom-image .van-empty__image {width: 150px;height: 115px;}
.custom-image-location .van-empty__image {width: 150px;height: 143px;}

/* 防止网页还未加载完毕页面代码显示出来 */
[v-cloak] {
    display: none;
}