@sp-main-color :#aa1f24; @sp-help-color: white; @sp-title-color: white; @sp-button-bg: #aa1f24; body { background: url(../sources/mainbg.png?v=0.3) fixed #ba2a25; min-height: 100vh; overflow-x: hidden; overflow-y: scroll; .sp-banner { width: 100%; height: auto; .title { width: 100%; height: 0; padding-bottom: 50%; background: url(../sources/banner.png?v=0.2&x-bce-process=image/resize,m_mfit,w_1920,h_100/format,f_auto) no-repeat center 0/contain; } } .sp-main { width: 100%; max-width: 1300px; margin: 0 auto; padding-bottom: 6rem; .sp-download { width: inherit; .c-header { margin: 2.5rem 0 0 4rem; width: 100%; position: relative; font-size: 2.5rem; color: @sp-title-color; height: 4.5rem; line-height: 4.5rem; text-align: left; &:before { content: ""; position: absolute; width: 0.35rem; height: 1.75rem; top: 35%; background-color: @sp-title-color; left: -2rem; } // &:after { // content: ""; // position: absolute; // width: 20px; // height: 20px; // top: 50%; // background-color: #ededed; // left: 2%; // } } .c-row { display: flex; flex-direction: row; width: 100%; height: auto; align-items: center; flex-wrap: wrap; .preview-info { position: absolute; border-radius: 8px; width: 240px; margin: 0 auto 0 17px; height: 300px; background: @sp-help-color; padding: 0 24px; .middle-title { margin: 2rem; } .pre-title { text-indent: 2rem; } } .preview-box { width: 100%; height: auto; img { width: 100%; height: 100%; border-radius: 40px; } } @media screen and (max-width: 1300px) { .preview-info { position: relative; border-radius: 8px; margin: 0 10px; width: auto; background: @sp-help-color; height: auto; .middle-title { margin: 2rem; } .pre-title { text-indent: 2rem; margin-bottom: 2rem; } } .preview-box { width: 100%; height: auto; img { margin: 1rem auto; width: 100%; height: 100%; } } } .sidecontent { display: flex; flex-direction: row; justify-content: flex-start; width: 100%; height: auto; .box { width: 25%; height: 240px; margin: 10px; padding: 8px; background: @sp-help-color; display: flex; flex-direction: column; justify-content: space-around; border-radius: 10px; box-shadow: #8fb2e0 5px 7px 20px; flex-grow: 1; .title { margin: 2px 10px; p { margin: 5px 0; } } .info { margin: 2px 10px; span { font-size: 1.25rem; } .first { margin-right: 2rem; } } } .x2 { width: 50%; } .x1 { width: 100%; } } @media screen and (max-width: 760px) { .sidecontent { overflow-x: scroll; } } } } .sp-news { width: auto; margin: 3rem 10px; .help-title { margin: 1rem 0 0px 4rem; width: 100%; position: relative; font-size: 2.5rem; color: @sp-title-color; height: 4.5rem; line-height: 4.5rem; text-align: left; &:before { content: ""; position: absolute; width: 0.35rem; height: 1.75rem; top: 35%; background-color: @sp-title-color; left: -2rem; } } .help-box { border-radius: 2rem; border: 0.75rem solid @sp-title-color; padding: 1rem; p { font-size: 1.75rem; margin: 1rem auto; text-indent: 2rem; color: @sp-title-color; } } .tab-title { height: 50px; border-radius: 10px 10px 0 0; background-color: @sp-help-color; } .news-list { width: 100%; border-radius: 0 0 10px 10px; padding: 8px 0; background: @sp-help-color; display: flex; flex-direction: column; .news-item { display: flex; flex-direction: row; margin: 0.75rem 2.5rem; justify-content: space-between; font-size: 1.5rem; border-bottom: 1px solid @sp-main-color; .news-title { font-size: inherit; max-width: 630px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: inline-block; } .news-info { font-size: inherit; display: flex; align-items: center; .time { font-size: inherit; margin: 0 0.5rem; } .supplyer { font-size: inherit; margin: 0 0.5rem; max-width: 290px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; display: inline-block; } } &:last-child { // border-bottom: none; } } .news-tips { font-size: 1.75rem; color: grey; } } .news-pagination { margin: 0.75rem 2.5rem; } } } .footer { // position: absolute; // bottom: 0; } } @media screen and (max-width: 980px) { body { .sp-main { .sp-news { .news-list { .news-item { flex-direction: column; line-height: 2.75rem; margin: 0.75rem 1rem; .news-info { .time { font-size: 1rem; min-width: 100px; } } } } } } } } .big-title { margin: 2rem auto 1rem; font-size: 4rem; font-weight: 600; color: @sp-title-color; } .pre-title { font-size: 2rem; } .middle-title { font-size: 2.5rem; font-weight: 600; color: @sp-main-color; } .desc { font-size: 1.5rem; } .center { text-align: center; } .button { width: 100%; height: 30px; border-radius: 20px; margin: 0 auto; text-align: center; vertical-align: middle; line-height: 30px; color: white; cursor: pointer; background: @sp-button-bg; a { display: block; color: #ffffff; &:hover { color: #ffffff; text-decoration: unset; } } } .logo { font-size: 28px; color: white; letter-spacing: 8px; font-weight: 600; text-indent: 2rem; margin-top: 12px; } .big-btn { height: 4rem; line-height: 4rem; font-size: 2rem; font-weight: 600; background-color: @sp-title-color; a { color: @sp-main-color; &:hover { color: @sp-main-color; } } } .waiting_btn { background: #c0cefc; color: #666; } p { margin: 0; } @media screen and (max-width: 760px) { .big-title { font-size: 2rem; } .pre-title { font-size: 1.25rem; } .middle-title { font-size: 1.75rem; } body .sp-main .sp-download .c-header, body .sp-main .sp-news .help-title { font-size: 1.75rem; } } .sp-main .layui-laypage .layui-laypage-curr .layui-laypage-em { background-color: @sp-main-color !important; } .sp-main .layui-tab-brief>.layui-tab-title .layui-this { color: @sp-main-color !important; } .layui-tab-brief>.layui-tab-more li.layui-this:after, .layui-tab-brief>.layui-tab-title .layui-this:after { border: none; border-radius: 0; border-bottom: 2px solid @sp-main-color !important; }