body{
    margin: 0 !important;
}
body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto !important;
    font: normal 14px/1.5 Tahoma, "Microsft Yahei", STXiHEI, hei;
    color: #000;
    background-color: #f2f2f2;

    -webkit-tap-highlight-color: transparent;
}
a {
    color: #000;
    text-decoration: none;
}
ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 搜索框 */
.search-index {
    position: fixed;
    top: 0;
    /* 盒子居中 */
    left: 50%;
    transform: translateX(-50%);
    /* 固定盒子需要有宽度 */
    height: 44px;
    width: 100%;
    min-width: 320px;
    max-width: 540px;

    display: flex;
}
.search {
    flex: 1;
    position: relative;
    height: 100px;
    background-color: #88979b;
    box-sizing: border-box;
    padding-top: 20px;

}

.user {
    width: 44px;
    height: 44px;
    line-height: 44px;
    padding-top: 6px;
    padding-left: 5px;
    box-sizing: border-box;
}

.user img {

    width: 33px;
}

.search input {
    height: 45px;
    width: 75%;
    border-radius: 25px;
    background-color: #768085;
    border: 0px;
    color: #fff;

}


input {
    -webkit-text-fill-color: #fff; 
}
.search button {
    position: absolute;
    right: 0px;
    height: 40px;
    width: 80px;
    border-radius: 45px;
    border: 0px;
    background-color: #768085;

}
.nav {
    width: 100%;
    margin-top: 100px;
    background-color: #88979b;
    
}

.nav ul {
    display: flex;
    
}

.nav li {
    flex: 1;
    font-size: 16px;
    font-weight: 550;
    
}

.loacl-nav > li >a{
    color: #fff;
}
.bar{
    margin-top: 5px;
    display: flex;
}
.bar img{
    flex: 1;
    height: 100%;
    width: 100%;
}
.new_h{
    margin-top: 5px;
    height: 100%;
    width: 100%;

}
.new_h img{
    height: 100%;
    width: 100%;

}
.index_nav{
    background-color: #fff;
    height: 100px;
    border-radius: 15px;
}
.index_nav > ul {
    padding-top: 20px;
    display: flex;
    justify-content:center;
}
.index_nav>ul>li {
    flex: 1;
    display: flex;
    align-items:center;
}
.index_nav>ul>li >span{
    padding-left: 5px;
    font-weight: 600;
}
.main{
    display: flex;
    flex-wrap: wrap;
}
.main_books{
    flex: 1;
    width: 100px;
    display: flex;
}
.main_books img{
    width: 100%;
}
.main {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

.books {

    width: 46%;
    margin: 10PX 5px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 600;


}

.books img {
    width: 100%;
}

.books>span>span {
    
    color: #999;
    font-size: 10px;
}
.footer-nav {
    display: flex;
}

.footer-nav li {

    flex: 1;
}



.footer-nav a {
    flex-direction: column;
    display: flex;

    /* 侧周居中对齐，因为是单行 */
    align-items: center;
}

.footer {
    background-color: #fff;
    padding-top: 10px;

}

.books_main{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.books_list {
    flex: 20%;
    margin-left: 10px;
}
.books_list img{
    width: 100%;
}
.bookshelf_books_main{
    display: flex;
    flex-wrap: wrap;
}
.bookshelf_books_mainlist {
    flex: 30%;
    margin-left: 10px;
}

.bookshelf_books_mainlist img {
    width: 100%;
}

.home_herd {
    display: flex;
    background-color: #ffe9be;
    padding-top: 10px;
    padding-bottom: 20px;
}

.home_herd>div:nth-child(2) {
    flex: 1;
    height: 50px;
    padding-left: 20px;
}

.home_herd>div:nth-child(1) img {
    height: 80px;
    border-radius: 50px;
    margin-left: 20px;
}

.home_herd>div:nth-child(3) {
    padding-right: 32px;
    padding-top: 15px;

}
.home_herd{
    border-radius: 15px;
}
.nav_home > ul{
    display: flex;
    flex-wrap: wrap;
   
}
.nav_home>ul > li >a{
    display: flex;
    flex-direction: column;
    align-items: center;
   
}
.nav_home>ul>li{
    flex: 25%;
    
}
.nav_home>ul>li>a img{
    width: 50px;
    
}
.nav_home{
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 15px;
}
.head{
    background-color: #fff;
    border-radius: 15px;
}
.head span{
    color: #999;
}
.head_zhang{
    width: 100%;

    text-align: center;
}
.head_list ul li {
    width: 100%;
    border-top: 1px solid #999;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
footer{
    max-width: 540px;
        min-width: 320px;
    width: 100%;
    position: fixed;
        bottom: 0;
        z-index: 999;
        background-color: #fff;
}