body { display: flex; flex-direction: column; --mainColor: #005BAC; --bgColor: #F3F4F6; --wrapWidth: 1240px; --rightWidth: 300px; background-color: var(--bgColor); min-width: var(--wrapWidth); overflow-x: auto; user-select: none; counter-reset: rankToday rankWeek; position: relative; & > img { display: none; } & > .container { display: flex; justify-content: center; & > .wrap { display: flex; width: var(--wrapWidth); &.contentWrap { align-items: flex-start; & > .contentRight { position: sticky; top: 64px; } } .wrapLeft { flex: 1; } .wrapRight { display: flex; flex-direction: column; width: var(--rightWidth); } .adv { display: flex; justify-content: center; align-items: center; height: 246px; background-color: var(--bgColor); margin: 20px 0; overflow: hidden; &.noMarginBottom { margin-bottom: 0 !important; } &.noMarginTop { margin-top: 0 !important; } & > div { transform: scale(1); } &.big { height: 153px; margin: 20px 0; & > div { transform: scale(1.7); } } &.middle { height: 113.7px; margin: 20px 0; & > div { transform: scale(1.26373); } } &.max { a { width: 100%; img { width: 100%; } } } } .topic { display: flex; margin-bottom: 20px; img { width: 300px; height: 106px; object-fit: cover; } &.noCover { img { object-fit: fill !important; height: auto !important; } } &.noMarginBottom { margin-bottom: 0 !important; } &.noMarginTop { margin-top: 0 !important; } } .topicBox { display: flex; justify-content: space-between; margin: 20px 0; a { flex: 1; display: flex; margin-right: 20px; &:nth-last-of-type(1) { margin-right: 0 } img { width: 100%; height: 148px; object-fit: cover; } } &.noMarginBottom { margin-bottom: 0 !important; } &.noMarginTop { margin-top: 0 !important; } } .share { position: absolute; right: 0; bottom: 0; background-color: var(--bgColor); width: 54px; height: 19px; i { font-size: 12px; color: #53585c; padding-left: 6px; &::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 4px; background-image: url(../icons/share.png); background-repeat: no-repeat; } } } .newItem { display: flex; flex-direction: column; &:hover { box-shadow: 0 0 5px 5px rgb(0 0 0 / 5%); } &.noBoxShadow { box-shadow: none; } .imgBox { overflow: hidden; img { object-fit: cover; transition: transform 0.2s linear; &:hover { transform: scale(1.05); } } } h5 { font-size: 18px; font-weight: normal; line-height: 24px; height: 48px; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-align: justify; margin: 10px 0; } .msg { display: flex; align-items: center; position: relative; span { font-size: 14px; padding: 5px 0; margin-right: 10px; &:nth-last-of-type(1) { margin-right: 0; } } .tag { color: var(--mainColor); background-color: #FFFFFF; padding: 5px; } .share { bottom: 3px; } } } .rowTitle { display: flex; justify-content: space-between; align-items: flex-end; padding: 10px 0; border-bottom: 1px solid #FFFFFF; margin-bottom: 20px; a { color: #FFFFFF; &:nth-of-type(1) { font-size: 22px; } &:nth-of-type(2) { font-size: 14px; } } &.bold { padding-top: 0; border-bottom: none; margin: 20px 0 10px 0; a { color: var(--mainColor); font-size: 26px; &:nth-of-type(2) { color: #A9A8AD; } } } .showModel { display: flex; img { height: 28px; display: none; margin-right: 10px; cursor: pointer; &.show { display: block; } &:nth-last-of-type(1), &:nth-last-of-type(2) { margin-right: 0; } } span { cursor: pointer; &.actived { color: var(--mainColor); } } .line { width: 1px; height: 16px; margin: 0 10px; background-color: #171717; } } } .rank { display: flex; flex-direction: column; flex: 1; background: linear-gradient(132deg, rgba(0,91,172,1) 0%, rgba(255,255,255,1) 100%); margin-bottom: 20px; min-height: 573px; max-height: 573px; .title { display: flex; align-items: flex-end; height: 70px; a { display: flex; img { height: 75px; transform: scale(1.2) translate(-6px, 3px); } } .chooseRank { color: #171717; padding: 9px 12px; font-size: 16px; border-top-left-radius: 10px; border-top-right-radius: 10px; cursor: pointer; font-weight: bold; &.actived { background-color: #FFFFFF; color: #FF7B40; cursor: auto; } } } .box { display: none; flex-direction: column; justify-content: space-between; flex: 1; margin: 0 10px 10px 10px; background-color: #FFFFFF; padding: 10px; &.actived { display: flex; } .item { font-size: 16px; color: #262626; line-height: 20px; height: 40px; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-align: justify; padding-left: 30px; position: relative; &:hover { color: var(--mainColor); } &::before { display: block; position: absolute; top: 0; left: 0; width: 20px; height: 20px; background-color: #FFFFFF; color: #171717; text-align: center; } &:nth-of-type(1) { &::before { background-color: #E6212B; color: #FFFFFF; } } &:nth-of-type(2) { &::before { background-color: #FD7E41; color: #FFFFFF; } } &:nth-of-type(3) { &::before { background-color: #0387C2; color: #FFFFFF; } } } &.boxToday { .item { counter-increment: rankToday; &::before { content: counter(rankToday); } } } &.boxWeek { .item { counter-increment: rankWeek; &::before { content: counter(rankWeek); } } } } } .dateChain { display: flex; flex-direction: column; background-color: #FFFFFF; padding-top: 20px; position: relative; .line1 { height: 2px; background-color: #CDCDCD; margin: 0 20px; } .line2 { width: 100px; height: 4px; background-color: var(--mainColor); position: absolute; top: 19px; left: 20px; } & > h6 { width: calc(100% - 40px); line-height: 56px; font-size: 26px; font-weight: bold; border-bottom: 1px dashed #D0D0D0; margin: 0 20px; } .chooseDate { display: flex; justify-content: center; padding: 20px; input[type="date"] { padding: 10px; border: 1px solid var(--mainColor); color: var(--mainColor); width: 240px; } button { background-color: var(--mainColor); margin-left: 20px; color: #F5F5F5; cursor: pointer; width: 80px; } } #dateChainList { height: 480px; margin-bottom: 26px; position: relative; .swiper-wrapper { flex-direction: column; .swiper-slide { height: auto; a { display: flex; flex-direction: column; height: 100px; &:hover { u, h6 { color: var(--mainColor); } } &::before { position: absolute; left: 17px; top: 10px; content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background-color: var(--mainColor); z-index: 1; } u { text-decoration: none; margin-left: 41px; font-size: 20px; line-height: 28px; color: #171717; } h6 { margin: 4px 20px 0 43px; color: #171717; font-size: 16px; line-height: 22px; max-height: 44px; font-weight: normal; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-align: justify; } } } } .line { position: absolute; left: 20px; top: 16px; width: 1px; height: 492px; background-color: var(--mainColor); } } } .pdf, .stock, .todayAll { display: flex; flex-direction: column; align-items: center; margin: 20px 0; background-color: #FFFFFF; position: relative; padding: 20px; &.pdf { padding-bottom: 10px; } &.noMarginBottom { margin-bottom: 0 !important; } &.noMarginTop { margin-top: 0 !important; } .line1 { width: 100%; height: 2px; background-color: #CDCDCD; } .line2 { width: 100px; height: 4px; background-color: var(--mainColor); position: absolute; top: 19px; left: 20px; } h6 { width: 100%; line-height: 56px; font-size: 26px; font-weight: bold; border-bottom: 1px dashed #D0D0D0; } .iframeBox { display: flex; justify-content: center; align-items: center; margin-top: 20px; } .todayAllList { display: flex; flex-wrap: wrap; padding: 16px 0; a { width: 50%; padding: 8px 0; text-align: center; background-color: #FFFFFF; } } &.stock { margin-top: 0; } } #topicSwiper { width: 920px; .swiper-wrapper { padding: 10px 0; .swiper-slide { display: flex; width: auto !important; z-index: 1; transform: scale(0.6); transition: transform 0.2s linear; &:hover { box-shadow: 5px 5px 10px 0px rgb(0 0 0 / 20%); } a { flex: 1; img { width: calc(375px * 1.2); height: calc(117px * 1.2); // 133 // object-fit: cover; } } &.swiper-slide-active { z-index: 3; transform: scale(1); } &.swiper-slide-prev, &.swiper-slide-next { z-index: 2; transform: scale(0.8); } } } } .newsDetailBox { background-color: #FFFFFF; display: flex; flex-direction: column; padding: 20px; margin: 20px 0; img { cursor: zoom-in; } .breadcrumb { display: flex; margin-bottom: 10px; * { font-size: 15px; line-height: 15px; color: #707070; &:nth-last-of-type(1) { color: var(--mainColor); } } a { margin: 0 5px; &:nth-of-type(1) { margin-left: 0; } &:nth-last-of-type(1) { margin-right: 0; } } } .poster { overflow: hidden; margin-bottom: 20px; img { width: 100%; } } h2 { font-weight: bold; font-size: 28px; line-height: 36px; max-height: 108px; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; text-align: justify; margin-bottom: 10px; user-select: text; } .msg { display: flex; flex-direction: column; margin-bottom: 10px; position: relative; * { user-select: text; } span { font-size: 12px; color: #BEBEBE; line-height: 16px; &:nth-of-type(1) { margin-bottom: 10px; display: none; } &:nth-of-type(3) { position: absolute; bottom: 0; right: 0; } } } .newsDetail { margin-bottom: 20px; color: #171717; border-top: 1px solid #BEBEBE; padding-top: 20px; * { user-select: text; } p { font-size: 18px; line-height: 36px; margin-top: 9px; text-align: justify; } img { width: 100%; } video { width: 100% !important; } } .end { padding: 20px 0; display: flex; justify-content: center; align-items: center; position: relative; span { position: absolute; top: 0; right: 0; color: #171717; font-size: 14px; line-height: 32px; user-select: text; } img { height: 164px; } } } .pageSelecter { display: flex; padding: 20px 0; justify-content: center; align-items: center; .item { cursor: pointer; background-color: #E2DEDF; color: #171717; font-size: 15px; padding: 8px 12px; margin-right: 16px; &.selected { background-color: var(--mainColor); color: #FFFFFF; } } } .mediaBox { display: flex; justify-content: flex-end; align-items: center; position: relative; .item { display: flex; align-items: center; width: 40px; height: 40px; overflow: hidden; margin-right: 14px; cursor: pointer; transition: 0.2s; &:nth-of-type(1) { transform: translateX(74px); img { transform: translateX(1px) translateY(-2px); } } &:nth-of-type(2) { transform: translateX(63px); img { transform: translateX(-40px) translateY(-2px); } } &:nth-of-type(3) { transform: translateX(52px); img { transform: translateX(-77px) translateY(-2px) scale(1.04); } } &:nth-of-type(4) { transform: translateX(43px); img { transform: translateX(-117px) translateY(-2px); } } &:nth-of-type(5) { transform: translateX(32px); img { transform: translateX(-160px) translateY(-2px); } } } div { &.item { transform: translateX(20px) !important; &:nth-of-type(1) { & > img { transform: translateX(-202px) translateY(-2px); } } } } .wechatPop { bottom: -122px; left: auto !important; right: -86px; left: auto; width: fit-content; .code { display: flex; flex-direction: column; justify-content: center; align-items: center; margin-right: 10px; transition: 0.2s; &:nth-last-of-type(1) { margin-right: 0; } &:hover { transform: scale(1.02); } img { width: 80px; height: 80px; } } } } } } #sideNav { position: fixed; top: 382px; left: calc(var(--wrapWidth) / 2 + 50%); transform: translate(67px, 0); display: flex; flex-direction: column; box-shadow: 0 0 5px 5px rgb(0 0 0 / 5%); z-index: 999; background-color: #FFFFFF; &.fixedBottom { position: absolute; top: auto; bottom: 320px; } .item { text-align: center; padding: 5px 10px; font-size: 18px; color: #171717; background-color: #FFFFFF; transition: 0.5s; cursor: pointer; &:hover { color: var(--mainColor); } &.actived { background-color: var(--mainColor); color: #FFFFFF; } &:nth-of-type(1) { margin-top: 5px; } &:nth-last-of-type(1) { margin-bottom: 5px; } } .scrollToTop { padding: 5px 0; display: flex; justify-content: center; align-items: center; background-color: #A5A5A5; cursor: pointer; img { height: 40px; background-color: #FFFFFF; } } } #header { background-color: #FFFFFF; height: 104px; z-index: 9999; & > .wrap { flex-direction: row; padding-bottom: 14px; .item { position: relative; } .pop { position: absolute; left: 50%; transform: translateX(-50%); background-color: #FFFFFF; border: 1px dashed #E6181D; border-radius: 12px; padding: 10px; display: flex; z-index: 999; &::before { content: ""; display: block; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 10px solid #E6181D; } &.hidePop { display: none; } } .left { display: flex; align-items: flex-end; .item { display: flex; flex-direction: column; align-items: center; margin-right: 14px; font-family: "microsoft yahei"; img { margin-bottom: 8px; cursor: pointer; } & > i { border-radius: 50%; padding: 4px 6px; font-size: 15px; color: #EB2D39; cursor: pointer; border: 2px solid #EB2D39; margin-bottom: 6px; font-weight: bold; } span { font-size: 15px; color: #171717; cursor: pointer; } .meitijuzhenPop { bottom: -138px; .code { display: flex; flex-direction: column; justify-content: center; align-items: center; margin-right: 10px; transition: 0.2s; &:nth-last-of-type(1) { margin-right: 0; } &:hover { transform: scale(1.02); } img { width: 80px; height: 80px; margin-bottom: 10px; } span { font-size: 14px; color: #171717; } } } .mailPop { bottom: -48px; width: max-content; align-items: center; span { font-size: 14px; color: #171717; } i { color: #E6181D; cursor: pointer; margin-left: 10px; } } &.hidden { display: none; } &.zh_click { margin-left: 16px; } } } .right { flex: 1; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; transform: translateY(6px); .top { margin-bottom: 14px; display: flex; justify-content: flex-end; align-items: center; a { color: var(--mainColor); font-size: 19px; &:hover { text-decoration: underline; } } } } } } #nav { position: sticky; top: 0; left: 0; background-color: var(--mainColor); height: 64px; z-index: 999; box-shadow: 5px 5px 10px 0px rgb(0 0 0 / 5%); & > .wrap { flex-direction: row; .item { font-size: 24px; color: #FFFFFF; padding: 0 14px; line-height: 64px; flex-shrink: 0; position: relative; text-align: center; &.actived { font-size: 20px; line-height: 58px; &::after { display: block; content: ""; position: absolute; bottom: 14px; left: 6px; height: 2px; width: calc(100% - 12px); border-radius: 1px; background-color: #FFFFFF; } } // &:hover { // &::after { // display: block; // content: ""; // position: absolute; // bottom: 6px; // left: 10px; // height: 2px; // width: calc(100% - 20px); // border-radius: 1px; // background-color: #FFFFFF; // } // } } .navs { display: flex; flex-wrap: nowrap; flex: 1; overflow: hidden; } .more, .search, .moreList { display: flex; justify-content: center; align-items: center; padding: 0 10px; cursor: pointer; img { height: 20px; } } .more { position: relative; .moreNavs { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background-color: var(--mainColor); display: flex; flex-direction: column; width: max-content; &.hidePop { display: none; } .item { &.actived { &::after { bottom: 5px; left: 20px; width: calc(100% - 40px); } } } } } } } #logoBox { background-color: var(--bgColor); height: 124px; display: flex; & > .wrap { flex-direction: row; align-items: center; position: relative; .logo { display: flex; img { height: 70px; } } & > .other { display: flex; flex-direction: column; justify-content: flex-end; flex: 1; margin-left: 50px; .slogan { width: 212px; user-select: none; transform: translateY(6px); } .msg { display: flex; align-items: flex-end; margin-left: 5px; span { color: #949494; font-size: 14px; margin-right: 5px; user-select: none; } .temp { margin-left: 3px; opacity: 0; } .weather { height: 26px; transform: translateY(3px); user-select: none; opacity: 0; } } } .advForLogo { position: absolute; right: 0; bottom: 10px; display: flex; width: 375px; height: 104px; &::before { content: ""; display: block; position: absolute; bottom: 12px; left: 12px; background-color: #FFFFFF; width: 16px; height: 16px; } img { &:nth-of-type(1) { position: absolute; bottom: 5px; left: 5px; height: 30px; } &:nth-of-type(2) { height: 104px; object-fit: cover; } } .msg { background-color: var(--mainColor); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; .title { display: flex; justify-content: center; align-items: flex-end; margin-bottom: 4px; span { color: #FFFFFF; &:nth-of-type(1) { font-size: 17px; } &:nth-of-type(2) { font-size: 15px; padding: 0 1px; line-height: 10px; height: 15px; background-color: #FC0103; display: block; transform: translate(3px, -2px); } } } h6 { font-weight: normal; font-size: 15px; color: #FFFFFF; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; text-align: justify; line-height: 20px; max-height: 60px; } } } } } #scrollNewBox { background-color: #FFFFFF; height: 60px; & > .wrap { flex-direction: row; align-items: center; .scrollNewLogo { display: flex; align-items: center; img { height: 42px; margin-right: 14px; } h6 { font-size: 16px; color: #E8363E; color: var(--mainColor) !important; font-weight: bolder; } } #timeliness { flex: 1; height: 40px; margin-right: 20px; .swiper-wrapper { .swiper-slide { line-height: 40px; font-size: 18px; color: #969696; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; text-align: justify; position: relative; padding-right: 45px; &:hover { color: var(--mainColor); } font { position: absolute; right: 0; top: 0; line-height: 40px; font-size: 18px; color: var(--mainColor); } } } } .advForScrollNew { display: flex; align-items: center; img { width: 300px; object-fit: cover; } } } } #bannerNewBox { background-color: var(--mainColor); padding: 30px 0; & > .wrap { flex-direction: column; .top { display: flex; margin-bottom: 20px; .wrapLeft { display: flex; flex-direction: column; overflow: hidden; margin-right: 20px; .bannerTitle { display: flex; align-items: flex-end; margin-bottom: 8px; a { font-size: 44px; color: #FFFFFF; font-weight: bold; font { font-size: 32px; color: #E6181D; color: var(--mainColor) !important; background-color: #FFFFFF; margin-left: 5px; display: inline-block; padding: 0 5px; } } } #banner { width: 100%; position: relative; .swiper-wrapper { .swiper-slide { a { display: flex; flex-direction: column; img { width: 100%; height: 518px; object-fit: cover; // border-bottom: 4px solid #FFFFFF; } h6 { font-size: 34px; color: #FFFFFF; line-height: 40px; max-height: 80px; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-align: justify; margin: 14px 0; } .msg { display: flex; align-items: center; position: relative; span { font-size: 18px; margin-right: 11px; color: #E8E0D8; &:nth-last-of-type(1) { margin-right: 0; } } } } } } .progressLine { display: none !important; position: absolute; top: 516px; left: 0; width: 165px !important; height: 18px; background-color: #E6181D; transform: translateY(-50%); transition: width 0.2s linear; z-index: 1; } .swiper-pagination { bottom: auto; left: auto; width: auto; top: 484px; right: 15px; .swiper-pagination-bullet { opacity: 1 !important; background: #FFFFFF !important; border-radius: 0; transition: 0.2s; &.swiper-pagination-bullet-active { // background-color: #E6181D !important; background-color: var(--mainColor) !important; width: 16px; } } } .swiper-button-prev, .swiper-button-next { color: #A9A8AD; background-color: #171717; opacity: 0.6; transition: 0.2s; top: 266px; &:hover { opacity: 0.9; } &::after { font-size: 16px; } } .swiper-button-prev { left: 0; } .swiper-button-next { right: 0; } } } .wrapRight { & > * { &:nth-last-child(1) { margin-bottom: 0; } } } } .middle { display: flex; align-items: center; margin-bottom: 20px; display: none; h6 { background-color: #E6181D; color: #FFFFFF; margin-right: 20px; font-size: 20px; line-height: 28px; padding: 0 4px; } .hotTopic { flex: 1; display: flex; align-items: center; overflow: hidden; a { font-size: 20px; color: #FFFFFF; margin-right: 20px; flex-shrink: 0; &:nth-last-of-type(1) { margin-right: 0; } } } } .bottom { display: flex; flex-direction: column; position: relative; .title { margin-bottom: 10px; h6 { font-size: 24px; font-weight: bold; color: #FFFFFF; } } .swiper-container { width: 100%; .swiper-wrapper { .swiper-slide { &.newItem { width: 295px; .imgBox { width: 295px; height: 166px; img { width: 295px; height: 166px; } } h5 { color: #FFFFFF; } .msg { span { color: #FFFFFF; } .tag { color: var(--mainColor); background-color: #FFFFFF; } } } } } } .swiper-button-prev, .swiper-button-next { color: #A9A8AD; background-color: #171717; opacity: 0.6; transition: 0.2s; &:hover { opacity: 0.9; } &::after { font-size: 16px; } &.swiper-button-disabled { cursor: not-allowed; } } .swiper-button-prev { left: 0; transform: translateX(-47px); } .swiper-button-next { right: 0; transform: translateX(47px); } } } } #newsBox { & > .wrap { flex-direction: column; .list { display: flex; flex-wrap: wrap; .advv { & > div { transform: scale(1.33); } } } } &.big { & > .wrap { .bigTitle { display: flex; position: relative; img { width: 100%; } h3 { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateY(-3px); font-size: 30px; color: var(--mainColor); } } .list { .newItem { width: calc(1200px / 3); background-color: #FFFFFF; margin-bottom: 20px; .imgBox { width: calc(1200px / 3); height: calc(1200px / 3 / 270 * 152); img { width: calc(1200px / 3); height: calc(1200px / 3 / 270 * 152); } } h5 { font-size: 20px; line-height: 26px; height: 52px; margin: 10px; } .msg { margin: 3px 10px; .share { bottom: 6px; } } &:nth-of-type(1), &:nth-of-type(2) { width: 610px; .imgBox { width: 610px; height: calc(610px / 270 * 152); img { width: 610px; height: calc(610px / 270 * 152); } } h5 { font-size: 22px; line-height: 28px; height: 56px; } } &:nth-of-type(1), &:nth-of-type(3), &:nth-of-type(4) { margin-right: 20px; } } } } } &.middle { & > .wrap { flex-direction: row; .wrapLeft { margin-right: 20px; } .rowTitle { border-color: var(--mainColor); padding-top: 0; a { color: var(--mainColor); &:nth-of-type(2) { color: #A9A8AD; } } } .list { .newItem { width: calc(880px / 3); background-color: #FFFFFF; margin-bottom: 20px; .imgBox { width: calc(880px / 3); height: calc(880px / 3 / 270 * 152); img { width: calc(880px / 3); height: calc(880px / 3 / 270 * 152); } } h5 { font-size: 18px; line-height: 24px; margin: 10px; height: 48px; } .msg { margin: 3px 10px; .share { bottom: 6px; } } &:nth-of-type(1), &:nth-of-type(2) { width: 450px; .imgBox { width: 450px; height: calc(450px / 270 * 152); img { width: 450px; height: calc(450px / 270 * 152); } } h5 { font-size: 20px; line-height: 26px; height: 52px; } } &:nth-of-type(1), &:nth-of-type(3), &:nth-of-type(4) { margin-right: 20px; } } &.reverse { .newItem { margin-right: 0; &:nth-of-type(1), &:nth-of-type(2) { width: calc(880px / 3); .imgBox { width: calc(880px / 3); height: calc(880px / 3 / 270 * 152); img { width: calc(880px / 3); height: calc(880px / 3 / 270 * 152); } } h5 { font-size: 18px; line-height: 24px; } } &:nth-of-type(4), &:nth-of-type(5) { width: 450px; .imgBox { width: 450px; height: calc(450px / 270 * 152); img { width: 450px; height: calc(450px / 270 * 152); } } h5 { font-size: 20px; line-height: 26px; height: 52px; } } &:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(4) { margin-right: 20px; } } } &.list6 { .newItem { margin-right: 0; &:nth-of-type(1), &:nth-of-type(2) { width: calc(880px / 3); .imgBox { width: calc(880px / 3); height: calc(880px / 3 / 270 * 152); img { width: calc(880px / 3); height: calc(880px / 3 / 270 * 152); } } h5 { font-size: 18px; line-height: 24px; } } &:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(4), &:nth-of-type(5) { margin-right: 20px; } } } &.special { position: relative; height: 660px; .newItem { position: absolute; margin: 0; &:nth-of-type(2), &:nth-of-type(3), &:nth-of-type(4), &:nth-of-type(5), &:nth-of-type(6) { width: calc(880px / 3); .imgBox { width: calc(880px / 3); height: calc(880px / 3 / 270 * 152); img { width: calc(880px / 3); height: calc(880px / 3 / 270 * 152); } } h5 { font-size: 18px; line-height: 24px; } } &:nth-of-type(1) { top: 0; left: 0; width: calc((880px / 3 * 2 + 20px)); .imgBox { width: calc((880px / 3 * 2 + 20px)); height: calc((880px / 3 / 270 * 152) * 2 + 20px); img { width: calc((880px / 3 * 2 + 20px)); height: calc((880px / 3 / 270 * 152) * 2 + 20px); } } h5 { position: absolute; bottom: 0; left: 0; color: #FFFFFF; width: calc(100% - 20px); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)); margin: 0; padding: 10px; box-sizing: content-box; height: auto; max-height: 46px; } .msg { display: none; } } &:nth-of-type(2) { top: 0; right: 0; h5 { position: absolute; bottom: 0; left: 0; color: #FFFFFF; width: calc(100% - 20px); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)); margin: 0; padding: 10px; box-sizing: content-box; height: auto; max-height: 42px; } .msg { display: none; } } &:nth-of-type(3) { top: 186px; right: 0; h5 { position: absolute; bottom: 0; left: 0; color: #FFFFFF; width: calc(100% - 20px); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)); margin: 0; padding: 10px; box-sizing: content-box; height: auto; max-height: 42px; } .msg { display: none; } } &:nth-of-type(4) { top: 372px; left: 0; } &:nth-of-type(5) { top: 372px; right: 314px; } &:nth-of-type(6) { top: 372px; right: 0; } } } } } } &.columnNews { & > .wrap { flex-direction: column; .list { display: flex; flex-wrap: wrap; &.topicList { display: none; &.show { display: flex; } .topicItem { display: flex; flex-direction: column; width: calc((var(--wrapWidth) - 60px) / 4); overflow: hidden; margin-right: 20px; margin-bottom: 20px; background-color: #FFFFFF; &:nth-of-type(4n + 4) { margin-right: 0; } &:hover { box-shadow: 0 0 5px 5px rgb(0 0 0 / 5%); h5 { color: var(--mainColor); } } img { width: calc((var(--wrapWidth) - 60px) / 4); height: calc(((var(--wrapWidth) - 60px) / 4) * 133 / 375); // object-fit: cover; } h5 { font-size: 14px; font-weight: normal; text-align: center; margin: 10px 0; padding: 0 20px; line-height: 22px; } } } .newItem { width: calc(1200px / 3); background-color: #FFFFFF; margin-bottom: 20px; margin-right: 20px; .imgBox { width: calc(1200px / 3); height: calc(1200px / 3 / 270 * 152); img { width: calc(1200px / 3); height: calc(1200px / 3 / 270 * 152); } } h5 { font-size: 20px; line-height: 26px; height: 52px; margin: 10px; } .msg { margin: 3px 10px; p { display: none; } .share { bottom: 6px; } } &:nth-of-type(3n + 3) { margin-right: 0; } } &.rowList { flex-direction: column; .newItem { width: 100%; background-color: #FFFFFF; margin-bottom: 20px; margin-right: 0; flex-direction: row; padding: 20px; position: relative; .imgBox { width: 320px; height: calc(320px / 270 * 152); img { width: 320px; height: calc(320px / 270 * 152); } } h5 { font-size: 24px; line-height: 30px; height: 60px; margin: 0 20px; flex: 1; } .msg { position: absolute; bottom: 0; right: 0; width: calc(100% - 380px); flex-direction: column; align-items: flex-start; margin: 0 20px 20px 20px; p { font-size: 16px; color: #666666; line-height: 20px; max-height: 60px; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; text-align: justify; display: none; } .share { bottom: 0; } } &.noImg { flex-direction: column; .imgBox { display: none; } h5 { margin: 0; max-height: 30px; -webkit-line-clamp: 1; } .msg { position: static; width: 100%; margin: 0; margin-top: 10px; p { max-height: 40px; -webkit-line-clamp: 2; } .date { margin-top: 10px; padding: 0; } .share { bottom: 20px; right: 20px; } } } } .advv { display: none !important; } } } } } } #zhuoshuquBox { background-color: var(--mainColor); & > .wrap { padding: 10px 0 20px 0; flex-direction: column; position: relative; #zhuoshuqu { width: 100%; .swiper-wrapper { .swiper-slide { &.newItem { width: 295px; .imgBox { width: 295px; height: 166px; box-shadow: 5px 5px 10px 0px rgb(0 0 0 / 20%); img { width: 295px; height: 166px; } } h5 { color: #F4DF0F; } } } } } .swiper-button-prev, .swiper-button-next { color: #A9A8AD; background-color: #171717; opacity: 0.6; transition: 0.2s; &:hover { opacity: 0.9; } &::after { font-size: 16px; } &.swiper-button-disabled { cursor: not-allowed; } } .swiper-button-prev { left: 0; transform: translateX(-47px); } .swiper-button-next { right: 0; transform: translateX(47px); } } } #videoBox { background-image: url(../images/videoGifBg.gif); background-size: cover; & > .wrap { flex-direction: column; padding: 20px 0 40px 0; .mainWrap { display: flex; .wrapRight { width: auto; margin-left: 20px; } .videoItem { width: 760px; position: relative; .imgBox { width: 760px; height: calc(760px / 16 * 9); position: relative; img { width: 760px; height: calc(760px / 16 * 9); } u { position: absolute; bottom: 0; right: 0; background-color: rgba(0, 0, 0, 0.5); color: #FFFFFF; padding: 5px 5px 5px 10px; text-decoration: none; font-size: 16px; border-top-left-radius: 10px; } } h5 { color: #FFFFFF; font-size: 22px; line-height: 28px; height: 56px; -webkit-line-clamp: 2; } & > img { position: absolute; top: 348px; left: 20px; height: 60px; border-radius: 2px; transition: 0.2s; } .msg { color: #FFFFFF; .date { padding: 8px 0 0 0; } } &:hover { .imgBox { img { transform: none; } } & > img { transform: scale(1.1); } } &.small { width: 100%; flex-direction: row; margin-bottom: 20px; &:nth-last-of-type(1) { margin-bottom: 0; } .imgBox { width: 207px; height: calc(207px / 16 * 9); flex-shrink: 0; img { width: 207px; height: calc(207px / 16 * 9); } u { font-size: 12px; } } & > img { position: absolute; top: 70px; left: 18px; height: 20px; background-color: rgba(0, 0, 0, 0); } .msg { flex-direction: column; margin-left: 10px; position: relative; h5 { font-size: 16px; line-height: 22px; height: 66px; -webkit-line-clamp: 3; margin: 0; } .date { position: absolute; left: 0; bottom: 0; padding: 0; } .share { display: none; } } &:hover { .imgBox { img { transform: none; } } } } } } } } #footer1 { background-color: var(--mainColor); & > .wrap { flex-direction: column; padding: 30px 0; h4 { font-size: 26px; line-height: 28px; color: #FFFFFF; } .linkList { color: #FFFFFF; margin: 10px 0 20px 0; font-size: 18px; line-height: 34px; a { color: #FFFFFF; font-size: 18px; line-height: 34px; &:hover { text-decoration: underline; } } } .other { display: flex; justify-content: center; color: #FFFFFF; font-size: 17px; line-height: 25px; a { color: #FFFFFF; font-size: 17px; line-height: 25px; font-weight: bold; &:hover { text-decoration: underline; } } } } } #footer2 { background-color: #FFFFFF; user-select: text; & > .wrap { flex-direction: row; padding: 30px 0; .left { display: flex; margin-top: 10px; a { display: flex; img { height: 70px; user-select: none; } } } .middle { display: flex; flex-direction: column; justify-content: center; align-items: center; margin: 0 28px 0 52px; flex: 1; span, i { font-size: 18px; color: #171717; line-height: 24px; } i { color: var(--mainColor); } } .right { display: flex; flex-direction: column; .mediaBox { transform: translate(-148px, -8px); } .item { position: relative; } .pop { position: absolute; left: 50%; transform: translateX(-50%); background-color: #FFFFFF; border: 1px dashed #E6181D; border-radius: 12px; padding: 10px; display: flex; z-index: 999; &::before { content: ""; display: block; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 10px solid #E6181D; } &.hidePop { display: none; } } h5 { font-size: 24px; margin-bottom: 10px; } p { font-size: 16px; line-height: 24px; &:nth-of-type(2) { margin-left: 48px; margin-bottom: 10px; } } } } } #bannerNewBoxProvince { background-color: var(--mainColor); padding: 30px 0; & > .wrap { flex-direction: column; .top { display: flex; .wrapLeft { display: flex; flex-direction: column; overflow: hidden; margin-right: 20px; #banner { width: 100%; position: relative; .swiper-wrapper { .swiper-slide { a { display: flex; flex-direction: column; img { width: 100%; height: 518px; object-fit: cover; border-bottom: 4px solid #FFFFFF; } h6 { font-size: 34px; color: #FFFFFF; line-height: 40px; max-height: 80px; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-align: justify; margin: 14px 0; } } } } .progressLine { position: absolute; top: 516px; left: 0; width: 165px !important; height: 18px; background-color: #E6181D; transform: translateY(-50%); transition: width 0.2s linear; z-index: 1; } .swiper-pagination { bottom: auto; left: auto; width: auto; top: 484px; right: 15px; .swiper-pagination-bullet { opacity: 1 !important; background: #FFFFFF !important; border-radius: 0; transition: 0.2s; &.swiper-pagination-bullet-active { background-color: #E6181D !important; width: 16px; } } } .swiper-button-prev, .swiper-button-next { color: #A9A8AD; background-color: #171717; opacity: 0.6; transition: 0.2s; top: 266px; &:hover { opacity: 0.9; } &::after { font-size: 16px; } } .swiper-button-prev { left: 0; } .swiper-button-next { right: 0; } } } .wrapRight { .rightTitle { display: flex; align-items: flex-end; margin-bottom: 8px; a { font-size: 44px; color: #FFFFFF; font-weight: bold; font { font-size: 32px; color: #E6181D; background-color: #FFFFFF; margin-left: 5px; display: inline-block; padding: 0 5px; } } } .list { flex: 1; display: flex; flex-direction: column; .newItem { h5 { color: #FFFFFF; } &:hover { box-shadow: none; } } } & > * { &:nth-last-child(1) { margin-bottom: 0; } } } } .bottom { display: flex; flex-direction: column; position: relative; &:nth-last-of-type(1) { margin-top: 20px; } .title { margin-bottom: 10px; h6 { font-size: 24px; font-weight: bold; color: #FFFFFF; cursor: pointer; } } .swiper-container { width: 100%; .swiper-wrapper { .swiper-slide { &.newItem { width: 295px; .imgBox { width: 295px; height: 166px; img { width: 295px; height: 166px; } } h5 { color: #FFFFFF; } .msg { span { color: #FFFFFF; } .tag { color: var(--mainColor); background-color: #FFFFFF; } } } } } } .swiper-button-prev, .swiper-button-next { color: #A9A8AD; background-color: #171717; opacity: 0.6; transition: 0.2s; &:hover { opacity: 0.9; } &::after { font-size: 16px; } &.swiper-button-disabled { cursor: not-allowed; } } .swiper-button-prev { left: 0; transform: translateX(-47px); } .swiper-button-next { right: 0; transform: translateX(47px); } } } } .provinceList { margin-bottom: 20px; .newItem { flex-direction: row !important; h5 { height: 24px !important; flex: 1; } span { font-size: 16px; line-height: 44px; } &:hover { box-shadow: none !important; color: var(--mainColor); } } } #downloadPage { height: 100vh; position: relative; .downloadBg { position: absolute; top: 0; right: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; } .wrap { flex-direction: column; justify-content: center; z-index: 2; .downloadLogo { display: flex; align-items: center; margin-bottom: 20px; img { width: 75px; height: 75px; } span { font-size: 30px; line-height: 75px; color: #FFFFFF; margin-left: 30px; } } .main { display: flex; flex-direction: column; .top { display: flex; .left { display: flex; flex-direction: column; justify-content: center; flex: 1; p { font-size: 18px; color: #FFFFFF; line-height: 30px; text-indent: 1em; text-align: justify; user-select: text; } } .right { margin-left: 10px; img { width: 500px; } } } .bottom { display: flex; justify-content: center; margin-top: 60px; .qrcode { display: flex; flex-direction: column; align-items: center; &:nth-of-type(1) { margin-right: 40px; } .button { display: flex; justify-content: center; align-items: center; width: 270px; height: 58px; transition: 0.2s; border-radius: 27px; background-color: #FFFFFF; cursor: pointer; &:hover { transform: scale(1.02); } span { font-size: 22px; } img { width: 22px; height: 22px; margin-left: 6px; } } & > img { width: 160px; opacity: 0; margin-top: 30px; transition: 0.5s; } } } } } } #search { background-color: #FFFFFF; height: 100vh; .wrap { flex-direction: column; } } } .xiamen { position: relative; margin-bottom: 18px; .new-list-content { display: flex; flex-direction: column; flex: 1; background-color: #FFFFFF; padding: 16px; .line1 { height: 2px; background-color: #CDCDCD; } .line2 { width: 100px; height: 4px; background-color: var(--mainColor); position: absolute; top: 15px; left: 16px; } & > h6 { width: 100%; line-height: 56px; font-size: 26px; font-weight: bold; border-bottom: 1px dashed #D0D0D0; cursor: pointer; } a { display: -webkit-box; display: -webkit-flex; display: -moz-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 1; -webkit-flex: 1; -moz-box-flex: 1; -ms-flex: 1; flex: 1; flex-direction: column; position: relative; margin: 7px 0; h6 { max-height: 48px; font-size: 16px; line-height: 24px; color: #212121; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-weight: normal; } p { max-height: 42px; font-size: 14px; line-height: 21px; font-weight: normal; color: #666666; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-indent: 2em; margin-top: 10px; } &:hover { h6 { color: var(--mainColor); } p { color: var(--mainColor); } } } } } .special { position: relative; margin: 18px 0; .new-list-content { display: flex; flex-direction: column; flex: 1; background-color: #FFFFFF; padding: 16px; .line1 { height: 2px; background-color: #CDCDCD; } .line2 { width: 100px; height: 4px; background-color: var(--mainColor); position: absolute; top: 15px; left: 16px; } & > h6 { width: 100%; line-height: 56px; font-size: 26px; font-weight: bold; border-bottom: 1px dashed #D0D0D0; cursor: pointer; } a { display: flex; flex: 1; position: relative; margin: 7px 0; img { width: 120px; height: 68px; flex-shrink: 0; object-fit: cover; } h6 { width: 208px; height: 42px; font-size: 16px; line-height: 21px; font-weight: normal; color: #212121; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-left: 15px; } u { position: absolute; text-decoration: none; bottom: 7px; left: 135px; font-size: 12px; line-height: 22px; } &:hover { h6 { color: var(--mainColor); } u { color: var(--mainColor); } } } } } .picture { position: relative; .new-list-content { background-color: #FFFFFF; padding: 10px; .line1 { height: 2px; background-color: #CDCDCD; } .line2 { width: 100px; height: 4px; background-color: var(--mainColor); position: absolute; top: 9px; left: 11px; } & > h6 { width: 100%; line-height: 56px; font-size: 26px; font-weight: bold; border-bottom: 1px dashed #D0D0D0; cursor: pointer; } .gallery { margin-bottom: 10px; #gallery { .swiper-wrapper { .swiper-slide { width: 280px; a { display: block; position: relative; img { width: 280px; height: 175px; object-fit: cover; } .title { position: absolute; left: 0; bottom: 0; width: 100%; background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.8))); background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)); background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)); background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)); background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.8))); background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.8))); background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.8))); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)); padding: 10px; h6 { overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 20px; line-height: 30px; color: #ffffff; font-weight: normal; } } } &:nth-last-of-type(1),&:nth-last-of-type(2) { display: none !important; } } } } } } .thumbs { height: 58px; #thumbs { .swiper-wrapper { .swiper-slide { width: 102px !important; height: 58px !important; margin-right: 10px !important; img { width: 102px !important; height: 58px !important; cursor: pointer; } &:nth-of-type(1) { margin-right: 0; } &:nth-last-of-type(1),&:nth-last-of-type(2) { opacity: 0 !important; } } } } } }