
html,
body,
div,
p,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
header,
main,
nav,
footer {
    padding: 0;
    margin: 0;
}

ul,
ol {
    list-style: none;
}

html,
body {
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
}

/* 头部图片部分 */
/* #app {
    width: 100%;
    height: auto;
    background: url('../image/1.png') no-repeat 0 0 /100% 100%;
    position: relative;
    min-height: 100%;
} */




#app {
    width: 100%;
    height: 100vh;
    background-color: aliceblue;
    /* 父元素添加吸附样式  proximity:靠近 | mandatory:强制吸附 */
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    /* overflow 要加上去作为可视区域 */
    overflow-y: scroll;
}

.contain::-webkit-scrollbar {
    width: 0;
}

.item {
    width: 100%;
    /* 元素吸附：子元素设置 */
    /* 属性有 start ; center ; end */
    scroll-snap-align: start;
    /* 表示滚动的时候，要一个一个来 */
    scroll-snap-stop: always;
}


:root{
    --swiper-navigation-size: 20px;
}



.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}
.header-box{
    height: 50px;
}
.header-box>div{
    display: flex;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    line-height: 50px;
}
.header-box>div>img{
    height: 40px;
}

.swiper-slide>img {
    width: 100%;
    height: 200px;
}

.oneImg {
    /* display: none; */
    width: 100%;
}

.oneImg>img {
    width: 100%;
    height: 215px;
    position: relative;
}



/* 中间按钮部分 */

.main-btn {
    display: none;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
    /* margin-top: -4px; */
    /* background-color: #badff2; */
    position: relative;
}

.main-btn>div {
    /* margin: 20px 0; */
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

.main-btn h4{
    width: 100%;
    text-align: center;
    font-size: 18px;
}

.main-btn ul {
    width: 100%;
    overflow: hidden;
    padding: 50px 0;
}

.btn-item {
    width: 33%;
    float: left;
    /* 最外层li  的高度也需要调节  大概比按钮高度高10px 即可 */
    height: 110px;
}

.btn-item>a {
    display: block;
    width: 100%;
    height: 100%;
}

.btn-item-box {
    overflow: hidden;
    padding: 10px 0px 10px 0px;
    position: relative;
    text-align: center;
    border-radius: 10px;
    margin: 5px;
    /* 调节按钮高度  padding撑开的 */
    padding: 15px 0;
    min-height: 70px;
}

.btn-item-box>i {
    line-height: 30px;
    text-align: center;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    font-size: 23px;
    display: inline-block;
    margin-top: -10px;
}

.btn-item-box>i>img {
    width: 100%;
    height: 100%;
}

.btn-item-box>p {
    margin-top: 10px;
}

.item-one .btn-item:nth-child(1) {
    width: 66%;
}
.item-one .btn-item:nth-child(1) .btn-item-box {
    /* 第一个按钮高度  padding值与其他按钮不一  高度从这里调节*/
    padding: 21px 0;
}
.item-one .btn-item:nth-child(1) .btn-item-box>i {
    margin-top: 0;
    position: absolute;
    left: 10px;
    top: 10px;
}
.item-one .btn-item:nth-child(1) .btn-item-box>p {
    margin-top: 0;
}

.item-one .btn-item:nth-child(6),
.item-one .btn-item:nth-child(7) {
    width: 50%;
}



.item-tow .btn-item:nth-child(1),
.item-tow .btn-item:nth-child(2) {
    width: 50%;
}
.item-tow .btn-item:nth-child(6) {
    width: 66%;
}
.item-tow .btn-item:nth-child(7) {
    width: 33%;
}

.item-three .btn-item:nth-child(4),
.item-three .btn-item:nth-child(5) {
    width: 50%;
}
.item-three .btn-item:nth-child(6) {
    width: 66%;
}
.item-three .btn-item:nth-child(7) {
    width: 33%;
}


.icon-svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}



/* 底部图片部分 */

footer {
    width: 100%;
    /* margin-top: 10px; */
    padding: 5px 0;
}

.foot {
    position: absolute;
    left: 0;
    bottom: 0;
}

footer>div {
    width: 100%;
}

.footer {
    padding: 2px;
    text-align: center;
    width: 60%;
    margin: auto;
    font-size: 15px;
}

.footer>span {
    font-weight: 700;
}

.footer>a>span {
    font-weight: 700;
}

.footer>a>img {
    width: 20px;
    height: 20px;
    vertical-align: -5px;
}



/* 一键返回顶部 */
.Back-to-top {
    /* display: none; */
    width: 40px;
    height: 40px !important;
    background-color: #000;
    text-align: center;
    line-height: 40px;
    position: absolute;
    right: 15px;
    bottom: 40px;

    cursor: pointer;
    z-index: 1000;
}

.Back-to-top>span {
    font-size: 20px;
    color: #fff;
}
