.header{
    background-color: #393D49;
    width: 100%;
    height: 60px;
}
.foots{
    background-color: #FFF;
    width: 100%;
    height: 60px;
}
.header .logo{
    width: 100px;
    height: 60px;
    float: left;
    text-align: left;
}
.header .logo a{
    font-size: 30px;
    color: #FFF;
    line-height: 60px;
} 
.header .nav{
    float: left;
}
.header .nav a{
    font-size:18px;
    text-align:center;
}
.mobile-icon{
    display: none;
}
 
/* 演示元素 */
.main{
    margin-top: 20px;
}
.demoBox{
    background-color: #2E2D3C;
    text-align: center;
    height: 100px;
    width: 100%;
    color: #FFF;
    font-size: 30px;
    line-height: 100px;
}
@media screen and (max-width: 1024px) {
    .header .logo{
        text-align: left;
    }
    .header .nav{
        display: none;
        width: 100%;
        position: absolute;
        z-index: 99;
        top: 61px; /* 如果需要缝隙，可将值调至61px */
        margin-left: -15px;
    }
    .layui-nav{
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .header .nav li{
        width: 100%;
        text-align: center;
    }
    .mobile-icon{
        display: block;
        color: #FFF;
        font-size: 30px;
        float: right;
        margin-top: 15px;
    }
    .layui-nav .layui-this:after,
    .layui-nav-bar,
    .layui-nav-tree .layui-nav-itemed:after {
        height: 1px;
        background-color: #393D49;
    }
}
