@charset "UTF-8";

body.pages-home-index uni-page-body {
    background: #fff
}
.swiper-slide{
    display: flex;
}
body.pages-home-index {
    background: #fff
}

.header-box {
    margin-bottom: 40px;
    background: #fff;
    box-shadow: 0 -3px 17px 0 rgba(0, 0, 0, .2)
}

.header-box .nav-bar {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1450px;
    height: 73px;
    display: flex;
    align-items: center
}

.header-box .nav-bar .service-icon {
    margin-right: 18px;
    width: 38px;
    height: 38px
}

.header-box .nav-bar .title {
    font-family: PingFangSC-Regular;
    font-weight: 400;
    font-size: 18px;
    color: #333;
    line-height: 26px
}

.main-content {
    margin: 0 auto;
    max-width: 1215px
}

.box-card {
    background: #fff;
    border: 1px solid #eeeff0;
    box-shadow: 0 2px 31px 5px hsla(0, 0%, 90.6%, .5019607843137255);
    border-radius: 10px
}

.box-card .label {
    margin-right: 13px;
    flex: 0 0 auto;
    font-family: SourceHanSansCN-Bold;
    font-weight: 700;
    font-size: 16px;
    color: #333;
    line-height: 20px
}

.search-box {
    margin-bottom: 20px;
    padding: 0 38px;
    height: 111px;
    display: flex;
    align-items: center
}

.search-box .input-box {
    padding: 0 12px 0 21px;
    flex: 1;
    height: 49px;
    border: 2px solid #5270f1;
    border-radius: 11px;
    display: flex;
    align-items: center
}

.search-box .input-box .uni-input {
    flex: 1
}

.search-box .input-box .search-btn {
    width: 87px;
    height: 34px;
    background: #5270f1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: SourceHanSansCN-Bold;
    font-weight: 700;
    font-size: 14px;
    color: #f8fcff;
    line-height: 21px
}

.result-box {
    margin-bottom: 20px;
    padding: 0 38px;
    height: 73px;
    display: flex;
    align-items: center
}

.result-box .result {
    flex: 1;
    font-family: PingFangSC-SNaNpxibold;
    font-weight: 600;
    font-size: 16px;
    color: #4191ff;
    line-height: 22px
}

.result-box .copy-btn {
    margin-left: 20px;
    width: 24px;
    height: 24px
}

.course-box {
    margin-bottom: 20px;
    padding: 10px;
    width: 100%;
    height: 434px
}

.course-box .title-area {
    padding: 0 28px;
    border-bottom: 1px solid #f0f1f2;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.course-box .title-area .tabs-box {
    display: flex
}

.course-box .title-area .tabs-box .tab-item {
    position: relative;
    margin-left: 38px;
    height: 46px;
    flex: 0 0 auto;
    display: flex;
    align-items: center
}

.course-box .title-area .tabs-box .tab-item .icon {
    margin-right: 5px;
    width: 16px;
    height: 16px
}

.course-box .title-area .tabs-box .tab-item .name {
    font-family: SourceHanSansCN-Bold;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px
}

.course-box .title-area .tabs-box .tab-item.tab-alipay {
    color: #2f4051
}

.course-box .title-area .tabs-box .tab-item.tab-alipay.active::after {
    content: "";
    position: absolute;
    width: 90%;
    height: 3px;
    background: #02a9f1;
    border-radius: 1.5px;
    bottom: 1px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 999
}

.course-box .title-area .tabs-box .tab-item.tab-wechat {
    color: #56bd39
}

.course-box .title-area .tabs-box .tab-item.tab-wechat.active::after {
    content: "";
    position: absolute;
    width: 90%;
    height: 3px;
    background: #6bc839;
    border-radius: 1.5px;
    bottom: 1px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 999
}

.course-box .content-area .course-list {
    padding: 20px 90px;
    display: flex;
    justify-content: space-between
}

.course-box .content-area .course-list .list-item {
    position: relative;
    margin: 0 20px;
    width: 234px
}

.course-box .content-area .course-list .list-item .img {
    margin-bottom: 26px;
    width: 100%
}

.course-box .content-area .course-list .list-item .text {
    padding: 0 6px;
    font-family: PingFangSC-Medium;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    line-height: 20px
}

.course-box .content-area .course-list .next-icon {
    position: relative;
    top: 128px;
    width: 23px;
    height: 19px
}

.service-box {
    margin-bottom: 20px;
    flex: 1;
    height: 319px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url(images/service-bg.png) no-repeat
}

.service-box .title {
    margin-bottom: 24px;
    font-family: PingFangSC-Medium;
    font-weight: 700;
    font-size: 20px;
    color: #333;
    line-height: 28px
}

.service-box .tips {
    display: flex;
    align-items: center
}

.service-box .tips .qr-icon {
    margin-right: 12px;
    width: 18px;
    height: 18px
}

.service-box .img-box {
    margin-bottom: 20px;
    width: 194px;
    height: 194px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(images/qr-bg.png) no-repeat;
    background-size: 100%
}

