reg-success-prize.page.scss 7.39 KB
@import "~scss/layout/img-check";

.top-downloadbar {
    display: none !important;
}

body {
    background-color: #f0f0f0;
}

.reg-success-page {
    .reg-success-wrapper { /* 注册成功礼包提示 */
        position: relative;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background-color: rgba(240, 240, 240, 1);
        display: flex;
        justify-content: center;
        flex: 0;
        overflow-x: hidden;
        overflow-y: scroll;

        .prize-container {
            display: block;
            position: relative;
            width: 100%;
            margin: 0 0 100px 0;
            background-color: #f0f0f0;
            overflow: hidden;

            p {
                text-align: center;
                padding: 0 30px;
                font-family: "PingFang-SC-Regular", "Arial", "Helvetica", sans-serif;
            }

            .title-container {
                width: 100%;
                overflow: hidden;
                background-image: linear-gradient(to top, #222, #444);

                .title-prize-img {
                    width: 152px;
                    height: 152px;
                    margin: 76px auto 0 auto;
                    background-image: url("img/passport/reg-success-prize.png");
                    background-size: 100% 100%;
                }

                .title {
                    font-size: 40px;
                    line-height: 56px;
                    margin: 40px auto 20px auto;
                    font-weight: bold;
                    color: #fff;
                }

                .sub-title {
                    font-size: 24px;
                    line-height: 28px;
                    color: #b0b0b0;
                    margin: 10px auto 70px auto;
                    transform: scale(0.9);
                }

                .sub-title-prize {
                    font-size: 28px;
                    line-height: 40px;
                    color: #fff;
                    font-weight: bold;
                }

                .sub-title-prize span {
                    color: darkgoldenrod;
                }
            }

            div {
                box-sizing: border-box;
            }

            .coupon-container {
                position: relative;
                width: 690px;
                margin: 20px auto;
                overflow: hidden;

                ul {
                    overflow: hidden;
                    margin-bottom: 20px;
                }

                li {
                    position: relative;
                    margin-bottom: 20px;
                    overflow: hidden;
                }

                .list-title {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    position: relative;
                    font-size: 24px;
                    color: #b0b0b0;
                    margin: 20px auto 20px auto;
                    width: 100%;
                    text-align: center;
                }

                .list-title p {
                    padding: 0;
                    display: inline-block;
                }

                .list-title .line-before {
                    display: inline-block;
                    position: relative;
                    width: 140px;
                    height: 2px;
                    border-bottom: 1px solid #e0e0e0;
                    margin-right: 20px;
                }

                .list-title .line-after {
                    display: inline-block;
                    position: relative;
                    width: 140px;
                    height: 2px;
                    border-bottom: 1px solid #e0e0e0;
                    margin-left: 20px;
                }
            }

            .coupon-container .coupon-info {
                overflow: hidden;
                background-image: url("img/passport/reg-success-coupon-bg-on.png");
                background-size: 100% 100%;

                p {
                    padding: 0;
                }

                .coupon-left {
                    position: absolute;
                    width: 200px;
                    height: 194px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                }

                .coupon-left .coupon-price {
                    display: block;
                    //padding-top: 30px;
                    font-size: 60px;
                    line-height: 84px;
                }

                .coupon-left .coupon-condition {
                    display: block;
                    font-size: 24px;
                    line-height: 34px;
                    color: #444;
                }

                .coupon-right {
                    margin-left: 200px;
                    width: 490px;
                    height: 194px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                }

                .coupon-right .coupon-name {
                    font-size: 28px;
                    line-height: 36px;
                    text-align: left;
                    padding-left: 30px;
                    padding-right: 160px;
                }

                .coupon-right .coupon-desc {
                    font-size: 24px;
                    line-height: 32px;
                    margin-top: 20px;
                    text-align: left;
                    padding-left: 30px;
                    color: #b0b0b0;
                }

                .coupon-button {
                    position: absolute;
                    right: 20px;
                    top: 50%;
                    font-size: 24px;
                    color: #fff;
                    background-color: #444;
                    padding: 8px 28px;
                    transform: translateY(-50%);
                    border-radius: 10px;
                }

                &.ufo {
                    background-image: url("img/passport/reg-success-coupon-bg-on-ufo.png");
                }
            }

            .coupon-container .not-get .coupon-info {
                background-image: url("img/passport/reg-success-coupon-bg-off.png");
            }

            .coupon-container .not-get .coupon-left .coupon-price {
                color: #b0b0b0;
            }

            .coupon-container .not-get .coupon-left .coupon-condition {
                color: #b0b0b0;
            }

            .coupon-container .not-get .coupon-right .coupon-name {
                color: #b0b0b0;
            }
        }

        .download-button {
            position: fixed;
            width: 100%;
            height: 100px;
            display: flex;
            flex-direction: row;
            bottom: 0;
            left: 0;
            background-color: #fff;
            z-index: 25;

            a {
                display: block;
                width: 100%;
                height: 100%;
                text-align: center;
                line-height: 100px;
                flex: 1;
                color: #fff;
                font-family: "PingFang-SC-Regular", "Arial", "Helvetica", sans-serif;
            }

            a:nth-child(1) {
                background-color: #444;
            }

            a:nth-child(2) {
                background-color: #d0021b;
            }
        }
    }
}