@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/style"; @import "page/bindWx"; $yellow: #CEBE95; $yellow-lighter: #CAB98D; $red :#cb3b36; 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 { min-width: 1040px; height: 100%; //background: #F8F8F8; 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; } } .page-index { @media screen and (max-width: 1024px) { width: 1180px; margin: 0 auto; } font-family: "微软雅黑"; .color-orange { color: $red; } .g-top { height: 1389px; position: relative; .top-bd { width: 1100px; height: 220px; position: absolute; top: 687px; left: 50%; margin-left: -550px; @include clearfix; } .top-bd-l { float: left; margin-right: 10px; width: 280px; height: 220px; a { display: block; position: relative; overflow: hidden; width: 100%; height: 100%; } .img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; img{ width: 100%; } } .cover-border{ position: absolute; width: 272px; height: 212px; border: 1px solid #CAB98D; top: 3px; left: 3px; } } .top-bd-r { float: left; width: 810px; height: 100%; background: url("../img/top-main.png") no-repeat; .gift-list { @include clearfix; margin-top: 32px; li { float: left; margin-left: 51px; p { color: #fff; text-align: center; margin-top: 7px; font-size: 12px; } } .gift_img { background: url("../img/box-bg.png?__sprite") no-repeat; width: 75px; height: 75px; text-align: center; line-height: 72px; overflow: hidden; img { max-width: 60px; max-height: 60px; vertical-align: middle; } } } .lingqu-line { position: relative; margin-top: 21px; } .lingqu-wrap { position: absolute; left: 50%; margin-left: -67.5px; //margin-left: -215px; .linqu-sn { line-height: 44px; float: left; input { width: 160px; height: 25px; line-height: 25px; padding: 0 15px; font-size: 12px; outline: 0; vertical-align: middle; border: 1px solid $yellow-lighter; } .btn-copy { @include inline-block(); width: 60px; height: 27px; text-align: center; line-height: 27px; font-size: 14px; color: #3A2D1A; background: #EBC052; vertical-align: middle; cursor: pointer; &:hover { background: #D2A742; } } } .btn-lingqu { width: 132px; height: 38px; background: url("../img/btn-linqu.png?__sprite") no-repeat; cursor: pointer; float: left; transition: all 300ms; span{ display: block; height: 100%; text-align: center; line-height: 38px; font-size: 14px; font-family: "微软雅黑"; font-weight: bold; color: #FDD560; background-image:-webkit-linear-gradient(top,#fff,#FDD560); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } &:hover { @include opacity(0.8); } } p { line-height: 44px; float: left; margin-left: 19px; a { font-size: 14px; color: #e08627; padding: 0 10px; font-weight: bold; text-decoration: none; &:hover { color: $yellow; } } .jihuo-dersc { border-right: 1px solid #C2B38E; } } } } .task-wrap { height: 265px; background: url('../img/task-bg.png') center no-repeat; width: 1100px; left: 50%; margin-left: -550px; position: absolute; bottom: 70px; color: #333; .g-task-hd { font-size: 20px; font-weight: bold; margin:25px 0 30px; text-align: center; } .g-task-bd { width: 630px; height: 186px; margin: 0 auto; position: relative; .task-content { font-size: 15px; height: 68px; font-weight: bold; span { color: #cb3b36; } } p { text-align: center; color: #333; margin-bottom: 15px; em { font-weight: bold; } } .btn-line { position: absolute; left: 50%; margin-left: -67.5px; @include clearfix; .btn-award,.btn-can-award { width: 132px; height: 38px; background: url("../img/btn-linqu.png?__sprite") no-repeat; cursor: pointer; float: left; span{ border: none; display: block; height: 100%; text-align: center; line-height: 38px; font-size: 14px; font-family: "微软雅黑"; font-weight: bold; color: #FDD560; a{ color: #FDD560; text-decoration: none; } background-image:-webkit-linear-gradient(top,#fff,#FDD560); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } &:hover { @include opacity(0.9); } } p { line-height: 38px; float: left; margin-left: 19px; a { font-size: 14px; color: $red; padding: 0 10px; font-weight: bold; text-decoration: none; &:hover { color: $yellow; } } .zhuce { border-right: 1px solid #C2B38E; } } } .btn-line { position: absolute; bottom: 24px; left: 50%; margin-left: -67.5px; @include clearfix; } .btn-disable{ float: left; width: 126px; height: 32px; text-align: center; line-height: 32px; margin-right: 10px; background: #D0D0D0; text-decoration: none; padding: 3px; cursor: pointer; span{ border: 1px solid #A7A7A7; display: block; height: 30px; font-weight: bold; font-size: 14px; color: #594820; } } } } } .g-shop { height: 484px; background: url('../img/bg-2.jpg') center no-repeat; border: 1px solid #EEEBE6; .g-shop-bd{ width: 1100px; margin: 135px auto 0; ul{ overflow: hidden; @include clearfix; margin-right: -37px; } li{ float: left; margin-right: 37px; width: 190px; a{ text-decoration: none; display: block; width: 190px; } .img{ //width: 184px; padding: 1px; border: 2px solid $red; *border:none; background: #fff; display: block; *display: inline; overflow: hidden; img{ //*margin-top: 3px; width: 182px; border: 1px dashed #E3E3E3; *border: 2px solid #999; overflow: hidden; } } .good-name{ @include ellipsis(); display: block; width: 190px; height: 56px; line-height: 56px; cursor: pointer; text-align: center; color: #333; font-size: 20px; font-family: "Adobe 黑体 Std"; } .good-price{ display: block; border-top: 1px dotted #E3E3E3; padding-top: 20px; padding-left: 4px; color: #333; font-size: 14px; position: relative; cursor: pointer; *zoom:1; em{ font-size: 20px; } .btn-buy{ position: absolute; right: 0; width: 84px; height: 30px; text-align: center; color: #fff; font-size: 14px; line-height: 30px; background: url("../img/btn-buy.png?__aprite") no-repeat; &:hover{ background: url("../img/btn-buy-hover.png?__aprite") no-repeat; } } } } } } .g-vedio { height: 955px; background: url('../img/bg-3.jpg') center no-repeat; border-top: 1px solid #ECEBE6; .g-vedio-bd{ width: 968px; height: 548px; margin: 150px auto 0; .vedio-cover{ position: relative; width: 974px; height: 548px; .icon-play{ position: absolute; top: 50%; left: 50%; margin-top: -40px; margin-left: -40px; width: 80px; height: 80px; cursor: pointer; background: url("../img/icon-play.png?__sprite") no-repeat; } } .vedio embed{ width: 974px; height: 548px; } } } } //弹窗基础样式 .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; } } } }