.service-box .img-box .qr {
    width: 175px;
    height: 175px
}

.bottom-area {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    width: 100%
}

.uni-swiper-wrapper{
    display: flex;
}

/* 手机端 */
@media screen and (max-width:768px) {
    
    body.pages-home-index uni-page-body {
        background: #f3f5f7
    }

    body.pages-home-index {
        background: #f3f5f7
    }

    .main-content {
        padding-bottom: 25px;
        max-width: 355px
    }

    .box-card {
        border: 1px solid #eeeff0;
        box-shadow: 0 2px 31px 5px hsla(0, 0%, 90.6%, .5019607843137255);
        border-radius: 10px
    }

    .box-card .label {
        margin-right: 6px;
        font-family: PingFangSC-Medium;
        display: none;
        font-weight: 500;
        font-size: 14px;
        color: #330;
        line-height: 20px
    }

    .header-box {
        margin-bottom: 20px
    }

    .header-box .nav-bar {
        margin: 0 auto;
        padding: 0 18px;
        height: 52px;
        display: flex;
        align-items: center
    }

    .header-box .nav-bar .service-icon {
        margin-right: 9px;
        width: 22px;
        height: 22px
    }

    .header-box .nav-bar .title {
        font-family: PingFangSC-Regular;
        font-weight: 400;
        font-size: 16px;
        color: #333;
        line-height: 25px
    }

    .search-box-mobile {
        margin-bottom: 20px
    }

    .search-box-mobile .uni-input {
        margin-bottom: 12px;
        padding: 11px 8px;
        width: 100%;
        height: 50px;
        background: #fff;
        border: 1px solid #5270f1;
        border-radius: 8px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px
    }

    .search-box-mobile .uni-input .textarea-placeholder {
        color: #a4a4a4
    }

    .search-box-mobile .search-btn {
        height: 42px;
        background: #5270f1;
        border-radius: 3px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 400;
        font-size: 14px;
        color: #fff;
    }

    .result-box {
        margin-bottom: 20px;
        padding: 0 12px;
        height: 42px
    }

    .result-box .result {
        flex: 1;
        font-family: PingFangSC-SNaNpxibold;
        font-weight: 600;
        font-size: 14px;
        color: #4191ff;
        line-height: 20px
    }

    .result-box .copy-btn {
        margin-left: 10px;
        width: 16px;
        height: 16px
    }

    .bottom-area {
        flex-direction: column
    }

    .course-box {
        padding: 10px;
        height: 474px
    }

    .course-box .title-area {
        padding: 0 8px;
        border-bottom: 1px solid #f0f1f2;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column
    }

    .course-box .title-area .tabs-box .tab-item {
        position: relative;
        margin-left: 0;
        margin-right: 25px;
        height: 50px
    }

    .course-box .title-area .tabs-box .tab-item .icon {
        margin-right: 5px;
        width: 16px;
        height: 16px
    }

    .course-box .title-area .tabs-box .tab-item .name {
        font-family: SourceHanSansCN-Bold;
        font-weight: 700;
        font-size: 14px;
        line-height: 20px
    }

    .course-box .content-area {
        padding: 20px 0 0
    }

    .course-box .content-area .course-list {
        padding: 0
    }

    .course-box .content-area .course-list .uni-swiper {
        width: 100%;
        height: 360px
    }

    .course-box .content-area .course-list .list-item {
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin:auto;
    }

    .course-box .content-area .course-list .list-item .img {
        margin-bottom: 15px;
        width: 234px;
        height: 250px
    }

    .course-box .content-area .course-list .list-item .text {
        width: 205px;
        font-family: SourceHanSansCN-Medium;
        font-weight: 500;
        font-size: 12px;
        color: #797e86;
        line-height: 16px
    }

    .course-box .content-area .course-list .list-item .pointer {
        margin-bottom: 10px;
        font-family: SourceHanSansCN-Medium;
        font-weight: 500;
        font-size: 14px;
        color: #333;
        line-height: 20px
    }

    .course-box .content-area .course-list .next-icon {
        position: absolute;
        top: 135px;
        right: 8px;
        width: 23px;
        height: 19px;
        z-index: 99999
    }

    .service-box {
        margin-left: 0;
        margin-bottom: 20px;
        padding: 16px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #fff
    }

    .service-box .title {
        margin-bottom: 22px;
        font-family: PingFangSC-Medium;
        font-weight: 500;
        font-size: 20px;
        color: #333;
        line-height: 28px
    }

    .service-box .tips {
        display: flex;
        align-items: center
    }

    .service-box .tips .qr-icon {
        margin-right: 12px;
        width: 18px;
        height: 18px
    }

    .service-box .tips .text {
        font-family: PingFangSC-Regular;
        font-weight: 400;
        font-size: 14px;
        color: #333;
        line-height: 20px
    }

    .service-box .img-box {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .service-box .img-box .qr {
        width: 180px;
        height: 180px
    }
}

/* pc端 */