index.css 2.05 KB
* {
    margin: 0;
    padding: 0;
}
.coupon-christmas img {
    display: block;
    max-width: 100%;
}

.coupon-top {
    position: relative;
}
.coupon-top .go-check {
    position: absolute;
    top: 4.325rem;
    width: 100%;
    height: 6.85rem;
}
.coupon-top .share-btn {
    position: absolute;
    width: 13.75rem;
    height: 2.25rem;
    bottom: 1rem;
    left: 50%;
    margin: 0 0 0 -6.875rem;
    background-size: 100%;

}

.coupon-bottom {
    padding: 0 0 1.075rem;
    background: url(../../img/christmas/bottom-bg.png) no-repeat bottom center;
    background-size: 100% auto;
}

.coupon-banner {
    margin: 0 auto 0.525rem;
    width: 13.85rem;
}

.bottom-btn {
    position: relative;
    width: 13.725rem;
    height: 1.725rem;
    margin: 0 auto;
    font-size: 0;
}
.bottom-btn a{
    position: absolute;
    top: 0;
    width: 8.2rem;
    height: 100%;
}
.bottom-btn a.follow-yoho {
    width: 5.275rem;
    left: 0;
}
.bottom-btn a.download-yoho {
    right: 0;
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(../../img/christmas/share.png) center top no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    background-size: 100%;
    display: none;
}

.has-done {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.4) url(../../img/christmas/11.png);
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-position: center center;
    overflow: hidden;
    display: none;
}

.dialog-box {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}

.dialog-inner {
    position: absolute;
    width: 13.375rem;
    height: 9.625rem;
    top: 50%;
    left: 50%;
    margin: -4.8125rem 0 0 -6.6875rem;
} 

.dialog-inner img {
    max-width: 100%;
}  

.dialog-inner span {
    position: absolute;
    width: 8.225rem;
    height: 1.85rem;
    bottom: 1.475rem;
    left: 50%;
    margin: 0 0 0 -4.1125rem;
    cursor: pointer;
}