Authored by 毕凯

整理 scss 文件地址

.coupon-area {
max-width: 640rem / $pxConvertRem 0;
max-width: 640px;
overflow: hidden;
.banner-top {
... ...
.coupon-area {
max-width: 640px;
overflow: hidden;
.banner-top {
float: left;
}
}
.just-img{
width: 100%;
float: left;
margin: 20rem / $pxConvertRem 0;
}
.coupon-floor {
float: left;
width: 100%;
.floor-title {
background-color: #fff;
text-align: center;
height: 96rem / $pxConvertRem;
line-height: 96rem / $pxConvertRem;
font-size: 30rem / $pxConvertRem;
}
.floor-main {
height: 180rem / $pxConvertRem;
width: 100%;
background-size: 100%;
background-repeat: no-repeat;
padding: 10rem / $pxConvertRem 30rem / $pxConvertRem;
box-sizing: border-box;
float: left;
.main-left {
float: left;
width: 467rem / $pxConvertRem;
height: 160rem / $pxConvertRem;
}
.main-right-receive, .main-right-use, .main-right-go {
float: right;
width: 113rem / $pxConvertRem;
height: 160rem / $pxConvertRem;
position: relative;
span {
background-repeat: no-repeat;
background-size: contain;
&.on-receive {
position: absolute;
left: 50%;
top: 50rem / $pxConvertRem;
margin-left: -26rem / $pxConvertRem;
display: inline-block;
width: 52rem / $pxConvertRem;
height: 54rem / $pxConvertRem;
background-image: image-url('coupon/click-txt.png');
}
&.received {
width: 113rem / $pxConvertRem;
height: 132rem / $pxConvertRem;
background-image: image-url('coupon/received.png');
position: absolute;
top: 0;
right: 0;
}
&.zero {
width: 111rem / $pxConvertRem;
height: 132rem / $pxConvertRem;
background-image: image-url('coupon/zero.png');
position: absolute;
top: 0;
right: 0;
}
}
}
}
}
.floor-mask {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, .5);
display: none;
z-index: 9;
}
.floor-message {
position: fixed;
top: 50%;
left: 50%;
width: 550rem/$pxConvertRem;
height: 250rem/$pxConvertRem;
margin-left: -275rem/$pxConvertRem;
margin-top: -125rem/$pxConvertRem;
z-index: 10;
background-color: rgba(250, 250, 250, .92);
display: none;
border-radius: 10px;
.coupon-message-content {
border-bottom: 1px solid rgb(197, 197, 197);
height: 160rem/$pxConvertRem;
text-align: center;
line-height: 160rem/$pxConvertRem;
font-size: 28rem/$pxConvertRem;
}
.coupon-message-op {
height: 90rem/$pxConvertRem;
text-align: center;
line-height: 90rem/$pxConvertRem;
font-size: 32rem/$pxConvertRem;
color: rgb(223, 98, 112);
}
}
.floor-tooltip{
position: fixed;
top: 50%;
left: 50%;
width: 220rem/$pxConvertRem;
height: 140rem/$pxConvertRem;
margin-left: -110rem/$pxConvertRem;
margin-top: -70rem/$pxConvertRem;
z-index: 11;
background-color: rgba(60, 60, 60, .7);
display: none;
border-radius: 8rem/$pxConvertRem;
color: #fff;
.icon-box{
height: 84rem/$pxConvertRem;
line-height: 84rem/$pxConvertRem;
text-align: center;
}
.icon-msg{
height: 56rem/$pxConvertRem;
text-align: center;
}
}
\ No newline at end of file
.limit-good-page {
background-color: #f4f4f4;
color: #444;
.top {
font-size: 0.6rem;
height: 2rem;
line-height: 2.2rem;
margin-bottom: 0.1rem;
background-color: #fff;
padding: 0.2rem 0 0.2rem 0.5rem;
div {
width: 20%;
display: inline-block;
float: left;
img {
width: 1.5rem;
border: 1px solid #ccc;
border-radius: 100%;
position: relative;
top: 0.25rem;
}
}
p {
display: inline-block;
float: left;
width: 80%;
}
}
.detail {
background-color: #fff;
padding: 0.6rem 0.8rem;
border-bottom: 1px solid #e6e6e6;
margin-bottom: 1rem;
.name {
font-size: 0.9rem;
margin-bottom: 0.5rem;
}
.sale-info {
height: 1rem;
line-height: 1rem;
}
.price {
font-size: 0.8rem;
color: #d0021b;
float: left;
}
.date {
font-size: 0.6rem;
float: right;
.text {
position: relative;
top: 0.08rem;
}
}
}
.goodDesc {
padding: 0.5rem;
border-top: 1px solid #e6e6e6;
background-color: #fff;
p {
font-size: 0.6rem;
line-height: 1rem;
text-indent: 2em;
}
img {
margin: 0.3rem 0;
max-width: 100%;
}
}
.bottom {
background-color: #fff;
border-top: 1px solid #e6e6e6;
padding: 0.5rem 2rem 2rem 2rem;
height: 3rem;
width: 12rem;
margin: 0 auto;
.logo {
width: 100;
height: 2.5rem;
background-image: image-url('logo-bottom.png');
background-size: 100%;
background-repeat: no-repeat;
background-position: center;
}
.btn {
font-size: 0.8rem;
background-color: #fff;
border: 1px solid #444;
border-radius: 0.2rem;
padding: 0.3rem 0.6rem;
}
.btn:active {
background-color: #ccc;
}
.left, .right {
display: inline-block;
float: left;
}
.left {
width: 39%;
}
.right {
width: 60%;
font-size: 0.65rem;
span {
display: block;
width: 95%;
margin: 0 auto;
}
}
}
}