product.css 4.52 KB
.content-container {
    width: 1200px;
    margin: 0 auto;
}

.service-tab {
    display: flex;
    justify-content: space-between;
}

.service-tab .tab {
    width: 224px;
    height: 156px;
    border: 1px solid #E0E0E0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
 }

.service-tab .tab img {
    margin: 0 0 10px 0;
}
.service-tab .tab .image-active {
    display: none;
}

.service-tab .tab .image {
    display: inline-block;
}

.service-tab .tab-active {
    background: #3287FE;
    color: #fff;
}

.service-tab .tab-active::after {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    content: ' ';
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #3287FE;
 }

.service-tab .tab-active .image {
    display: none;
}

.service-tab .tab-active .image-active {
    display: inline-block;
}

.service-content .content {
    display: none;
}

.service-content .content-active {
    display: flex;
    padding: 40px 0;
    height: 500px;
}

.content-active .left {
    width: 50%;
    height: 327px;
}

.content-active img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-active .right {
    width: 50%;
    padding: 0 0 0 20px;
}

.content-active .right .title {
    font-size: 26px;
    font-family: Source Han Sans CN;
    font-weight: bold;
    color: #262626;
    position: relative;
    margin: 0 0 30px 0;
}

.content-active .right .title::after {
    content: ' ';
    position: absolute;
    width: 50px;
    height: 2px;
    background: #3287FE;
    left: 0;
    bottom: -10px;
}

.content-active .right .desc {
    font-size: 16px;
    font-family: Source Han Sans CN;
    font-weight: 400;
    color: #666666;
    line-height: 29px;
}

.advantage {
    background: #F5F5F5;
    height: 540px;
}

.advantage-items {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.advantage-items .advantage-item {
    width: 300px;
    height: 360px;
    position: relative;
}

.advantage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantage-item .title {
    width: 160px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    position: absolute;
    left: calc(50% + 15px);
    bottom: 0;
    transform: translate(-50%, 50%) skewX(10deg);
    background: #3287FE;
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    z-index: 10;
}

.advantage-item .title div {
    transform:  skewX(-10deg);
}

.advantage-item:hover .info {
    height: 100%;
}

.advantage-item .info {
    position: absolute;
    z-index: 5;
    left: 14px;
    top: 0;
    width: calc(100% - 28px);
    height: 0;
    overflow: hidden;
    display: flex;
    color: #fff;
    transform: skewX(5deg);
    background: rgba(0, 0, 0, .4);
}

.advantage-item .info div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) skewX(-5deg);
    line-height: 1.6em;
    width: 80%;
    font-size: 14px;
}

.shape-content {
    margin: 30px 0;
    height: 480px;
}
.shape-items {
    width: 1200px;
    margin: 30px auto 0 !important;
    display: flex;
    justify-content: space-between;
}

.shape-items .shape-item {
    width: 30%;
    flex-grow: 1;
    text-align: center;
}

.shape-item .title {
    width: 244px;
    height: 24px;
    font-size: 20px;
    font-weight: bold;
    color: #292929;
    margin: 20px auto;
}

.shape-item .desc {
    width: 244px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    line-height: 26px;
    margin: 0 auto;
}

.demand-panel {
    background: url("../image/server_bg.jpg") no-repeat;
    background-size: cover;
    padding: 0 0 40px 0;
}

.demand-container {
    width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: 0 0 6px 0;
    height: 500px;
    overflow: hidden;
}

.demand-container .pagination {
    justify-content: flex-end;
}
.demand-container .demand-table thead tr th {
    background: #3287FE;
    color: #fff;
    height: 52px;
    line-height: 52px;
    text-align: center;
}

.demand-table .row td {
     background: #fff;
     height: 52px;
     line-height: 52px;
     width: 100px;
     text-align: center;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap;
     max-width: 120px;
}

.demand-table .row td:first-child {
    padding: 0 0 0 10px;
}

.demand-container .demand-table .row:nth-child(odd) td {
    background: #F0FAFF;
}