@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 #7bd5e9; padding: px2rem(20) px2rem(18); border-radius: 4px; background: url('../img/arrow-right-icon.png') right top no-repeat; background-size: px2rem(19) px2rem(20); background-color: #0d1430; .title{ line-height: 1; font-size: px2rem(24); color: #2dafe2; padding-left: px2rem(10); border-left: px2rem(10) solid #ffffff; } .content{ color: #2dafe2; font-size: px2rem(14); line-height: 1.6; } .arrow{ position: absolute; top: -10px; left: -10px; width: 13px; height: 13px; border-top: px2rem(4) solid #000000; border-left: px2rem(4) solid #000000; } } .buy-btn{ position: fixed; bottom: px2rem(10); right: px2rem(10); width: px2rem(196); height: px2rem(66); line-height: px2rem(66); background: url('../img/buy-btn.jpg') center center no-repeat; background-size: 100%; &:hover{ background: url('../img/buy-btn-active.jpg') center center no-repeat; background-size: 100%; } } .nav-btn{ position: absolute; width: px2rem(100); height: px2rem(40); line-height: px2rem(40); font-size: px2rem(14); text-align: center; border: 1px solid #2dafe2; background-color: #3d97c8; color: #ffffff; cursor: pointer; border-radius: 4px; &:hover { background-color: #0d1430; color: #2dafe2; } } .nav-btn-white{ top: px2rem(30); right: px2rem(160); } .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{ border: 2px solid #7bd5e9; border-radius: 4px; overflow: hidden; cursor: pointer; img{ width: px2rem(480); vertical-align: middle; } .watch-icon{ position: absolute; top: 50%; left: 50%; margin-left: -px2rem(39); margin-top: -px2rem(39); width: px2rem(78); height: px2rem(78); background: url('../img/video-play-icon.png') no-repeat; background-size: 100%; z-index: 999; } &: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{ line-height: 1; font-size: px2rem(26); color: #ffffff; padding: px2rem(16) px2rem(10); background-image: linear-gradient(to right,rgba(61, 150, 199, 1), rgba(61, 150, 199, 0)); } .left-text{ color: #ffffff; font-size: px2rem(14); background-color: #1c2941; padding: px2rem(16) px2rem(10); } } .bottom-gif{ width: px2rem(470); display: block; margin-top: px2rem(40); border: 2px solid #7bd5e9; border-radius: 4px; } .camera-tips-pic{ display: none; position: absolute; width: px2rem(480); top: px2rem(500); left: px2rem(50); } .modal-left-top { top: px2rem(120); } .modal-left-bottom { top: px2rem(466); &.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(120); left: px2rem(50); width: px2rem(480); .title{ line-height: 1; color: #ffffff; font-size: px2rem(30); padding: px2rem(16) px2rem(10); background-image: linear-gradient(to right,rgba(61, 150, 199, 1), rgba(61, 150, 199, 0)); } .text{ color: #ffffff; font-size: px2rem(14); line-height: 1.7; margin-bottom: px2rem(40); background-color: #1c2941; padding: px2rem(16) px2rem(10); } img{ display: block; margin-bottom: px2rem(40); width: 100%; } } .modal-right{ position: absolute; display: none; width: px2rem(480); top: px2rem(120); right: px2rem(50); &.modal-group2{ img{ width: 100%; border: 2px solid #2dafe2; border-radius: 4px; } } &.modal-group5{ .text{ margin-bottom: px2rem(100); } } .title{ line-height: 1; color: #ffffff; font-size: px2rem(30); padding: px2rem(16) px2rem(10); background-image: linear-gradient(to right,rgba(61, 150, 199, 1), rgba(61, 150, 199, 0)); } >img{ display: block; width: px2rem(233); margin: px2rem(30) auto; } .text{ color: #ffffff; font-size: px2rem(14); line-height: 1.7; margin-bottom: px2rem(20); background-color: #1c2941; padding: px2rem(16) px2rem(10); } } .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(40); } &.modal-left-bottom{ top: px2rem(460); } } .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: rgba($color: #000000, $alpha: 0.8); .close-icon{ position: absolute; top: px2rem(30); left: px2rem(30); width: px2rem(33); height: px2rem(33); background: url('../img/blue-close-icon.png') center center no-repeat; background-size: 100%; cursor: pointer; } video{ position: absolute; display: none; width: px2rem(1300); top: 50%; left: 50%; transform: translate(-50%, -50%); border: 4px solid #7bd5e9; border-radius: 4px; } } .bottom-more-btn{ position: absolute; display: none; bottom: px2rem(30); left: 50%; margin-left: -px2rem(72); text-align: center; .title{ color: #ffffff; font-size: px2rem(24); margin-bottom: px2rem(10); } button{ border: none; outline: none; cursor: pointer; width: px2rem(99); height: px2rem(30); background: url('../img/know-more-btn.png') center center no-repeat; background-size: 100%; &:hover { background: url('../img/know-more-btn-active.png') center center no-repeat; background-size: 100%; } } .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{ position: fixed; left: px2rem(60); top: px2rem(200); width: px2rem(260); p{ color: #ffffff; font-size: px2rem(28); line-height: 1.7; } img{ display: block; width: px2rem(100); margin: px2rem(30) auto; } }