magazine-confirm.page.scss 2.81 KB

html,
body {
    height: 100%;
}

.main-wrap {
    min-height: 100%;
}

.yoho-header {
    background-image: none !important;
    background-color: initial !important;

    .iconfont,
    .nav-title {
        color: #030303;
    }
}

.magazine-confirm-page {
    padding-bottom: 150px;
}

.magazine-info {
    padding: 34px;
    display: flex;

    .thumb {
        width: 170px;
        height: 220px;
        margin-right: 34px;
        flex-shrink: 0;
        flex-grow: 0;
        overflow: hidden;

        img {
            display: block;
            width: 100%;
        }
    }

    .info {
        font-weight: 500;
        font-size: 24px;
        line-height: 1.4;
    }

    .name {
        margin-top: 8px;
        color: #292934;
    }

    .time {
        margin-top: 18px;
        color: #bbb;
    }
}

.magazine-buy-num {
    margin-top: 35px;
    padding: 0 34px;

    .buy-num-title {
        font-size: 26px;
        color: #292934;
        display: flex;
        justify-content: space-between;
        font-weight: 500;

        > a {
            color: #bbb;
            font-size: 24px;
            font-weight: 300;
        }
    }

    .choose-list {
        margin-top: 6px;

        > * {
            padding: 25px 0;
            display: flex;
            justify-content: space-between;
        }

        .custom-choose {
            flex-direction: column;
        }

        .custom-num {
            width: 100%;
            background: #e5e8ec;
            border-radius: 4px;
            margin-top: 25px;

            input {
                width: 94%;
                height: 60px;
                margin: 0 auto;
                line-height: 60px;
                background: none;
                border: none;
                display: block;
                font-size: 24px;
            }
        }
    }

    .choose-btn {
        width: 50px;
        height: 50px;
        line-height: 48px;
        text-align: center;
        font-size: 20px;
        color: #fff;
        border: 1px solid #bbb;
        border-radius: 100%;
        margin-right: 17px;
        overflow: hidden;
        vertical-align: middle;
        display: inline-block;
        transform: scale(0.8, 0.8);
        margin-top: -1px;
    }

    .active .choose-btn {
        background: #292934;
        border-color: #292934;
    }
}

.total-price {
    margin-top: 42px;
    font-size: 28px;
    font-weight: 500;
    color: #292934;
    padding: 0 34px;

    .total-num {
        color: #d90025;
    }
}

.buy-btn-wrap {
    width: 100%;
    height: 136px;
    padding: 17px 34px 0;
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: #fff;
    border-top: 1px solid #eee;

    button {
        width: 100%;
        height: 74px;
        display: block;
        border-radius: 8px;
        background: #292934;
        color: #fff;
    }
}