_chose-panel.css 7.51 KB
.width750 {
    .chose-panel {
        .main {
            padding-bottom: 117px;
        }

        .close {
            width: 35px;
            height: 35px;
            margin: 19px 19px 0 0;
            font-size: 28px;
        }

        .infos {
            padding: 0 35px;
        }

        .basic-info {
            padding-bottom: 35px;
            min-height: 222px;
        }

        .thumb-img {
            width: 192px;
            min-height: 234px;
            top: -70px;

            .hover {
                position: fixed;
                width: 100%;
                background-color: black;
                height: 100%;
                top: 0;
                left: 0;
                right: 0;
                border: 0;
                z-index: 999;
                align-items: center;
                display: flex;

                img {
                    width: 100%;
                }
            }
        }

        .text-info {
            margin-left: 228px;
            margin-top: 35px;

            .name {
                height: 70px;
                font-size: 33px;
            }

            .price {
                font-size: 28px;
            }

            .sale-price {
                margin-right: 18px;
                font-size: 33px;
            }

            .size-info {
                font-size: 28px;
                margin-top: 6px;
            }
        }

        .color-list,
        .size-list,
        .num {
            padding-left: 94px;
            font-size: 33px;

            > span {
                top: 12px;
            }

            > span.left-num {
                top: 23px;
                left: 445px;
            }

            .left-num-discount {
                top: 24px;
                left: 444px;
                width: 244px;
            }
        }

        .color-list,
        .size-list {
            margin: 35px 0;
        }

        .block {
            margin-right: 35px;
            margin-bottom: 35px;
            padding: 0 23px;
            min-width: 94px;
            max-width: 562px;
            height: 70px;
            line-height: 70px;
        }

        .num {
            margin-bottom: 23px;
        }

        .num .btn {
            width: 94px;
            height: 94px;
            line-height: 94px;
        }

        .good-num {
            width: 124px;
            height: 94px;
            line-height: 94px;
        }

        .btn-wrap {
            .btn-sure {
                height: 94px;
                font-size: 37px;
            }
        }
    }
}

.chose-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    display: none;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);

    .main {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 70%;
        background: #fff;
        padding-bottom: 100px;
    }

    .close {
        float: right;
        width: 30px;
        height: 30px;
        margin: 16px 16px 0 0;
        text-align: right;
        color: #b1b1b1;
    }

    .infos {
        padding: 0 30px;
        height: 100%;
    }

    .chose-items {
        overflow: auto;
        height: 60%;
    }

    .basic-info {
        position: relative;
        padding-bottom: 30px;
        min-height: 190px;
        border-bottom: 1PX solid #e6e6e6;
    }

    .thumb-img {
        width: 164px;
        min-height: 200px;
        position: absolute;
        top: -60px;
        border: 1PX solid #e6e6e6;
        border-radius: 5PX;
    }

    .text-info {
        margin-left: 195px;
        height: auto;
        margin-top: 30px;

        .seckill-time {
            position: absolute;
            bottom: 0;
            right: 0;
            float: none;
        }

        .name {
            display: -webkit-box;
            overflow: hidden;
            height: 60px;
            font-size: 28px;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .price {
            display: inline;
            font-size: 24px;
        }

        .sale-price {
            margin-right: 15px;
            color: #d0021b;
            font-size: 28px;

            &.no-price {
                color: #000;
            }
        }

        .market-price {
            color: #b0b0b0;
            text-decoration: line-through;
        }

        .size-info {
            font-size: 24px;
            display: block;
            margin-top: 5px;
            color: #444;
        }

        .hide {
            display: none;
        }
    }

    .color-list,
    .size-list,
    .num {
        position: relative;
        padding-left: 80px;
        font-size: 28px;
        overflow: hidden;

        input.disabled {
            border-radius: 0;
            background-color: #fff;
            color: #000;
            opacity: 1;
            -webkit-appearance: none;
        }

        > span {
            position: absolute;
            top: 10px;
            left: 0;
        }

        > span.left-num {
            position: absolute;
            top: 20px;
            left: 380px;
            color: #b0b0b0;
            overflow: hidden;
            white-space: nowrap;
            color: #b0b0b0;
            overflow: hidden;
            white-space: nowrap;
        }

        span.disabled {
            color: #e6e6e6;
        }

        .left-num-discount {
            color: #e10;
            position: absolute;
            top: 20px;
            left: 380px;
            overflow: hidden;
            white-space: nowrap;
            width: 208px;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
        }
    }

    .color-list,
    .size-list {
        border-bottom: 1PX solid #e6e6e6;
        margin: 30px 0;
    }

    .size-list li.hide {
        display: none;
    }

    .block {
        display: block;
        float: left;
        box-sizing: border-box;
        margin-right: 30px;
        margin-bottom: 30px;
        padding: 0 20px;
        min-width: 80px;
        max-width: 480px;
        height: 60px;
        border: 1PX solid #444;
        text-align: center;
        line-height: 60px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        border-radius: 6PX;

        &.chosed {
            border-color: #e10;
            background: #d0021b;
            color: #fff;
        }

        &.zero-stock {
            border-color: #e0e0e0;
            color: #e0e0e0;
        }

        &.zero-stock.chosed {
            border-color: #e0e0e0;
            background: none;
            background-color: #c0c0c0;
            color: #e0e0e0;
        }
    }

    .num {
        margin-bottom: 20px;
    }

    .num .btn {
        display: block;
        float: left;
        width: 80px;
        height: 80px;
        border: 1PX solid #e6e6e6;
        text-align: center;
        line-height: 80px;

        &.disable {
            color: #e6e6e6;
        }
    }

    .good-num {
        float: left;
        margin-left: -1px;
        padding: 0;
        width: 106px;
        height: 80px;
        border: 1PX solid #e6e6e6;
        text-align: center;
        line-height: 80px;
    }

    .btn-plus {
        margin-left: -1px;
    }

    .btn-wrap {
        position: fixed;
        bottom: 0;
        width: 100%;

        .btn-sure {
            width: 100%;
            height: 80px;
            border: none;
            background: #d0021b;
            color: #fff;
            font-size: 32px;
        }
    }

    .discount-gray {
        background-color: #e0e0e0;
    }
}