@import './component/variable.less'; @import '../utils/reset.less'; @import './component/foot.less'; @import './component/head.less'; @import './component/banner.less'; @nav-tab-active-color: @theme-primary-color; #banner { .banner500(); position: relative; background: #232b35 url('../../images/20230421/banner-solution.png') no-repeat center center; background-size: cover; } #reform-overview { // padding-bottom: 118px; p { margin-top: 12px; font-family: AlibabaPuHuiTiR; font-size: 14px; color: #666666; text-align: center; } } #solution-nav { width: 100%; background: #FFFFFF; box-shadow: 0 4px 8px 0 rgba(167, 178, 197, .12); position: relative; .nav-tabs { .content(); } } .nav-tabs { display: flex; position: relative; .nav-tab { flex: 1; text-align: center; position: relative; &>a { width: 100%; height: 64px; display: inline-block; line-height: 64px; font-family: AlibabaPuHuiTiM; font-size: 14px; color: #333333; &.icon { position: relative; &::after { content: url('../../images/20230421/head-icon-gray.svg'); position: absolute; width: 16px; height: 16px; top: 2px; font-size: 16px; } } &.active { background: rgba(36, 102, 255, .08); } } &:nth-child(3) ul { width: 150px; } &>ul { position: absolute; z-index: 10; top: 60px; left: 50%; padding: 8px 12px; width: 180px; transform: translateX(-50% + 6px); text-align: left; display: none; background: #fff; box-shadow: 0 3px 6px 0 #cacaca80; li { height: @nav2-height; line-height: @nav2-height; margin: 0; a { width: 100%; display: block; color: @nav2-color; &.active { color: @theme-primary-color; } } &:hover { a { color: @theme-primary-color; } } } } &:hover { &>a { color: @nav-tab-active-color; &.icon { &::after { content: url('../../images/20230421/head-icon-active.svg'); } } } &>ul { display: block; box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2); &:hover { display: block; } } } a.active { color: @nav-tab-active-color; &.icon { &::after { content: url('../../images/20230421/head-icon-active.svg'); } } } } } #solution { .tab-pane { padding-top: 568px; margin-top: -564px; background-color: #fff; } // .block-title-bg(@imgUrl) { // h3 { // background: url(@imgUrl) no-repeat 0 0; // background-size: 36px 36px; // } // } // .c-block-title(@name) { // .c-@{name} { // h3 { // background: url('../../images/20230421/solution/icon-@{name}.png') no-repeat 0 0; // background-size: 36px 36px; // } // } // } // .c-block-title(overview); // .c-block-title(superiority); // .c-block-title(price); // .c-block-title(example); .c-block+.c-block { margin-top: 62px; } .c-block { .content(); h2 { height: 44px; font-family: AlibabaPuHuiTiM; font-size: 32px; color: #333333; text-align: center; font-weight: 500; } h3 { height: 38px; line-height: 38px; font-family: AlibabaPuHuiTiM; font-size: 28px; color: #666666; font-weight: 500; } &>div { text-align: center; } .img-overview img { margin-top: 32px; width: 100%; } } .superiority, .example, .price { display: flex; justify-content: space-between; margin-top: 32px !important; } .only-one-img { justify-content: space-around !important; .price-item, .example-item { width: 100%; height: auto; } } .superiority-item { width: 392px; height: 306px; padding: 0 32px; background: #FFFFFF; box-shadow: 0 8px 24px 0 #a3a8ac29; h4 { height: 157px; // padding-top: 100px; font-family: AlibabaPuHuiTiM; font-size: 21px; line-height: 33px; color: #333333; letter-spacing: 0; text-align: center; padding: 100px 0 24px 0; border-bottom: 1px solid #DBDBDB; } p { padding-top: 24px; font-family: AlibabaPuHuiTiR; font-size: 14px; color: #666666; letter-spacing: 0; text-align: left; } } .superiority-item:nth-child(1) { h4 { background: url('../../images/20230421/solution/1.png') no-repeat center 32px; background-size: 56px 56px; } } .superiority-item:nth-child(2) { h4 { background: url('../../images/20230421/solution/2.png') no-repeat center 32px; background-size: 56px 56px; } } .superiority-item:nth-child(3) { h4 { background: url('../../images/20230421/solution/3.png') no-repeat center 32px; background-size: 56px 56px; } } .example, .price { flex-wrap: wrap; } .example-item, .price-item { width: 604px; height: 320px; overflow: hidden; img { width: 100%; height: 100%; } &:nth-child(2)~.example-item { margin-top: 32px; } } .priceTitle { p { margin-top: 12px; font-family: AlibabaPuHuiTiR; font-size: 14px; line-height: 26px; color: #666666; } } } .t-block { padding: 64px 0; &:nth-child(2n) { background: #F5F7FA; } }