@import 'reset.scss'; @import 'mixin.scss'; html,body{ height: 100%; } a{ text-decoration: none; } body{ background-color: #ffffff; background-size: cover; position: relative; overflow: hidden; font-family: '微软雅黑'; } .modal{ display: none; position: absolute; border: 1px solid #000000; padding: px2rem(14); background-color: #ffffff; border-radius: 4px; .title{ line-height: 1; font-size: px2rem(28); color: #333333; padding-left: px2rem(10); border-left: px2rem(10) solid #000000; } .content{ color: #333333; font-size: px2rem(14); line-height: 1.6; } .arrow{ position: absolute; top: -5px; left: -5px; width: 8px; height: 8px; border-top: px2rem(4) solid #000000; border-left: px2rem(4) solid #000000; } } .buy-btn{ position: fixed; bottom: px2rem(30); right: px2rem(20); background-color: #1e1716; color: #fafafa; font-size: px2rem(24); text-decoration: none; border-radius: 4px; width: px2rem(194); line-height: px2rem(64); text-align: center; &:hover{ background-color: #2e80ef; } } .nav-btn{ position: absolute; width: px2rem(140); height: px2rem(60); line-height: px2rem(60); color: #333333; font-size: px2rem(28); text-align: center; border: 1px solid #000000; background-color: #ffffff; cursor: pointer; border-radius: 4px; &:hover{ background-color: #000000; color: #ffffff; } } .nav-btn-white{ top: px2rem(30); right: px2rem(200); } .nav-btn-pic{ top: px2rem(30); right: px2rem(30); } .nav-btn-video{ right: px2rem(30); top: px2rem(30); } .modal-left-img { position: absolute; display: none; left: px2rem(50); } .video-poster-img{ cursor: pointer; img{ width: px2rem(480); vertical-align: middle; } span{ position: absolute; z-index: 10; left: 50%; transform: translateX(-50%); bottom: px2rem(25); color: #ffffff; height: px2rem(30); line-height: px2rem(30); font-size: px2rem(16); } .watch-icon{ display: inline-block; margin-left: px2rem(4); width: px2rem(20); height: px2rem(20); background: url('../img/watch-icon.png') no-repeat; background-size: 100%; vertical-align: middle; } &:hover{ span{ text-decoration: underline; } &:after{ opacity: 1; } } &:after{ content: ''; opacity: 0; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba($color: #000000, $alpha: .4); transition: .4s all ease-in-out; } } .modal-group3{ .left-title{ font-size: px2rem(26); color: #333333; margin-bottom: px2rem(26); } .left-text{ color: #333333; font-size: px2rem(14); margin-bottom: px2rem(10); } } .bottom-gif{ width: px2rem(420); display: block; margin-top: px2rem(20); } .camera-tips-pic{ display: none; position: absolute; width: px2rem(480); top: px2rem(500); left: px2rem(50); } .modal-left-top { top: px2rem(150); } .modal-left-bottom { top: px2rem(496); &.modal-group3 { &::after{ display: none; } cursor: initial; } } .back-plane-img{ display: none; position: absolute; top: px2rem(150); left: px2rem(50); width: px2rem(460); img{ width: 100%; } } .screen-left-modal{ display: none; position: absolute; top: px2rem(150); left: px2rem(50); width: px2rem(480); .title{ color: #333333; font-size: px2rem(30); margin-bottom: px2rem(10); } .text{ color: #333333; font-size: px2rem(14); line-height: 1.7; margin-bottom: px2rem(40); } img{ display: block; margin-bottom: px2rem(40); width: 100%; } } .modal-right{ position: absolute; display: none; width: px2rem(480); top: px2rem(146); right: px2rem(50); .title{ color: #333333; font-size: px2rem(30); margin-bottom: px2rem(20); } >img{ display: block; width: px2rem(233); margin: px2rem(30) auto; } .text{ color: #333333; font-size: px2rem(14); line-height: 1.7; margin-bottom: px2rem(40); } } .modal-group1{ .video-poster-img{ position: relative; margin-bottom: px2rem(40); } } .modal-group4{ .text-img{ width: px2rem(288); } } .modal-group3{ .text-img{ width: 100%; } .big-title{ font-size: px2rem(48); } } .modal-img-bottom{ bottom: 0; left: px2rem(50); width: px2rem(480); } .full-video-wrap{ display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; background-color: #ffffff; .close-icon{ position: absolute; top: 0; left: 0; width: px2rem(100); height: px2rem(100); background: url('../img/close-icon.png') center center no-repeat; background-size: px2rem(40) px2rem(40); cursor: pointer; } video{ position: absolute; display: none; width: 100%; top: 50%; left: 50%; transform: translate(-50%, -50%); } } .bottom-more-btn{ position: absolute; display: none; bottom: px2rem(30); left: 50%; margin-left: -px2rem(72); .title{ text-align: center; color: #333333; font-size: px2rem(24); margin-bottom: px2rem(10); } button{ border: none; outline: none; height: px2rem(64); line-height: px2rem(64); font-size: px2rem(24); color: #ffffff; border-radius: px2rem(25); background-color: #111111; width: px2rem(180); text-align: center; cursor: pointer; &:hover{ background-color: #252525; } } .circle-icon{ display: inline-block; width: px2rem(20); height: px2rem(20); line-height: px2rem(20); border-radius: 50%; border: 1px solid #ffffff; font-size: px2rem(18); margin-right: px2rem(2); } } .entry-tips{ width: px2rem(260); p{ color: #ffffff; font-size: px2rem(28); line-height: 1.7; } img{ display: block; width: px2rem(100); margin: px2rem(30) auto; } } .tips-masker{ position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba($color: #000000, $alpha: 0.6); display: flex; justify-content: center; align-items: center; }