123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316 |
- @charset "UTF-8";
- /* scss中可以用mixin来扩展 */
- .banner {
- width: 100%;
- height: 700px;
- }
- .banner img {
- display: block;
- height: 100%;
- }
- .main .container {
- margin-top: 120px;
- }
- .main .container .section-title {
- margin-bottom: 80px;
- }
- .main .container.our-brand .content .item {
- position: relative;
- width: 286px;
- height: 286px;
- float: left;
- background-color: #ddd;
- }
- .main .container.our-brand .content .item:first-child {
- width: 592px;
- height: 592px;
- }
- .main .container.our-brand .content .item img {
- display: block;
- width: 100%;
- height: 100%;
- }
- .main .container.our-brand .content .item:hover .active {
- opacity: 1;
- }
- .main .container.our-brand .content .item .active {
- opacity: 0;
- position: absolute;
- left: 0;
- top: 0;
- z-index: 2;
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- background-color: rgba(0, 0, 0, 0.5);
- transition: opacity 0.4s;
- }
- .main .container.our-brand .content .item .active .title {
- font-size: 34px;
- color: #fff;
- }
- .main .container.our-brand .content .item .active .line {
- width: 40px;
- height: 1px;
- margin: 32px 0 60px;
- background-color: #fff;
- }
- .main .container.our-brand .content .item .active .link {
- width: 160px;
- height: 48px;
- border: 1px solid #ffffff;
- text-align: center;
- line-height: 48px;
- color: #fff;
- cursor: pointer;
- }
- .main .container.brand-activity .content {
- display: flex;
- justify-content: center;
- }
- .main .container.brand-activity .content .item {
- position: relative;
- width: 280px;
- height: 600px;
- overflow: hidden;
- flex-shrink: 0;
- transition: all 0.4s;
- }
- .main .container.brand-activity .content .item a {
- display: block;
- width: 100%;
- height: 100%;
- }
- .main .container.brand-activity .content .item img {
- position: absolute;
- top: 0;
- left: 50%;
- transform: translateX(-50%);
- display: block;
- width: 640px;
- height: 600px;
- }
- .main .container.brand-activity .content .item.hover {
- width: 640px;
- }
- .main .container.brand-activity .content .item:nth-child(1) .cover::after {
- content: "01";
- }
- .main .container.brand-activity .content .item:nth-child(2) .cover::after {
- content: "02";
- }
- .main .container.brand-activity .content .item:nth-child(3) .cover::after {
- content: "03";
- }
- .main .container.brand-activity .content .item .active {
- position: absolute;
- width: 100%;
- height: 280px;
- bottom: 0;
- left: 0;
- box-sizing: border-box;
- padding-left: 24px;
- background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
- }
- .main .container.brand-activity .content .item .active .title {
- margin-top: 206px;
- width: 232px;
- font-size: 24px;
- color: #fff;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- }
- .main .container.brand-activity .content .item .active .line {
- width: 20px;
- height: 2px;
- margin-top: 16px;
- background-color: #fff;
- }
- .main .container.brand-activity .content .item .active .description {
- display: none;
- }
- .main .container.brand-activity .content .item .active::after {
- position: absolute;
- content: "01";
- background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.2));
- -webkit-background-clip: text;
- color: transparent;
- font-size: 30px;
- left: 24px;
- bottom: 66px;
- }
- .main .container.brand-activity .content .item .hover-active {
- position: absolute;
- width: 486px;
- height: 160px;
- padding-top: 32px;
- padding-left: 32px;
- box-sizing: border-box;
- border-top-left-radius: 32px;
- right: 0;
- bottom: 0;
- background: linear-gradient(166deg, #0688d2 25%, rgba(32, 155, 212, 0.8));
- transition: opacity 0.4s;
- }
- .main .container.brand-activity .content .item .hover-active .title {
- font-size: 24px;
- color: #fff;
- width: 300px;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 1;
- -webkit-box-orient: vertical;
- }
- .main .container.brand-activity .content .item .hover-active .line {
- width: 20px;
- height: 2px;
- margin: 16px 0 22px;
- background-color: #fff;
- }
- .main .container.brand-activity .content .item .hover-active .description {
- text-align: justify;
- width: 300px;
- font-size: 16px;
- color: #fff;
- line-height: 1.5;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .main .container.brand-activity .content .item .hover-active::after {
- position: absolute;
- content: "01";
- background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.2));
- -webkit-background-clip: text;
- color: transparent;
- font-size: 90px;
- line-height: 90px;
- right: 32px;
- bottom: 24px;
- }
- .main .container.company-values .content .item {
- position: relative;
- float: left;
- height: 340px;
- width: 390px;
- margin-right: 15px;
- margin-bottom: 15px;
- box-sizing: border-box;
- overflow: hidden;
- }
- .main .container.company-values .content .item img {
- width: 100%;
- height: 100%;
- opacity: 1;
- transition: all 0.4s;
- }
- .main .container.company-values .content .item.no-mb {
- margin-bottom: 0;
- }
- .main .container.company-values .content .item.no-mr {
- margin-right: 0;
- }
- .main .container.company-values .content .item:nth-child(1), .main .container.company-values .content .item:nth-child(7) {
- width: 795px;
- }
- .main .container.company-values .content .item:hover img {
- transform: scale(1.2);
- }
- .main .container.company-values .content .item:nth-child(2) .cover, .main .container.company-values .content .item:nth-child(3) .cover, .main .container.company-values .content .item:nth-child(7) .cover {
- background: transparent;
- }
- .main .container.company-values .content .item:nth-child(2):hover, .main .container.company-values .content .item:nth-child(3):hover, .main .container.company-values .content .item:nth-child(7):hover {
- border: 1px solid #0688d2;
- }
- .main .container.company-values .content .item:nth-child(2):hover img, .main .container.company-values .content .item:nth-child(3):hover img, .main .container.company-values .content .item:nth-child(7):hover img {
- opacity: 0;
- }
- .main .container.company-values .content .item:nth-child(2):hover .subtitle,
- .main .container.company-values .content .item:nth-child(2):hover .title, .main .container.company-values .content .item:nth-child(3):hover .subtitle,
- .main .container.company-values .content .item:nth-child(3):hover .title, .main .container.company-values .content .item:nth-child(7):hover .subtitle,
- .main .container.company-values .content .item:nth-child(7):hover .title {
- color: #0688d2;
- }
- .main .container.company-values .content .item:nth-child(2):hover .line::before, .main .container.company-values .content .item:nth-child(2):hover .line::after, .main .container.company-values .content .item:nth-child(3):hover .line::before, .main .container.company-values .content .item:nth-child(3):hover .line::after, .main .container.company-values .content .item:nth-child(7):hover .line::before, .main .container.company-values .content .item:nth-child(7):hover .line::after {
- background-color: #0688d2;
- }
- .main .container.company-values .content .item .cover {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: center;
- flex-direction: column;
- align-items: center;
- background: rgba(0, 0, 0, 0.5);
- }
- .main .container.company-values .content .item .cover .line {
- width: 180px;
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%) rotateZ(-45deg);
- }
- .main .container.company-values .content .item .cover .line::after, .main .container.company-values .content .item .cover .line::before {
- position: absolute;
- left: 0;
- top: 0;
- content: "";
- display: block;
- width: 20px;
- height: 1px;
- background-color: #fff;
- }
- .main .container.company-values .content .item .cover .line::before {
- right: 0;
- left: unset;
- }
- .main .container.company-values .content .item .cover .title {
- color: #fff;
- font-size: 24px;
- }
- .main .container.company-values .content .item .cover .subtitle {
- font-size: 18px;
- color: #fff;
- margin-top: 12px;
- }
- .main .container.company-values .content .item .cover .subtitle.en {
- text-transform: uppercase;
- }
- .main .container.friendly_link .content .item {
- float: left;
- position: relative;
- width: 230px;
- height: 100px;
- box-sizing: border-box;
- border: 1px solid #d8d8d8;
- overflow: hidden;
- margin-right: 12px;
- margin-top: 20px;
- }
- .main .container.friendly_link .content .item:nth-child(5n) {
- margin-right: 0;
- }
- .main .container.friendly_link .content .item:nth-child(-n+5) {
- margin-top: 0;
- }
- .main .container.friendly_link .content .item img {
- display: block;
- width: 100%;
- position: absolute;
- left: 0;
- top: 50%;
- transform: translateY(-50%);
- }
|