@font-face { font-family: "puhuiti-2-55"; src: url("../fonts/Roboto-Light-webfont.woff") format("woff"); } @font-face { font-family: "puhuiti-2-65"; src: url("../fonts/Roboto-Medium-webfont.woff") format("woff"); } @font-face { font-family: "puhuiti-2-85"; src: url("../fonts/Roboto-Bold-webfont.woff") format("woff"); } @font-face { font-family: "puhuiti-2-115"; src: url("../fonts/Roboto-Black-webfont.woff") format("woff"); } @media screen and (min-width: 1920px) and (max-width: 2560px) { html { font-size: 27px; } } @media screen and (min-width: 1440px) and (max-width: 1920px) { html { font-size: 20px; } } @media screen and (min-width: 1366px) and (max-width: 1440px) { html { font-size: 18px; } } @media screen and (min-width: 1200px) and (max-width: 1366px) { html { font-size: 16px; } } @media screen and (min-width: 768px) and (max-width: 1200px) { html { font-size: 16px; } } body, div, span, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, select, input::placeholder { margin: 0; padding: 0; border: 0; font: inherit; font-size: 0.9rem; vertical-align: baseline; outline: none; box-sizing: border-box; font-family: "puhuiti-2-55", Arial, Tahoma, sans-serif; word-break: break-word; } .f-light { font-family: "puhuiti-2-45"; } .f-regular { font-family: "puhuiti-2-55"; } .f-medium { font-family: "puhuiti-2-65"; } .f-bold { font-family: "puhuiti-2-85"; } .f-black { font-family: "puhuiti-2-85"; } .border, .border tr th, .border tr td { border: 1px solid #343434; vertical-align: middle; text-align: center; box-sizing: border-box; } .border { width: 100%; text-align: center; border-collapse: collapse; tr th, tr td { border: 1px solid #343434; vertical-align: middle; text-align: center; box-sizing: border-box; } th { font-weight: bold; font-size: 1.1em; } } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } a, ol, ul, li { list-style: none; text-decoration: none; color: #000; } h1, h2, h3, h4, h5, h6 { box-sizing: border-box; margin: 0; .f-bold; } strong { font-weight: bold; font-family: "puhuiti-2-65" !important; } h1 { .f-black; line-height: 1.2 !important; } h2 { font-size: 2rem; .f-black; } h3 { font-size: 1.8rem; } h4 { font-size: 1.5rem; } h5 { font-size: 1.4rem; } h6 { font-size: 1.2rem; margin-bottom: 0.5rem; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ""; content: none; } textarea { -webkit-appearance: none; font-family: "Microsoft YaHei"; &::placeholder { font-family: "Microsoft YaHei"; } } table { border-collapse: collapse; border-spacing: 0; } img { border: 0; max-width: 100%; } // ios默认样式去除 input[type="button"], input[type="submit"], input[type="reset"] { -webkit-appearance: none; } input[type="submit"] { cursor: pointer; } input, select { outline: none; border: none; background-color: transparent; } button { background-color: transparent; border: none; cursor: pointer; } ::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar-track { background-color: rgba(59, 82, 246, 0.1); border-radius: 10px; } ::-webkit-scrollbar-thumb { border-radius: 10px; background-color: @c1; // box-shadow: inset 0 0 6px rgba(255, 255, 255, 255.5); } .dot { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dots(@num) { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: @num; //行数 -webkit-box-orient: vertical; } .setBetween { display: flex; justify-content: space-between; } .setRowCenter { display: flex; align-items: center; } .setColumnCenter { display: flex; align-items: center; } .setCenter { display: flex; flex-direction: column; align-items: center; justify-content: center; } body { overflow-x: hidden; min-width: 300px; } .img { img { display: block; } } .boxShadow { box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.1); } #mb-header #navbar-main { position: fixed; top: 0; left: 0; width: 100%; height: 3.5rem; display: flex; justify-content: space-between; align-items: center; box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1); background-color: #fff; z-index: 99; padding: 0 2.5%; box-sizing: border-box; } #mb-header #navbar-main #search-ico .iconf { color: @c1; font-size: 1.5rem; } #mb-header #navbar-main #logo { width: 30%; } #mb-header #navbar-main #logo img { width: 100%; } #mb-header #navbar-main #search-container { position: absolute; top: 100%; left: 0; width: 100%; max-height: calc(100vh - 3.5rem); overflow-y: auto; background-color: #fff; box-shadow: 0 0 .5rem #ebebeb; padding: 1rem 2%; display: none; &>input{ width: 100%; height: 2.5rem; border: 1px solid #ebebeb; padding: 0 2%; border-radius: .2rem; } .hint-search-content { position: initial; top: 100%; left: 0; width: 100%; margin-top: .5rem; .item { display: block; } } } #mb-header #navbar-main #sidebar-main-trigger img { width: 100%; } #mb-header #sidebar-main { background-color: #fff; width: 70% !important; transition: none; overflow-y: auto; .member { display: flex; justify-content: space-around; a { padding: 0.5rem 1rem; color: #fff; width: 50%; &.c1 { background-color: #3b52f6; } &.c2 { background-color: #ff204f; } } } } #mb-header #sidebar-main li:last-of-type a { border-bottom: none; } #mb-header #sidebar-main a { display: block; text-align: center; border-bottom: 1px solid #ebebeb; padding: 0.5rem 0; } #mb-header #sidebar-main-trigger { width: 26px; height: 20px; border-top: 2px solid @c1; border-bottom: 2px solid @c1; background-color: @c1; padding: 7px 0; background-clip: content-box; cursor: pointer; } #mb-header #sidebar-main #accordion { & > li { position: relative; a { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ebebeb; } .iconf { color: @c1; } & > a { padding-left: 1rem; padding-right: 0.5rem; } .submenu { transition: none; a { padding-left: 2rem; text-align: left; background-color: #1a191c; padding-right: 0.5rem; } } } } div[data-sidebar-main="mask"] { z-index: 1 !important; } .pagination { display: flex; justify-content: center; margin-top: 4rem; } .pagination .page-link, .pagination .page-num { padding: 0.3rem 0.5rem; border: 1px solid @c1; margin: 0 0.2rem; border-radius: 0.1rem; } .pagination .page-link, .pagination .page-num, .pagination .page-link *, .pagination .page-num * { font-size: 0.7rem; } .pagination .page-link:hover, .pagination .page-num:hover, .page-num-current { background-color: @c1; } .pagination .page-link:hover, .pagination .page-num:hover, .pagination .page-link:hover *, .pagination .page-num:hover *, .page-num-current { color: #fff; } .article-content > div { display: flex; justify-content: space-between; align-items: flex-start; } .article-content .article-left { flex: 1; background-color: #fff; padding: 1rem; box-shadow: 0 0 0.2rem #ebebeb; border-radius: 0.2rem; } .article-content .article-left .tit-top h1 { font-size: 1.4rem; margin-bottom: 1rem; font-weight: bold; line-height: 1.4; } .article-content .article-left .tit-top p { font-size: 0.9rem; color: #999; } .article-content .article-left .article-show { padding: 2rem 0; margin: 1rem 0; border-top: 1px solid #f5f5f5; border-bottom: 1px solid #f5f5f5; } .article-content .article-left .article-navi p { padding: 0.5rem 0; } .article-content .article-left .article-navi p, .article-content .article-left .article-navi p a { color: #999; } .article-content .article-left .article-navi p a:hover { color: @c1; } .article-content .article-right { width: 18rem; margin-left: 2%; } .article-content .article-right .article-rec { padding: 1rem; background-color: #fff; margin-bottom: 1rem; box-shadow: 0 0 0.2rem #ebebeb; border-radius: 0.2rem; } .article-content .article-right .article-rec h4 { font-size: 1rem; font-weight: bold; } .article-content .article-right .article-rec .rec-con { margin-top: 1rem; } .article-content .article-right .article-rec .rec-con > a { display: flex; justify-content: space-between; margin-bottom: 1rem; } .article-content .article-right .article-rec .rec-con > a:last-of-type { margin-bottom: 0; } .article-content .article-right .article-rec .rec-con .img { width: 34%; min-height: 4rem; background-color: #f5f5f5; position: relative; } .article-content .article-right .article-rec .rec-con .img img { width: 100%; height: 100%; object-fit: cover; } .article-content .article-right .article-rec .rec-con .img p { position: absolute; top: 0; left: 0; padding: 0.3rem; font-size: 0.6rem; background-color: @c1; color: #fff; } .article-content .article-right .article-rec .rec-con .txt { flex: 1; margin-left: 4%; min-width: 0; } .article-content .article-right .article-rec .rec-con .txt h6 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .article-content .article-right .article-rec .rec-con .txt p { margin-top: 1rem; font-size: 0.7rem; color: #999; } .iconf { width: 1em; height: 1em; vertical-align: -0.15em; fill: currentColor; overflow: hidden; } .main-center { max-width: 57rem; margin: 0 auto; } .main-center-big { max-width: 80rem; margin: 0 auto; padding: 2.5rem 0; background-color: #fff; } .swiper-button { width: 2rem; height: 2rem; border: 1px solid @c1; border-radius: 50%; svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; circle { stroke: #fff; stroke-width: 2px; fill: transparent; } } &:hover { } svg { circle { animation: cir linear 3s infinite; } } @keyframes cir { 0% { stroke-dasharray: 0 260; } 100% { stroke-dasharray: 260 260; } } &:hover { background-color: @c1; &::after { color: #fff; } svg { opacity: 1; } } &::after { font-size: 1rem; color: @c1; } &.swiper-button-prev { left: 0; } &.swiper-button-next { right: 0; } } .item-wrap(@num,@between,@mb) { display: flex; flex-wrap: wrap; .item { width: calc((100% - (@num - 1) * @between) / @num); margin-right: @between; margin-bottom: @mb; &:nth-of-type(@{num}n) { margin-right: 0; } } } .mb0 { &:last-of-type { margin-bottom: 0; } } .swiper-wrapper, .swiper-slide { height: auto; } .swiper-pagination { .swiper-pagination-bullet { width: 0.5rem; height: 0.2rem; border-radius: 2rem; &.swiper-pagination-bullet-active { width: 1rem; background-color: @c1; } } } .swiper-container-horizontal > .swiper-pagination-progressbar { bottom: 0; top: auto; left: 50%; width: 50rem; height: 1px; transform: translateX(-50%); background-color: rgba(255, 255, 255, 0.2); } .swiper-pagination-progressbar .swiper-pagination-progressbar-fill { background-color: @c1; } .select-container(@width,@height,@borColor) { position: relative; .select-value { input { height: @height; width: @width; user-select: none; box-sizing: border-box; border: 1px solid @borColor; padding-left: 4%; cursor: pointer; } i { position: absolute; top: 50%; right: 4%; transform: translateY(-50%); .iconf { font-size: inherit; } } } .select-option { position: absolute; top: 100%; left: 0; width: 100%; display: none; overflow: hidden; transition: all ease 0.3s; border: 1px solid #ebebeb; z-index: 99; &.show { display: block; } .option-value { display: block; padding: 0.3rem 0; background-color: #fff; font-size: inherit; padding-left: 4%; &:hover { background-color: @c1; color: #fff; } } } } // 下划线 .tit-line(@fs,@pb,@mb,@width,@height,@color) { font-size: @fs; padding-bottom: @pb; margin-bottom: @mb; position: relative; &::after { content: ""; position: absolute; bottom: 0; left: 0; width: @width; border-bottom: @height solid @color; } } .img-radius { .img { border-radius: 0.5rem; overflow: hidden; background-color: #ccc; img { width: 100%; height: 100%; object-fit: cover; } } } .more-btn { text-align: center; margin-top: 2rem; display: block; &.lf { text-align: left; } & > a, & > span, button { display: inline-block; padding: 0.6rem 2rem; font-size: 0.7rem; border-radius: 2rem; border: 1px solid @c1; color: @c1; transition: all ease 0.3s; line-height: 1 !important; .iconf { font-size: 0.8rem; margin-right: 0.2rem; } span { color: #666; margin-right: 1.5rem; &:last-of-type { margin-right: 0; } } &.active, &:hover { color: #fff; background-color: @c1; } } } .more-btn1 { text-align: center; a { color: @c1; border-bottom: 1px solid @c1; text-transform: capitalize; } } //自定义 @c1: #3b52f6; @c2: #ff204f; .c1 { color: @c1; } .c2 { color: @c2; } p { line-height: 2; } .a-hover { &:hover { color: @c1; transform: translateX(0.2rem); } } .main-title { margin-bottom: 4rem; h2 { margin-bottom: 1rem; } p { line-height: 2; color: #666; max-width: 60rem; margin: 0 auto; } } .word-break { word-break: break-word; text-align: left; } .par { min-width: 50%; padding: 0.3rem 0; &.w100 { width: 100%; display: flex; strong { display: inline; flex-shrink: 0; } span { .word-break; } } * { font-size: 0.7rem; } i { color: @c1; margin-right: 0.2rem; } strong { font-weight: bold; display: block; } span { color: #999; } } .position { margin-bottom: 3rem; *, & { font-size: 0.7rem; color: #999; } } .i-start { .setColumnCenter; .i { .setColumnCenter; i, .iconf { color: #f7d408; margin: 0 0.2rem; } } span { color: #f7d408; margin-left: 1rem; } } .ui.selection.dropdown .menu > .item { font-size: 0.7rem; } .pagination { display: flex; justify-content: center; margin: 2rem 0; } .pagination li { width: 30px; height: 30px; border: 1px solid #ebebeb; } .pagination li a, .pagination li span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #999; } .pagination li.active { background-color: @c1; } .pagination li.active a, .pagination li.active span { color: #fff; } .fb { font-family: "puhuiti-2-115"; } .comment-container { padding-top: 0; .comment { display: flex; justify-content: space-between; align-items: flex-start; .comment-right { width: 20rem; box-shadow: 0rem 0.15rem 0.8rem 0rem rgb(32 30 29 / 35%); padding: 1rem; } .form { h6 { margin-bottom: 2rem; } & > div { margin-bottom: 1rem; } label { display: block; margin-bottom: 0.5rem; } input { width: 100%; border: 1px solid #ebebeb; padding: 0.5rem; } textarea { width: 100%; height: 5rem; resize: none; border: 1px solid #ebebeb; padding: 0.5rem; outline: none; } .code-img { display: flex; margin-top: 1rem; input { border: 1px solid #ebebeb; height: 2.5rem; padding: 0.5rem; box-sizing: border-box; margin-right: 2rem; } img { width: 6rem; height: 2.5rem; } } input[type="submit"] { display: block; width: auto; padding: 0.3rem 1rem; border-radius: 2rem; font-size: 0.7rem; color: #fff; background-color: @c1; margin: 1rem auto 0; cursor: pointer; } } .comment-list { background-color: transparent; padding: 1rem; flex: 1; margin-right: 3rem; box-shadow: 0rem 0.15rem 0.8rem 0rem rgb(32 30 29 / 35%); & > h5 { font-size: 1.2rem; font-weight: 500; margin-bottom: 1rem; } .item { background-color: #fff; display: flex; padding: 1rem 0; border-bottom: 1px solid #ebebeb; &:last-of-type { border-bottom: none; } } .i { width: 4rem; height: 4rem; border-radius: 50%; margin-right: 0.5rem; background-color: #ccc; overflow: hidden; flex-shrink: 0; margin-right: 1rem; img { width: 100%; height: 100%; object-fit: cover; } } h6 { font-size: 1rem; font-weight: 500; } .des { line-height: 1.8; padding: 0.5rem 0; &, * { font-size: 0.7rem; color: #666; } } .time { display: flex; align-items: center; span { &, * { color: #999; font-size: 0.7rem; } } span:nth-of-type(2) { margin-left: auto; margin-right: 1rem; } } } } } .close-iconf { cursor: pointer; } .list-banner { background-size: cover; background-repeat: no-repeat; .container { position: relative; padding: 2rem 0; } .con1 { .setBetween; align-items: center; .left { h2 { font-size: 2.3rem; margin-bottom: 1rem; .fb; } h3 { font-size: 2rem; color: #999; } .des { &, * { line-height: 2; } } .tags { margin-top: 1rem; max-width: 30rem; .list { display: flex; flex-wrap: wrap; a { margin-right: 1rem; margin-bottom: 0.5rem; &:hover { color: @c1; } } } } } .img { max-width: 50%; } } .m4 { margin: 4rem 0; } .search-con { width: 100%; background-color: #dae8f1; padding: 3rem 4rem; border-radius: 0.4rem; box-shadow: 0 0.5rem 0.5rem #ebebeb; margin-bottom: 3rem; h5 { font-size: 1.2rem; font-weight: 500; margin-bottom: 1rem; } .inp { flex: 1; .setColumnCenter; padding: 0 2%; height: 3rem; border-radius: 0.2rem; background-color: #fff; border-radius: 0.2rem; border: 1px solid @c1; position: relative; i { color: #999; } input { width: 100%; height: 100%; } & > span { position: absolute; top: calc(100% + 0.5rem); right: 0; font-size: 0.7rem; color: #666; } } .hot-s { margin-top: 0.5rem; * { font-size: 0.7rem; color: #999; } a { margin-right: 1rem; .a-hover; } } } .search-con1 { border-radius: 0.4rem; margin: 0 auto; margin-bottom: 3rem; h5 { font-size: 1.2rem; font-weight: 500; margin-bottom: 1rem; } .inp { flex: 1; .setColumnCenter; padding-left: 2%; height: 3rem; border-radius: 0.2rem; background-color: #fff; border-radius: 0.5rem; border: 1px solid @c1; position: relative; .submit-btn { display: flex; align-items: center; justify-content: center; width: 7rem; height: 100%; background-image: linear-gradient( 256deg, #00cdff 0%, #1b97ff 36%, #3660ff 100% ), linear-gradient(#0536f9, #0536f9); border-radius: 0.5rem 0.5rem 0.5rem 0.5rem; } i { color: #fff; font-size: 1.2rem; } input { width: 100%; height: 100%; } & > span { position: absolute; top: calc(100% + 0.5rem); right: 0; font-size: 0.7rem; color: #666; } } .hot-s { margin-top: 0.5rem; * { font-size: 0.7rem; color: #999; } a { margin-right: 1rem; .a-hover; } } } .con2 { padding-top: 3rem; border-top: 1px solid #ebebeb; .ui.form .field > label { font-size: 1rem; font-weight: bold; margin-bottom: 1rem; } .filter-container { .setBetween; margin-bottom: 1rem; & > div { flex: 1; margin-right: 0.5rem; &:last-of-type { margin-right: 0; } p { color: @c1; margin-bottom: 0.5rem; } select { width: 100%; height: 2.5rem; background-color: #fff; border-radius: 0.2rem; border: 1px solid @c1; padding: 0 2%; &, * { cursor: pointer; } } } } .ul_filter { display: flex; span { padding: 0.4rem 0.6rem; border-radius: 0.2rem; background-color: rgba(59, 82, 246, 0.4); &, * { color: #fff; font-size: 0.7rem; } a { margin-left: 0.5rem; } } } .sort-container { .setBetween; .selected { .setColumnCenter; * { font-size: 0.7rem; } b { background-color: #fff; padding: 0.3rem 0.3rem; margin-right: 0.5rem; border-radius: 0.2rem; color: #999; i { margin-left: 0.2rem; cursor: pointer; } } .clear { color: @c1; cursor: pointer; } } .sort { .setColumnCenter; span { color: #999; margin-right: 0.5rem; } select { width: 6rem; height: 2.5rem; background-color: #fff; border-radius: 0.2rem; border: 1px solid @c1; padding: 0 2%; cursor: pointer; } } } } } .rec-container { padding-top: 0; & > .main-center.container { display: block; background-color: #fff; padding: 1rem; border-radius: 0.5rem; & > h2 { font-size: 1.8rem; margin-bottom: 1rem; } } .content { .item-wrap(4, 1rem, 0); .item { box-shadow: 0rem 0.1rem 0.3rem 0rem rgba(213, 213, 213, 0.4); border-radius: 0.2rem; overflow: hidden; .img { height: 10.5rem; background-color: #ccc; margin-bottom: 0.5rem; } .text { padding: 0 0.5rem; h6 { font-weight: bold; font-size: 0.8rem; } p { font-size: 0.7rem; color: #999; line-height: 2; } } } } } .main-QA { padding-top: 0; .container { padding: 1rem 0; max-width: 60rem !important; } .t { .setColumnCenter; justify-content: space-between; margin-bottom: 2rem; h2 { font-size: 1.8rem; .fb; } .more-btn { margin-top: 0; } } .content { .accordion { li { cursor: pointer; margin-bottom: 1rem; border: 1px solid #ebebeb; &:last-of-type { margin-bottom: 0; } .link { padding: 1rem; } &.open { .submenu { display: block; } h5 { span { color: @c1; } i { &::after { transform: rotate(0); } } } } .submenu { display: none; padding: 1rem 2rem; transition: none !important; } h5 { font-size: 1.2rem; font-weight: 500; .setColumnCenter; justify-content: space-between; span { font: inherit; } strong { font: inherit; font-weight: bold; color: inherit; } i { display: block; width: 1rem; border-bottom: 2px solid @c1; position: relative; &::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; border-bottom: 2px solid @c1; transform: rotate(-90deg); transition: all ease 0.3s; } } } h6 { font-size: 1rem; color: @c1; margin-top: 1rem; margin-bottom: 0.5rem; font-weight: 500; } p { line-height: 1.8; } } } } } .main-FAQ { .t { .setBetween; align-items: center; .more-btn { margin-top: 0; } } } .main-contact-us { background-color: #fbfcfd; padding: 1.5rem 0; .container { .setCenter; h4 { font-size: 1.6rem; color: @c1; margin-bottom: 1.2rem; } } } .main-other-qa { padding: 3rem 0; display: flex; justify-content: center; align-items: center; .container { max-width: 36rem; padding: 1.4rem 1rem; border-radius: 1rem; box-shadow: 0 0 0.5rem rgba(59, 82, 246, 0.4); & > h6 { color: @c1; } .left { & > p { font-size: 1rem; } } .right { p { color: #999; font-size: 0.7rem; } } a { display: inline-block; strong { font: inherit; font-weight: bold; } } .content { display: flex; justify-content: space-between; .left { position: relative; padding-right: 2rem; &::after { content: ""; position: absolute; top: 50%; right: 0; height: 80%; border-left: 1px solid #ebebeb; transform: translateY(-50%); } .zx-btn { text-align: center; padding: 1rem 0; a { position: relative; font-weight: bold; padding-bottom: 0.3rem; background-color: @c1; padding: 0.6rem; color: #fff; border-radius: 0.2rem; line-height: 1; &::after { display: none; content: ""; position: absolute; bottom: 0; left: 0; width: 100%; border-bottom: 1px solid #fff; } span { font-size: 0.7rem; font-weight: normal; } } } } .right { padding-left: 2rem; flex: 1; & > div { margin-bottom: 0.5rem; &:last-of-type { margin-bottom: 0; } } } } } } .container-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(0, 0, 0, 0.5); .setCenter; display: none; z-index: 20; &.show { display: flex; } .close-iconf { position: absolute; top: 1rem; right: 1rem; font-size: 1rem; width: 1rem; height: 1rem; &::before, &::after { content: ""; position: absolute; top: 50%; left: 50%; width: 1rem; border-bottom: 2px solid #000; border-radius: 2px; } &::before { transform: translate(-50%, -50%) rotate(-45deg); } &::after { transform: translate(-50%, -50%) rotate(45deg); } } h5 { font-size: 1rem !important; color: @c1; text-align: center; margin-bottom: 1rem; } .container { background-color: #fff; padding: 1rem; position: relative; & > .close { position: absolute; top: 1rem; right: 1rem; cursor: pointer; } } .price-container { width: 20rem !important; * { font-size: 0.7rem; } .item { .setColumnCenter; strong { color: @c1; } select { width: 100%; height: 1.6rem; border: 1px solid #ebebeb; } } .sb { .setBetween; margin-top: 0.5rem; & > div { margin-right: 1rem; &:last-of-type { margin-right: 0; } } } p { text-align: center; color: #999; margin-top: 1rem; } } .hint { .setBetween; padding: 2rem 0; position: relative; & > .iconf { position: absolute; top: 1rem; right: 1rem; font-size: 1rem; } .item { width: 19rem; text-align: center; padding: 0 1rem; border-right: 1px solid #ebebeb; &:last-of-type { border-right: none; } * { text-align: center; } .i { width: 5rem; height: 5rem; border-radius: 50%; border: 1px solid @c1; .setCenter; margin: 0 auto; .iconf { font-size: 1.5rem; color: @c1; } } p { font-size: 0.9rem; font-weight: bold; margin: 0.5rem 0; } span { font-size: 0.7rem; color: #999; } } } .apply { display: flex; flex-wrap: wrap; justify-content: space-between; width: 30rem; input, textarea { padding: 0.5rem; margin-bottom: 1rem; } input { width: 49%; height: 2.5rem; border: 1px solid #ebebeb; } textarea { width: 100%; height: 4rem; border: 1px solid #ebebeb; resize: none; } button { margin: 0 auto; } } .des { max-width: 30rem; & > div, & > div * { font-size: 0.7rem; color: #666; line-height: 1.8; } } .form-mask { max-width: 35rem; padding: 2rem; position: relative; & > .iconf { position: absolute; top: 1rem; right: 1rem; font-size: 1rem; width: 1rem; height: 1rem; &::before, &::after { content: ""; position: absolute; top: 50%; left: 50%; width: 1rem; border-bottom: 2px solid #000; border-radius: 2px; } &::before { transform: translate(-50%, -50%) rotate(-45deg); } &::after { transform: translate(-50%, -50%) rotate(45deg); } } .sub { display: flex; justify-content: center; margin-top: 1rem; } button { background-color: @c1 !important; } } } .rec-course { .container { display: flex; flex-wrap: wrap; // .item-wrap(4,1rem,2rem); .item { width: 14.5rem; margin-right: calc((100% - 14.5rem * 4) / 3); box-shadow: 0 0 0.5rem #ebebeb; margin-bottom: 2rem; border-radius: 0.5rem; &:nth-of-type(4n) { margin-right: 0; } &:nth-of-type(n + 9) { display: none; } .img { height: 6.5rem; background-color: #ccc; img { width: 100%; height: 100%; object-fit: cover; } } .text { padding: 0.5rem; position: relative; //数据标记 // &::after { // content: attr(num); // position: absolute; // top: 0; // right: 1rem; // width: 1.6rem; // height: 2rem; // background-color: #ee6666; // .setCenter; // color: #fff; // } h6 { margin-bottom: 0.5rem; word-break: break-word; text-align: left; font-size: 0.9rem; } .par-con { display: flex; flex-wrap: wrap; justify-content: space-between; .icon { font-weight: bold; font-size: 0.8rem; color: @c1; margin-right: 0.2rem; display: none; } .par { } } } } } } .f-btn { .setCenter; width: 13rem; height: 3rem; border: 1px solid @c1; border-radius: 0.2rem; color: @c1; &:hover { background-color: @c1; color: #fff !important; } } .hint-search-content { position: absolute; top: 100%; left: 0; width: 30rem; box-shadow: 0 0 0.3rem #ebebeb; padding: 1rem 0; background-color: #fff; display: none; z-index: 3; .item { margin-bottom: 2rem; &:last-of-type { margin-bottom: 0; } h4 { font-size: 1rem; margin-bottom: 0.5rem; padding: 0 1rem; } .link { display: flex; align-items: center; flex-wrap: wrap; padding: 0.5rem 1rem; span { margin-right: 0.5rem; } em { padding: 0.2rem 0.4rem; background-color: @c1; color: #fff; border-radius: 0.1rem; font-size: 0.65rem; margin: 0.3rem 0; } &:hover { background-color: #ebebeb; } } } } header { position: fixed; top: 0; left: 0; width: 100%; z-index: 99; background-color: #fff; box-shadow: 0px 6px 10px 0px rgba(19, 36, 162, 0.1); #pc-header { & > div { display: flex; align-items: center; max-width: 80rem; & > ul { display: flex; margin-left: auto; li { & > a { display: inline-block; height: 5rem; margin-left: 1rem; .f-bold; .setCenter; transition: all ease 0.3s; } &.active, &:hover { a { color: @c1; } } &:hover { .two-menu { max-height: 30rem; } } } } } .map { background-color: #ebebeb; max-width: 100%; display: block; & > div { display: flex; justify-content: flex-end; max-width: 80rem; a { height: 2rem; line-height: 2rem; margin-left: 1rem; font-size: 0.7rem; &:hover { color: @c1; } } } } .logo { width: 8rem; } .search-form { display: flex; align-items: center; margin-left: 1rem; position: relative; select, .h-btn { height: 2rem; padding: 0 0.3rem; background-color: @c1; color: #fff; border-radius: 0.2rem; font-size: 0.7rem; position: relative; .iconf { margin-left: 0.3rem; } } & > div { .setColumnCenter; border: 1px solid @c1; border-radius: 0.2rem; padding-left: 0.5rem; margin-left: 0.5rem; input { width: 14rem; height: 2rem; &::placeholder { font-size: 0.7rem; color: #999; } } .i { .setCenter; width: 3rem; height: 2rem; background-color: @c1; .iconf { font-size: 1rem; } i { color: #fff; } } } .h-btn:hover { .content { display: flex; } } .content { position: absolute; top: 100%; left: 0; width: 54rem; display: none; justify-content: space-between; padding: 0; margin-left: 0; box-shadow: 0 0 0.3rem #ebebeb; h3 { padding: 0 1rem; height: 2.5rem; line-height: 2.5rem; margin: 0; width: 14rem; font-size: 1rem; } .more-btn { a { padding: 0.3rem 1rem; } } nav { background-color: #fafafb; height: 35rem; width: 14rem; position: relative; overflow: auto; overflow-x: hidden; padding-bottom: 1rem; ul { & > li { display: flex; & > div { display: flex; justify-content: space-between; padding: 0.5rem 1rem; flex-shrink: 0; width: 100%; cursor: pointer; * { color: #666; } &:hover { background-color: #fff; * { color: @c1; } } } } .more-btn { margin-top: 1rem; } } } aside { width: 40rem; background-color: #fff; padding: 0 1rem; flex-direction: column; overflow: hidden; z-index: 10; box-sizing: border-box; & > div { display: none; &.active { display: block; } } .item { display: none; flex-direction: column; height: 35rem; padding-bottom: 1rem; &.active { display: flex; } .more-btn { margin-top: 0; } } .courses-wrap { ol { & > li { width: 48%; & > a { display: block; padding: 0.5rem 0; } } h5 { font-size: 0.9rem; display: inline-flex; align-items: flex-start; width: 80%; em { font-size: 0.6rem; color: @c1; padding: 0.1rem 0.3rem; border: 1px solid @c1; border-radius: 2rem; margin-left: 0.5rem; white-space: nowrap; } } p { span { margin-right: 3rem; font-size: 0.7rem; &:last-of-type { margin-right: 0; } } * { color: #666; } } } } .program-wrap { ol { margin-top: 0; & > li { .p-tit { .setBetween; align-items: center; margin-bottom: 1rem; h6 { font-size: 0.9rem; margin-bottom: 0.5rem; } p { *, & { color: #999; font-size: 0.7rem; } } .t-logo { max-width: 13rem; width: 13rem; height: 4.5rem; background-color: #ccc; img { width: 100%; height: 100%; object-fit: cover; } } } .field { height: 5rem; display: flex; flex-direction: column; justify-content: space-between; flex-wrap: wrap; .list { padding: 0.5rem 0; .iconf { color: @c1; font-size: 0.9rem; } label { font-size: 0.9rem; font-weight: bold; margin: 0 0.3rem; } span { color: #999; font-size: 0.7rem; } } } li { width: 100%; padding: 1rem 0; padding-right: 4%; border-bottom: 1px solid #ebebeb; } .more-btn { padding-bottom: 2rem; margin-top: 2rem; width: 100%; } } li { width: 100%; padding: 1rem 0; padding-right: 4%; border-bottom: 1px solid #ebebeb; &:last-of-type { border-bottom: none; } } .more-btn { padding-bottom: 2rem; margin-top: 2rem; width: 100%; } } } .tit { position: relative; border-bottom: 1px solid #ebebeb; padding: 0.5rem 0; flex-shrink: 0; h4 { font-size: 1.1rem; margin: 0; color: #000; line-height: 1; } .iconf { color: @c1; font-size: 1.5rem; } p { color: #666; } .close { position: absolute; top: 1.5rem; right: 0; width: 2rem; height: 2rem; .setCenter; cursor: pointer; i { font-size: 1.5rem; } } } ol { display: flex; flex-wrap: wrap; justify-content: space-between; overflow: auto; margin: 1rem 0; width: 100%; & > li { width: 100%; } a:hover { h5 { color: @c1; } } } } } .search-inp { position: relative; } } .right { .setColumnCenter; margin-left: 2rem; .member { .setColumnCenter; .i { width: 2.5rem; height: 2.5rem; background-color: #ccc; border-radius: 50%; margin-right: 0.5rem; } p { a { margin: 0 0.3rem; &:hover { color: @c1; } } } .member-on { position: relative; &:hover { .second { display: block; } } .second { position: absolute; top: 100%; right: 0; display: none; width: 6rem; box-shadow: 0 0 0.5rem #ebebeb; border-radius: 0.3rem; background-color: #fff; padding: 0.3rem; overflow: hidden; a { display: block; padding: 0.3rem 0.5rem; font-size: 0.7rem; border-radius: 0.1rem; &:hover { background-color: #ebebeb; } } } } } .h-btn { display: flex; margin-left: 0.5rem; .i { width: 1.5rem; height: 1.5rem; .setCenter; background-color: @c1; border-radius: 50%; margin-left: 0.5rem; position: relative; i, & { color: #fff; } span { font-size: 0.6rem; } .addcart-goods-num { position: absolute; top: -0.5rem; right: -0.5rem; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: #fff; background-color: @c2; border-radius: 50%; width: 1rem; height: 1rem; } } } } } &.fixed { // padding: 0 6%; ul > li > a { height: 4rem !important; line-height: 4rem !important; } } } body { padding-top: 7rem; padding-bottom: 4rem; } main { & > section { padding: 5rem 0; } } footer { .foot { padding: 3rem 0; .logo { width: 19rem; } .container { position: relative; ul { .setBetween; h4 { margin-top: 2rem; margin-bottom: 1rem; &:first { margin-top: 0; } } a { display: block; font-size: 0.7rem; color: #666; padding: 0.3rem 0; .a-hover; } } .copyright { position: absolute; bottom: 0; left: 0; .link { .setRowCenter; margin-bottom: 0.5rem; .item { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid #ccc; margin-right: 1rem; .setCenter; &:hover { border-color: @c1; background-color: @c1; i { color: #fff; } } } } p { &, * { color: #666; font-size: 0.7rem; } } } } } .footer { background-color: @c1; padding: 2rem 0; & > div { display: flex; justify-content: space-between; } .left { display: flex; flex-direction: column; justify-content: space-between; * { color: #fff; } .logo { max-width: 12rem; } .ico { display: flex; .i { .setCenter; width: 2rem; height: 2rem; border: 1px solid #fff; border-radius: 50%; margin-right: 1rem; i { font-size: 1rem; } &:hover { background-color: #fff; i { color: @c1; } } } } .copyright { * { font-size: 0.7rem; font-weight: 100; line-height: 2; } } } .right { ul { display: flex; li { margin-left: 4rem; } * { color: #fff; font-weight: 100; } span { display: block; margin-top: 1rem; } a { margin-top: 1rem; display: block; &:first-of-type { margin-bottom: 0; } &:hover { text-decoration: underline; } } } } } .cookie { position: fixed; bottom: 0; left: 0; width: 100%; background-color: @c1; z-index: 99; transform: translateY(100%); .container { .setRowCenter; justify-content: space-between; p { font-size: 0.9rem; color: #fff; } a { padding: 0.5rem 1.5rem; color: @c1; border-radius: 3rem; background-color: #fff; white-space: nowrap; } } } } .select-wrap { display: flex; justify-content: space-between; #selected { display: flex; p { white-space: nowrap; margin-right: 1rem; } div { a { display: inline-block; padding: 0.3rem 0.5rem; color: #fff; font-size: 0.7rem; background-color: rgba(59, 82, 246, 1); border-radius: 0.1rem; margin-right: 1rem; margin-bottom: 1rem; &:last-of-type { margin-right: 0; } span { font-size: 0.7rem; } i { display: inline-block; margin-left: 0.5rem; font-size: 0.7rem; } } } } .submit-btn { text-align: right; } .submit-btn a { display: inline-block; padding: 0.3rem 0.5rem; border-radius: 0.2rem; color: #fff; text-transform: capitalize; background-color: #3b52f6; font-size: 0.8rem; white-space: nowrap; } } .layui-layer-dialog { top: 50% !important; } .mb-block{ display: none; } @media screen and (max-width: 1024px) { header #pc-header > div { max-width: 60rem; } .main-center, .main-title p { max-width: 50rem; } .main-QA .container { max-width: 50rem !important; } } @media screen and (max-width: 820px) { #pc-header { display: none !important; } #mb-header { display: block !important; } main .main-4 .container .item .t div span{ width: 5.5rem; } } @media screen and (max-width: 768px) { .mb-block{ display: block; } .swiper-button { display: none !important; } footer .cookie { padding: 0.5rem 0; } h2 { font-size: 1.4rem; } body { padding-top: 3.5rem; } #pc-header { display: none !important; } #mb-header { display: block !important; } main { & > section { padding: 2rem 2%; } .index-title { * { text-align: center; } p { font-size: 1.5rem; } h2 { font-size: 1.2rem; margin-top: 0.5rem; } } } .swiper-button { width: 1.5rem; height: 1.5rem; } .filter-container { padding: 1rem 0.5rem; padding-bottom: 0.5rem; .nav { a { margin-right: 0.5rem; font-size: 0.9rem; padding-bottom: 0.5rem; } } .bottom { padding: 1rem 0 0; .list { a { white-space: nowrap; } & > div { width: calc(100% - 4rem); .swiper-wrapper { flex-wrap: nowrap; } } } } .form { display: none; } } .page-title { margin-bottom: 3rem; h2 { font-size: 1.2rem; &::after { font-size: 2rem; } strong { font-size: 1.4rem; } } } .page-banner { img { height: 9rem; object-fit: cover; } .text { .form { display: none; } .right { & > a { display: none; } } } } .order-container { align-items: center; a { padding: 0 0.5rem; } } .content-container { flex-direction: column; & > div { padding-left: 2% !important; padding-right: 2% !important; } .content-right { width: 100%; margin-left: 0; .side-rec-case { .con { .link { .img { height: 6rem; } } } } } } footer { .top { .container { flex-direction: column-reverse; } .logo { margin: 0 auto 2rem; } .tabs { justify-content: center; } .tabs-content { padding-left: 2%; padding-right: 2%; a { &:nth-of-type(3n) { margin-right: 0; } } } } .bottom { .container { padding-left: 2%; padding-right: 2%; nav { display: none; } .copyright { padding-right: 6rem; } .code { right: 2%; } } } } footer { .footer { & > div { flex-direction: column-reverse; padding: 0 2%; } .left { margin-top: 2rem; .logo { display: none; } } .right { ul { a, span { font-size: 0.8rem; } li { margin-left: 0; margin-right: 3rem; } } } } } .list-banner { .con1 { flex-direction: column; .left { margin-bottom: 1rem; * { text-align: center; } h2 { font-size: 1.6rem; } } } .con2 { .filter-container { flex-wrap: wrap; & > div { width: 48% !important; flex: none; margin-right: 0 !important; .selection{ padding: .5rem; min-height: auto; } .ui.selection.dropdown .menu>.item{ padding:.8rem .5rem !important; min-height: auto !important; } } } .ul_filter { padding: 0 2%; } } .search-con { padding: 1rem; .inp { flex: none; width: 100%; & > span { display: none; } } } } .main-QA { .t { margin-bottom: 1rem !important; h2 { font-size: 1.4rem; margin-bottom: 0 !important; } } .content { .accordion { li { h5 { span { display: inline-block; width: 90%; } } .submenu { padding: 1rem 2rem; } } } } } .main-title { margin-bottom: 2rem; p { br { display: none; } } } .main-other-qa { padding-left: 2%; padding-right: 2%; .container { .content { flex-direction: column; & > div { width: 100%; } .left { &::after { display: none; } } .right { padding-left: 0; } } } } .select-wrap { flex-wrap: wrap; padding: 0 2%; #selected { margin-bottom: 1rem; div { a { margin-bottom: 0.5rem; } } } .submit-btn { width: 100%; text-align: right; } } .rec-course { padding: 0 2%; } .more-btn > a, .more-btn > span, .more-btn button { padding: 0.4rem 1.2rem; } footer .cookie .container p { line-height: 1.4; } .list-banner { .m4 { margin: 2rem 0; } .container { padding: 0 2%; } .con1 { .left { h2 { font-size: 1.4rem; } } } .search-con1 { h5{ font-size: 1rem; text-align: center; } .inp { height: 2.5rem; margin: 0 4%; & > span { top: calc(100% + 6rem); } input::placeholder{ font-size: .8rem; } .submit-btn{ width: 6rem; } } .hot-s{ margin-left: 4%; margin-right: 4%; } } } .position { margin-bottom: 2rem; } .par.w100{ flex-wrap: wrap; } .container-mask{ .form-mask{ max-height: 80vh; overflow-y: auto; } } .main-other-qa{ .container{ &>h6{ text-align: center; } .content{ p{ text-align: center; } .left{ padding-right: 0; } } } } }