lixin-web
Version:
vue and bootstrap
611 lines (525 loc) • 13.1 kB
CSS
body {
background-color: #fff;
background-image: url("../img/common/bg_s1.jpg");
background-repeat: no-repeat;
background-position: center 100px;
}
/* BANNER��ʽ */
.page-banner {
position: relative;
margin-top: 20px;
height: 297px;
}
.page-banner .bg {
position: absolute;
height: 72px;
bottom: 0;
left: 0;
right: 0;
z-index: 1;
background-image: url("../img/brand/banner/banner_bg.png");
background-repeat: no-repeat;
background-position: center bottom;
}
.page-banner .list {
height: 295px;
overflow: hidden;
background-color: #4c7ec6;
}
.page-banner .list > .item {
text-align: center;
font-size: 0;
width: 100%;
overflow: hidden;
}
.page-banner .list > .item > img {
margin: 0 auto;
}
/* �м䲿����ʽ */
.page-content {
padding: 0;
}
.page-content .wrapper {
padding: 20px 40px;
background-color: #fff;
}
/* ��б� */
.page-content .coupon-list {
display: none;
}
.page-content .coupon-list > .item {
height: 294px;
padding: 20px;
margin-bottom: 20px;
background-color: #f7f7f7;
}
.page-content .coupon-list > .item.hide {
display: none;
}
.page-content .coupon-list > .item > .img {
width: 485px;
height: 254px;
float: left;
font-size: 0;
overflow: hidden;
}
.page-content .coupon-list > .item > .img-full {
height: 254px;
font-size: 0;
overflow: hidden;
display: block;
cursor: pointer;
}
.page-content .coupon-list > .item > .info {
margin-left: 505px;
}
.page-content .coupon-list > .item > .info > .title {
height: 60px;
line-height: 58px;
font-size: 24px;
}
.page-content .coupon-list > .item > .info > .time {
height: 42px;
line-height: 40px;
font-size: 16px;
color: #787876;
}
.page-content .coupon-list > .item > .info > .desc {
line-height: 24px;
font-size: 16px;
color: #787876;
padding: 8px 0;
}
.page-content .coupon-list > .item > .info > .actions {
padding: 20px 0;
margin: 0 -10px;
}
.page-content .coupon-list > .item > .info > .actions > a {
width: 180px;
height: 50px;
line-height: 48px;
background-color: #c5c5c5;
float: left;
margin: 0 10px;
font-size: 20px;
text-decoration: none;
color: #fff;
text-align: center;
cursor: default;
}
.page-content .coupon-list > .item > .info > .actions > a.green {
background-color: #7ece31;
cursor: pointer;
}
.page-content .coupon-list > .item > .info > .actions > a.green:hover {
background-color: #90ea39;
}
.page-content .coupon-list > .item > .info > .actions > a.blue {
background-color: #009ee6;
cursor: pointer;
}
.page-content .coupon-list > .item > .info > .actions > a.blue:hover {
background-color: #12b5ff;
}
.page-content .coupon-list > .more {
height: 60px;
font-size: 24px;
color: #fff;
text-decoration: none;
line-height: 58px;
cursor: pointer;
display: block;
background-color: #009ee6;
text-align: center;
margin: 0 auto;
transition: all 0.2s ease 0s;
}
.page-content .coupon-list > .more:hover {
background-color: #12b5ff;
}
/* ����� */
.page-content .coupon-details {
display: none;
}
.page-content .coupon-details > .go-back {
width: 200px;
height: 50px;
color: #fff;
font-size: 20px;
text-decoration: none;
background-color: #009ee6;
cursor: pointer;
display: block;
text-indent: 24px;
}
.page-content .coupon-details > .go-back:hover {
background-color: #12b5ff;
}
.page-content .coupon-details > .go-back > i.arrow {
height: 50px;
width: 50px;
display: inline-block;
vertical-align: -18px;
background-image: url("../img/coupon/coupon_icon.png");
background-repeat: no-repeat;
background-position: 0 0;
}
.page-content .coupon-details > .ad {
font-size: 0;
padding: 30px 0;
overflow: hidden;
}
.page-content .coupon-details > .title {
height: 60px;
font-size: 36px;
}
.page-content .coupon-details > .time {
font-size: 16px;
color: #787876;
border-bottom: 1px solid #e9e9e9;
padding-bottom: 20px;
}
.page-content .coupon-details > .content {
font-size: 14px;
padding: 8px 0;
}
.page-content .coupon-details > .content > p {
line-height: 24px;
color: #787876;
padding: 8px 0;
}
.page-content .coupon-details > .content strong {
font-weight: bold;
color: #000;
}
.page-content .coupon-details > .content table {
width: 100%;
border-top: 1px solid #e9e9e9;
border-right: 1px solid #e9e9e9;
text-align: center;
color: #787876;
}
.page-content .coupon-details > .content table > thead > tr,
.page-content .coupon-details > .content table > tbody > tr {
line-height: 48px;
}
.page-content .coupon-details > .content table > thead > tr > td,
.page-content .coupon-details > .content table > tbody > tr > td {
border-bottom: 1px solid #e9e9e9;
border-left: 1px solid #e9e9e9;
vertical-align: middle;
}
.page-content .coupon-details > .content table > tbody > tr > td .button {
width: 120px;
height: 40px;
line-height: 38px;
color: #fff;
font-size: 20px;
text-decoration: none;
background-color: #009ee6;
cursor: pointer;
display: inline-block;
margin: 0 16px;
}
.page-content .coupon-details > .content table > tbody > tr > td .button:hover {
background-color: #12b5ff;
}
.page-content .coupon-details > .content .sign-list {
height: 120px;
}
.page-content .coupon-details > .content .sign-list > .item {
width: 25%;
height: 120px;
float: left;
padding: 20px 0;
text-align: center;
font-size: 18px;
color: #fff;
}
.page-content .coupon-details > .content .sign-list > .item > .text {
height: 40px;
line-height: 38px;
}
.page-content .coupon-details > .content .sign-list > .item > .button {
width: 120px;
height: 36px;
line-height: 34px;
margin: 4px auto 0 auto;
background-color: #ff9e1c;
display: block;
cursor: pointer;
border-radius: 5px;
}
.page-content .coupon-details > .content .sign-list > .item > .button:hover {
background-color: #ffbe0e;
}
.page-content .coupon-details > .content .sign-list > .item:nth-child(1) {
background-color: #0b8ee9;
}
.page-content .coupon-details > .content .sign-list > .item:nth-child(2) {
background-color: #ff960a;
}
.page-content .coupon-details > .content .sign-list > .item:nth-child(3) {
background-color: #0cbd19;
}
.page-content .coupon-details > .content .sign-list > .item:nth-child(4) {
background-color: #c631ff;
}
.page-content .coupon-details > .content .sign-info {
height: 160px;
background-color: #fd7633;
background-image: url("../img/coupon/sign/img_s1.png");
background-repeat: no-repeat;
background-position: center center;
position: relative;
}
.page-content .coupon-details > .content .sign-info > .row {
height: 40px;
line-height: 38px;
}
.page-content .coupon-details > .content .sign-info > .row.s1 {
padding-top: 20px;
}
.page-content .coupon-details > .content .sign-info > .row.s2 {
margin-top: 40px;
padding-top: 20px;
}
.page-content .coupon-details > .content .sign-info > .row > div {
width: 50%;
float: left;
font-size: 18px;
text-align: left;
}
.page-content .coupon-details > .content .sign-info > .row .left {
padding-left: 58px;
}
.page-content .coupon-details > .content .sign-info > .row .right {
color: #faff05;
padding-right: 58px;
}
.page-content .coupon-details > .content .sign-info > .button {
width: 142px;
height: 42px;
background-image: url("../img/coupon/sign/button.png");
position: absolute;
color: #d22b3f;
line-height: 40px;
text-indent: 20px;
font-size: 18px;
cursor: pointer;
font-weight: bold;
}
.page-content .coupon-details > .content .sign-rules {
color: #fff;
background-color: #f26721;
padding: 36px 56px 56px 56px;
}
.page-content .coupon-details > .content .sign-rules > p {
line-height: 24px;
}
.page-content .coupon-details > .content .sign-rules > p > strong {
color: #fff;
}
.page-content .coupon-details > .content .sign-rules > p.text {
padding-left: 20px;
font-size: 13px;
}
.page-content .coupon-details > .content .sign-table {
height: 430px;
position: relative;
background-image: url("../img/coupon/sign/s2.jpg");
}
.page-content .coupon-details > .content table.white {
color: #fff;
border-top: 1px solid #fff;
border-right: 1px solid #fff;
}
.page-content .coupon-details > .content table.white > thead > tr > td,
.page-content .coupon-details > .content table.white > tbody > tr > td {
border-bottom: 1px solid #fff;
border-left: 1px solid #fff;
}
.page-content .coupon-details i.grab-button{
width: 218px;
height: 218px;
background-image: url("../img/coupon/package/btn_open.png");
position: absolute;
left: 40%;
top: 40%;
}
.page-content .coupon-details .grab-success{
height: 970px;
width: 970px;
background: rgba(0, 0, 0, 0.5) none repeat scroll 0% 0%;
position: absolute;
margin: 0px;
left: 40px;
top: 100px;
}
.page-content .coupon-details .grab-success i.success{
width: 414px;
height: 438px;
background-image: url("../img/coupon/package/red_packets_open.png");
position: absolute;
margin: 20% 0px 0px 30%;
}
.page-content .coupon-details .grab-success i.close{
width: 36px;
height: 36px;
background-image: url("../img/coupon/package/btn_close.png");
position: absolute;
margin: 23% 0px 0px 70%;
}
.page-content .coupon-details .grab-success .grab-info{
font-size: 36px;
color: #F72E30;
left: 29%;
top: 32%;
position: absolute;
}
.page-content .coupon-details > .grab-rules {
color: #FFF;
padding: 36px 56px 56px;
position: absolute;
margin: -20% 0px 0px 0;
}
.page-content .coupon-details > .grab-rules > p{
line-height: 24px;
}
.page-content .coupon-details > .grab-rules > p.text {
font-size: 13px;
}
.page-content .coupon-details > .grab-rules p > strong {
font-weight: bold;
font-size: 20px;
}
.grab-button.spin{
-moz-animation: spin 6s infinite linear;
-o-animation: spin 6s infinite linear;
-webkit-animation: spin 6s infinite linear;
animation: spin 6s infinite linear;
}
@-moz-keyframes spin {
0% { -moz-transform: rotate(0deg); }
100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@-o-keyframes spin {
0% { -o-transform: rotate(0deg); }
100% { -o-transform: rotate(360deg); }
}
@-ms-keyframes spin {
0% { -ms-transform: rotate(0deg); }
100% { -ms-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.page-content .coupon-details > .open-text{
position: absolute;
top: 48%;
left: 45%;
font-size: 40px;
color: rgb(201, 25, 71);
cursor: pointer;
}
.page-content .coupon-details .grab-title{
top: 16%;
position: absolute;
left: 39%;
font-size: 14px;
line-height: 25px;
}
.page-content .coupon-details .t1{
font-weight: bold;
}
.page-content .coupon-details .t2{
color: #FF8120;
}
#activity-hongbao .a2 .b1 {
height: 25px;
background: #FFF7E4;
}
#activity-hongbao .a2 .b2 {
height: 278px;
background: #FEFBF6;
position: absolute;
top: 27px;
width: 680px;
left: 50%;
margin-left: -340px;
border: 3px solid #FFD4DE;
border-bottom: none;
}
#activity-hongbao .a2 {
position: relative;
}
#activity-hongbao .a2 .b2:after {
content: "";
width: 104px;
height: 136px;
background: url(/img/coupon/hongbao/s4.png);
display: inline-block;
position: absolute;
top: -6px;
right: 6px;
}
#activity-hongbao .a2 .b3 {
height: 336px; position: absolute;
top: 20px; width: 680px; left: 50%; margin-left: -340px; border-bottom: none;
padding: 32px;
font-size: 18px;
color: #333333;
}
#activity-hongbao .a2 .b3 .c1 span {
color: #b82a2d;
}
#activity-hongbao .a2 .b3 .c1 {
font-size: 20px;
padding-right: 88px;
line-height: 32px;
color: inherit;
}
#activity-hongbao .a2 .b3 .c2 {
border: 2px solid #FFC8C6;
text-align: center;
line-height: 55px;
font-size: 30px;
color: #cb0105;
}
#activity-hongbao .a2 .b3 .c3 {
line-height: 28px;
text-align: center;
}
#activity-hongbao .a2 .b3 .c {
margin-bottom: 18px;
}
#activity-hongbao .a1 {
position: relative;
}
#activity-hongbao .a1 .b1 {
position: absolute;
top: 28px;
right: 217px;
font-size: 14PX;
}
#activity-hongbao .a1 .b2 {
position: absolute;
bottom: 147px;
right: 400px;
font-size: 25PX;
}
#activity-hongbao .a1 .b3 {
position: absolute;
bottom: 84px;
right: 423px;
font-size: 30PX;
}
#activity-hongbao .a1 .b {
color: #FFF100;
font-weight: bold;
}