index.scss 2.3 KB
.size-area {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 3;
}

.mask {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
}

.select-size {
    width: 100%;
    position: absolute;
    bottom: 0;
    background: #fff;
    max-height: 1000px;
    padding: 40px;
    box-sizing: border-box;
    z-index: 2;

    .title {
        font-family: PingFang-SC-Medium;
        font-weight: 500;
        font-size: 32px;
        color: #000;
        margin-bottom: 38px;
    }

    .size-list {
        display: flex;
        // align-items: center;
        flex-wrap: wrap;
        margin-top: 38px;
        // border-left: 2px solid #ddd;
        min-height:402px;

        
        .size-item {
            border-left: 2px solid #ddd;
            border-bottom: 2px solid #ddd;
            text-align: center;
            width: 19.5%;
            height: 134px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            &.top-border {
                border-top: 2px solid #ddd;
            }

            .size {
                width: 100%;
                font-family: DINAlternate-Bold;
                font-size: 40px;
                color: #000;
            }

            .price {
                font-family: SFProText-Regular;
                font-size: 22px;
                color: #ccc;
            }

            &.actived {
                background: #08304B;

                .size {
                    color: #fff;
                }
            }

            .gray {
                color: #999999;
            }
        }
        .right-border {
            border-right: 2px solid #ddd;
        }
    }

    .buy-btn {
        width: 670px;
        border-radius: 0 !important;
        background: #08304B;
        font-size: 28px;
        color: #fff;
        height: 120px;
        line-height: 120px;
        margin-top: 40px;
        font-family: PingFang-SC-Medium;

        &:after {
            border-radius: 0;
            border: none;
        }

        &.disabled {
            background: #ddd;
        }

        .price {
            color: #64AD88;
            font-family: DINAlternate-Bold;
        }
    }
}