.more{ display: flex; align-items: center; font-size: 14px; line-height: 18px; color: #f08200; img{ margin-left: 7px; } &:hover{ color: #f08200; } } .onlineTitle{ position: relative; font-size: 28px; color: #333; &::after{ display: block; content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 4px; background: #f08200; border-radius: 2px; } } .onlineBlock{ padding-top: 34px; padding-bottom: 113px; .w1280{ display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; .leftCont{ width: calc(100% - 420px); .onlineBlock1{ .onlineTitle{ padding-bottom: 22px; } .content{ display: flex; margin-top: 40px; padding-left: 12px; .list{ margin-left: calc(110/860*100%); .img{ font-size: 0; max-width: 100px; } p{ margin-top: 16px; text-align: center; font-size: 18px; color: #333; } &:first-child{ margin-left: 0; } } } } .onlineBlock2{ margin-top: 31px; .onlineTitle{ padding-bottom: 22px; } .content{ display: flex; justify-content: space-between; flex-wrap: wrap; padding-top: 20px; .list{ background-size: 50%; width: calc((100% - 40px) / 3); height: 180px; margin-left: 20px; margin-top: 20px; padding: 30px; .tit{ font-size: 22px; line-height: 1.5; color: #333; } .tips{ margin-top: 10px; font-size: 14px; line-height: 1.5; color: #666; } .more{ margin-top: 36px; } &:first-child{ width: calc((100% - 20px) / 2); margin-left: 0; // background-position: right 29px bottom 29px !important; } &:nth-child(2){ width: calc((100% - 20px) / 2); // background-position: right 32px bottom 24px !important; } &:nth-child(3){ margin-left: 0; // background-position: right 25px bottom 19px !important; } &:nth-child(4){ // background-position: right 21px bottom 19px !important; } &:nth-child(5){ // background-position: right 32px bottom 10px !important; } } } } .onlineBlock3{ padding-top: 34px; .onlineTitle{ padding-bottom: 22px; } .content{ display: flex; height: 280px; margin-top: 40px; .left{ width: 200px; height: 100%; padding: 0 30px; padding-top: 30px; background: url(../images/online/onlineBlock3Bg.jpg) no-repeat; .list{ display: flex; align-items: center; justify-content: space-between; position: relative; margin-bottom: 32px; padding-bottom: 4px; font-size: 18px; line-height: 2; color: #f5f5f5; cursor: pointer; img{ transition: opacity .5s; opacity: 0; width: auto; height: 12px; } &::after{ display: block; content: ''; position: absolute; bottom: 0; left: 0; transition: width .5s; width: 0; height: 2px; background: #f5f5f5; } &.on{ font-weight: bold; img{ opacity: 1; } &::after{ width: 100%; } } } } .right{ width: calc(100% - 200px); height: 100%; .cont1{ position: relative; display: none; height: 100%; padding: 42px; background-image: linear-gradient(73deg, #f9f4f1 0%, #fcf6f2 50%, #fff7f2 100%), linear-gradient( #fff7ed, #fff7ed); .top{ display: flex; align-items: center; position: relative; z-index: 1; font-weight: bold; font-size: 16pxpx; color: #333; img{ width: 52px; height: 52px; border-radius: 10px; margin-right: 20px; } } .info{ position: relative; z-index: 1; padding-top: 14px; p{ display: flex; align-items: center; margin-top: 17px; font-size: 15px; color: #666; img{ margin-right: 12px; } } } .img{ position: absolute; right: 36px; bottom: 17px; font-size: 0; z-index: 0; } .more{ position: absolute; bottom: 50px; } } .cont2{ position: relative; display: none; height: 100%; padding: 42px; background-image: linear-gradient(73deg, #f9f4f1 0%, #fcf6f2 50%, #fff7f2 100%), linear-gradient( #fff7ed, #fff7ed); .list{ padding-top: 4px; a{ display: flex; justify-content: space-between; padding-bottom: 24px; padding-top: 23px; border-bottom: 1px solid rgba($color: #f08200, $alpha: .1); p{ position: relative; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; width: calc(100% - 80px); padding-left: 28px; font-size: 16px; color: #666; img{ position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: auto; margin-right: 12px; } } .menu{ width: 60px; display: flex; align-items: center; font-size: 15px; color: #f08200; img{ width: 22px; margin-right: 7px; } } &:first-child{ margin-top: -21px; } } } .more{ position: absolute; bottom: 50px; } } } } } .onlineBlock4{ margin-top: 34px; .onlineTitle{ padding-bottom: 22px; } .content{ display: flex; margin-top: 34px; .list{ display: flex; flex-direction: column; align-items: center; position: relative; width: calc(100% / 3); .img{ display: flex; align-items: center; justify-content: center; height: 90px; font-size: 0; img{ transition: transform .5s; transform: rotate(0deg); object-fit: scale-down; width: 50%; } } p{ margin-top: 28px; font-size: 18px; color: #333; } &::after{ display: block; content: ''; position: absolute; right: 0; width: 1px; height: 135px; background: rgba($color: #535353, $alpha: .1); } } } } } .rightCont{ width: 380px; padding-top: 6px; .onlineBlock5{ width: 100%; max-width: 380px; height: 440px; margin-bottom: 27px; background-color: #ffffff; box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.03); border: solid 1px rgba(83, 83, 83, 0.05); padding: 28px 30px 40px; z-index: 1; .tab{ display: flex; position: relative; padding-bottom: 18px; border-bottom: 1px solid rgba($color: #3f3a39, $alpha: .1); a{ position: relative; margin-right: 18px; font-size: 16px; line-height: 30px; color: #666; &.on{ font-weight: bold; font-size: 18px; color: #333; } &:nth-last-child(2){ margin-right: 0; } &:last-child{ display: none; } } &::after{ display: block; content: ''; position: absolute; bottom: -2px; width: 50px; height: 4px; background: #f08200; border-radius: 2px; } } .content{ .cont{ display: none; padding-top: 7px; .list{ a{ display: block; position: relative; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; transition: color .5s; margin-top: 21px; padding-left: 16px; padding-right: 20px; font-size: 15px; line-height: 24px; color: #666; &::before{ display: block; content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; margin-right: 10px; background: #ccc; } } } .more{ margin-top: 26px; } &:last-child{ display: none; } } } } .onlineBlock6{ padding-bottom: 30px; .onlineTitle{ padding-bottom: 23px; font-size: 18px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); &::after{ bottom: -2px; } } .content{ padding-top: 8px; a{ display: block; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; transition: color .5s; margin-top: 19px; padding-left: 29px; background: url(../images/online/onlineBlock6Ico.png) no-repeat left center; background-size: 18px 18px; font-size: 15px; line-height: 30px; color: #666; } } } } } } @media (any-hover:hover) { .onlineBlock .w1280 { .leftCont { .onlineBlock2 .content .list:hover{ .more{ opacity: 1; } } .onlineBlock4 .content .list:hover{ .img img{ transform: rotateY(180deg); } } } .rightCont { .onlineBlock5 .content .cont .list a:hover{ color: #f08200; } .onlineBlock6 .content a:hover{ color: #f08200; } } } } @media (max-width: 1440px) { .onlineBlock .w1280 .leftCont .onlineBlock3 .content .right .cont1 .img{ width: 200px; } } @media (max-width: 1200px) { .onlineBlock .w1280 .leftCont .onlineBlock3 .content .right .cont1 .img{ right: 10px; bottom: 0px; } } @media (max-width: 1080px) { .onlineTitle{ font-size: 20px; } .onlineBlock { padding-bottom: 10px; .w1280 { .leftCont{ width: 100%; .onlineBlock1 .content{ margin-top: 25px; padding-left: 0; .list{ margin-left: 30px; p{ font-size: 16px; } } } .onlineBlock2{ margin-top: 23px; .content .list{ height: 170px; padding: 25px 30px; .more{ // display: block; opacity: 1; margin-top: 26px; } } } .onlineBlock3 .content { .right .cont1{ padding: 30px; .more{ bottom: 30px; left: 50%; transform: translateX(-50%); } } } } .rightCont{ width: 100%; margin-top: 10px; padding-top: 0; .onlineBlock5 { max-width: 100%; height: auto; padding: 20px; .tab{ font-size: 14px; } } } } } } @media (max-width: 820px){ .onlineBlock .w1280 .leftCont { .onlineBlock1{ .content{ flex-wrap: wrap; .list{ width: 90px; margin-left: 20px; } } } .onlineBlock2 .content .list{ width: calc((100% - 20px) / 2); margin: 20px 0 0; background-size: 100px auto; } .onlineBlock3 { .content{ flex-direction: column; margin-top: 20px; height: auto; .left{ display: flex; overflow-x: auto; width: 100%; height: auto; margin-bottom: 20px; padding: 0; background: none; .list{ min-width: 40px; height: 40px; margin-right: 20px; margin-bottom: 0; font-size: 16px; color: #f08200; white-space: nowrap; img{ display: none; } &::after{ background: #f08200; } } } .right{ width: 100%; .cont{ padding-bottom: 60px; .img{ position: initial; margin: 0 auto; margin-top: 20px; } .more{ bottom: 20px; } } } } } .onlineBlock4{ .content{ margin-top: 40px; .list{ margin-bottom: 30px; .img{ height: 50px; img{ width: auto; max-height: 100%; object-fit:initial; } } p{ text-align: center; font-size: 14px; } &::after{ display: none; } } } } } } @media (max-width: 500px){ .onlineBlock .w1280 .leftCont { .onlineBlock1{ .content{ flex-wrap: wrap; justify-content: space-between; .list{ width: 65px; margin-right: 20px; margin-left: 0; margin-bottom: 10px; p{ font-size: 14px; } } } } .onlineBlock2 .content .list{ width: calc(100%) !important; height: 170px; margin: 20px 0 0; .tit{ font-size: 18px; } .more{ margin-top: 16px; } } } } @media (max-width: 380px){ .onlineBlock .w1280 .leftCont .onlineBlock1 .content .list{ margin-right: 10px; margin-bottom: 10px; } }