@charset "UTF-8"; $yahei: "Microsoft YaHei", SimHei, sans-serif; $maincolor: #e94646; $titleFont: PingFang sc, "Helvetica Neue", Helvetica, Tahoma, Arial, "Liberation Sans", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif; @import "lego/lego"; @import "base/mixins"; @import "base/ui-dialog"; @import "page/gallery"; @import "page/bindWx"; $yellow: #CEBE95; $yellow-lighter: #CAB98D; html { font-size: 12px; height: 100%; // overflow-y: scroll; font: 12px/1.5 PingFang sc, "Helvetica Neue", Helvetica, Tahoma, Arial, SimSun, TW-Sung, "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", serif; // font-family: $yahei; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; } body { a { text-decoration: none; &:hover { text-decoration: underline; } } p, a, span, em, i, h1, h2, h3, h4, h5, h6 { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; } } .g-zt-inner { width: 1200px; margin: 0 auto; } .hide { display: none; } .clearfix{ @include clearfix(); } .scale-btn { animation: scale 0.5s linear infinite alternate; -webkit-animation: scale 0.5s linear infinite alternate; -moz-animation: scale 0.5s linear infinite alternate; -o-animation: scale 0.5s linear infinite alternate; } .pig-move-top { animation: pigMoveTop 2s linear infinite alternate; -webkit-animation: pigMoveTop 2s linear infinite alternate; -moz-animation: pigMoveTop 2s linear infinite alternate; -o-animation: pigMoveTop 2s linear infinite alternate; } @keyframes scale { 0% {transform: scale(0.9);} 100% {transform: scale(1);} } @-webkit-keyframes scale { 0% {-webkit-transform: scale(0.9);} 100% {-webkit-transform: scale(1);} } @-moz-keyframes scale { 0% {-moz-transform: scale(0.9);} 100% {-moz-transform: scale(1);} } @-o-keyframes scale { 0% {-o-transform: scale(0.9);} 100% {-o-transform: scale(1);} } @keyframes pigMoveTop { 0% {transform: translate(0, 0);} 100% {transform: translate(0, -10px);} } @-webkit-keyframes pigMoveTop { 0% {transform: translate(0, 0);} 100% {transform: translate(0, -10px);} } @-moz-keyframes pigMoveTop { 0% {transform: translate(0, 0);} 100% {transform: translate(0, -10px);} } @-o-keyframes pigMoveTop { 0% {transform: translate(0, 0);} 100% {transform: translate(0, -10px);} } .page-index { position: relative; font-family: "微软雅黑"; padding-top: 968px; background: top center no-repeat; .mod-title { padding-top: 83px; background-repeat: no-repeat; background-position: center top; @for $i from 2 through 3{ &.mod-title#{$i}{ background-image: url(../img/bg-title#{$i}.png); } } } .color-orange { color: #ff6600; } .page-code { position: absolute; top: 125px; right: 90px; width: 154px; height: 154px; .qrcode { padding: 10px; background-color: #fff; } img { display: block; width: 100%; height: 100%; } .code-tip { padding: 25px 10px; background-color: #000; @include opacity(.9); font-size: 12px; line-height: 22px; color: #cfa972; } } .mod-float { height: 445px; width: 193px; padding-top: 32px; position: fixed; bottom: 60px; right: 60px; z-index: 999; background: url(../img/bg-float.png) top center no-repeat; .qrcode{ height: 133px; width: 133px; margin: 0 auto; background: #fff; img{ height: 100%; width: 100%; display: block; } } .desc{ padding: 15px 0 35px 30px; font-size: 14px; color: #75562e; line-height: 24px; } .list-nav{ li { height: 36px; width: 125px; margin: 0 auto; line-height: 36px; text-align: center; position: relative; &.item-nav { margin-top: 30px; border: 1px #86713F solid; background: #FCF3DF; border-radius: 5px; font-size: 18px; transition: transform 0.3s, background 0.3s; &:first-child { margin-top: 0; } &:hover { transform: scale(1.1); background: #FADF97; a { color: #462e0f; &::before, &::after { @include opacity(0.5); } &::after { color: #462e0f; } } } a { color: #543813; &::before, &::after { height: 100%; width: 100%; position: absolute; top: 0; left: 0; content: attr(data-text); display: block; } &::before { color: #987448; z-index: 1; -webkit-mask: linear-gradient(#987448 60%, transparent 40%); } &::after { color: #543813; z-index: 2; -webkit-mask: linear-gradient(transparent 40%, #000 60%); } } } &.item-top { font-size: 20px; margin-top: 28px; a { color: #462e0f; } } a { position: relative; z-index: 3; display: block; &:hover { text-decoration: none; } &:focus { outline: none; } } } } .qrcode-wrap { background: #292936; .qrcode { padding: 10px; background: #FFFFFF; } img { display: block; width: 100%; overflow: hidden; } .code-tip { @include opacity(.9); font-size: 12px; line-height: 22px; color: #cfa972; padding: 24px 10px; } } } .mod-ka { height: 578px; position: relative; .regist { height: 435px; width: 342px; float: left; margin-right: 10px; padding-top: 84px; background: top center no-repeat; .regist-content { height: 92%; width: 100%; } } .download { height: 519px; width: 342px; margin-right: 10px; float: left; background: top center no-repeat; .download-content { padding-top: 431px; a { height: 58px; width: 246px; display: block; margin: 0 auto 20px; background: top center no-repeat; } .btn { background: top center no-repeat; background: top center no-repeat; transition: transform 0.3s; &:hover { transform: translate(0, -2px); } &.btn-download { background-image: url(../img/btn-download.png?__sprite); &:hover { background-image: url(../img/btn-download-hover.png?__sprite); } } } } } .gift { height: 519px; width: 496px; float: left; position: relative; background: top center no-repeat; .bg-leaf { height: 90px; width: 130px; position: absolute; z-index: 2; bottom: -37px; right: -8px; background: url(../img/bg-leaf.png?__sprite) no-repeat; } } .gift-content { width: 100%; padding-top: 123px; } .gift-wrap { .g-title { height: 30px; margin-bottom: 24px; font-size: 18px; color: #593812; text-align: center; line-height: 30px; position: relative; } } .gift-desc { height: 254px; width: 416px; margin: 0 auto; position: relative; } .gift-banner { height: 100%; position: static; } .banner-wrap { height: 100%; overflow: hidden; ul { font-size: 0; text-align: center; display: flex; flex-wrap: wrap; justify-content: space-between; } li { width: 104px; height: 112px; display: inline-block; &.br-item { height: 0; width: 100%; display: block; } } img { width: 62px; height: 62px; display: block; margin: 0 auto; background: #620000; } p { padding: 0 5px; line-height: 31px; text-align: center; font-size: 12px; font-weight: bold; color: #593812; @include ellipsis; } } } .mod-activity { height: 712px; padding-top: 55px; background: url(../img/bg-activity.jpg) top center no-repeat; .mod-inner { padding-top: 133px; position: relative; .mod-jdk { height: 286px; overflow: hidden; font-size: 0; line-height: 0; text-align: center; li { width: 239px; vertical-align: top; display: inline-block; margin: 0 16px; img { width: 100%; display: block; } p { font-size: 20px; color: #fff; line-height: 26px; margin-top: 27px; span { font-size: 24px; color: #f8c265; font-weight: bold; } } } } .btn-wrap { position: relative; .btn { height: 80px; width: 246px; display: block; margin: 0 auto; background: url(../img/bg-act-btn.png?__sprite) top center no-repeat; &:hover { background-image: url(../img/bg-act-btn-hover.png?__sprite); } } } } } .mod-video { height: 1145px; padding-top: 62px; background: url(../img/bg-video.jpg) bottom center no-repeat; .mod-bd { height: 667px; margin: 105px auto 0; position: relative; .dg-container{ height: 100%; width: 1200px; margin: 0 auto; .dg-wrapper { height: 647px; background: #3C0B0B; border: 10px #3C0B0B solid; a { height: 100%; width: 100%; display: block; } } } .video-cover { position: relative; width: 100%; height: 100%; display: block; z-index: 1; overflow: hidden; img { height: 100%; width: 100%; display: block; overflow: hidden; } .icon-play { height: 120px; width: 120px; position: absolute; top: 50%; left: 50%; margin-top: -60px; margin-left: -60px; background: url(../img/icon-play.png?__sprite) no-repeat; transition: transform 0.3s; cursor: pointer; &:hover { transform: rotate(180deg); } } } .video-wrap { position: absolute; top: 0; left: 0; z-index: 2; width: 100%; height: 100%; display: none; background: #000; } } .intro-wrap { margin: 65px auto 0 auto; width: 1064px; height: 102px; color: #acc3a4; font-size: 14px; font-weight: 700; line-height: 26px; background: url(/src/img/bg-text.png) no-repeat; p{ padding: 24px 50px 0; } } } } //弹窗基础样式 .ui-dialog { border-radius: 6px; .ui-dialog-title { font-family: "微软雅黑"; padding-bottom: 5px; padding-top: 10px; color: #777; font-size: 14px; text-indent: 0; } .ui-dialog-close { background: 0; color: #777; text-indent: 0; font-size: 20px; top: 0; right: 0; &:hover { color: #30a5ef; } } } //验证码样式 .dialog-code { font-size: 14px; .code-wrap { @include clearfix; height: 65px; padding-bottom: 15px; .code-img { width: 205px; height: 100%; float: left; text-align: center; img { vertical-align: middle; } } .code-again { float: left; line-height: 24px; color: #333; margin-top: 5px; .change-codeimg { cursor: pointer; color: #30a5ef; &:hover { text-decoration: underline; } } } } .input-line { color: #777; line-height: 36px; input { border: 1px solid #E3E3E3; width: 163px; height: 36px; line-height: 36px; padding-left: 10px; } } .btn-line { text-align: center; margin-top: 20px; span { @include inline-block; //width: 130px; width: 271px; height: 38px; line-height: 38px; text-align: center; background: #30a5ef; color: #fff; border-radius: 4px; cursor: pointer; &:hover { background: #1386cf; } } } } .question-tips-dialog { display: table; min-width: 337px; height: 110px; text-align: center; .text-wrap { p { font-size: 16px; line-height: 32px; } span { color: $maincolor; } } .btn-wrap { margin-top: 30px; } .btn { display: inline-block; line-height: 36px; height: 36px; margin: 0 6px; cursor: pointer; border-radius: 3px; font-size: 16px; width: 100px; } .btn-cancel { color: #333; background-color: #f9f9f9; border: 1px solid #e3e3e3; &:hover { background-color: #fafafa; } } .btn-submit { background: #30a5ef; color: #fff; &:hover { background-color: #55b7f5; } } } .btn-lingqu { width: 246px; height: 55px; font-size: 0; color: transparent; line-height: 500px; overflow: hidden; margin: 0 auto; background: url(../img/btn-lingqu.png?__sprite) center no-repeat; cursor: pointer; &:hover { background-image: url(../img/btn-lingqu-hover.png?__sprite); } } /*抽奖弹窗*/ .ui-dialog .ui-dialog-close { font-size: 30px; } .lottery-tip-wrap { width: 400px; padding-bottom: 35px; text-align: center; .tip-title { font-size: 20px; font-weight: bold; line-height: 2; em { color: #ea1003; } } a { font-size: 14px; color: #0075a9; line-height: 40px; } p { font-size: 16px; color: #333; line-height: 40px; } .lottery-tips { height: 35px; margin-top: 15px; font-size: 0; .comfirm-btn { @include reset; @include inline-block; line-height: 35px; background-color: #ea1003; padding: 0 40px; font-size: 14px; color: #fff; border: none; outline: none; } } } .lingqu-line { @include clearfix(); } .lingqu-wrap { &.is-active { .linqu-sn { display: block; } .btn-lingqu { display: none; } .text-wrap { display: none; } } .linqu-sn { display: none; overflow: hidden; padding-top: 5px; font-size: 0; text-align: center; input { width: 185px; height: 41px; line-height: 41px; padding: 0 10px; font-size: 14px; font-weight: bold; color: #333; outline: 0; border: 1px solid #7C572C; background: #F8ECD0; display: inline-block; vertical-align: top; } .btn-copy { @include inline-block(); width: 90px; height: 43px; font-size: 0; color: transparent; line-height: 500px; overflow: hidden; background: url(../img/btn-copy.png?__sprite) no-repeat; display: inline-block; margin-left: 20px; transition: transform 0.3s; cursor: pointer; &:hover { transform: translate(0, -3px); background-image: url(../img/btn-copy-hover.png?__sprite); } } .btn-jihuo { height: 43px; width: 120px; margin-left: 20px; display: inline-block; background: url(../img/btn-jihuo.png?__sprite) no-repeat; &:hover { background-image: url(../img/btn-jihuo-hover.png?__sprite); } } } p { line-height: 42px; float: left; margin-left: 10px; color: #BB7C7B; a { font-size: 14px; color: #fff; margin: 0 10px; font-weight: 700; text-decoration: none; &:hover{ text-decoration: underline; } } } }