_chose-panel.css 3.76 KB
.chose-panel {
    position: fixed;
    display: none;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.3);
    z-index:3;


    .main {
        position: absolute;
        height: 610px;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
    }

    .infos {
        height: 460px;
        padding: 0 22px;
    }

    .chose-items {
        height: 325px;
        overflow: auto;
    }

    .basic-info {
        overflow: hidden;
        position: relative;
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .thumb {
        float: left;
        width: 100px;
        margin-right: 20px;
    }

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

        .price{
            font-size: 24px;
            display: inline;
        }
        .sale-price {
            color: #e10;
            margin-right: 15px;

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

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

    .color-list, .size-list, .num {
        position: relative;
        font-size: 28px;
        padding-left: 80px;
        input.disabled{
            background-color:#fff;
            color: #000;
            opacity: 1;
            border-radius: 0;
            -webkit-appearance: none;
        }
        > span {
            position: absolute;
            left: 0;
            top: 20px;
        }
        >span.left-num{
            position: absolute;
            left: 380px;
            top: 20px;
        }
        span.disabled{
            color: #e6e6e6;
        }
    }

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

    .block {
        float: left;
        display: block;
        box-sizing: border-box;
        padding: 0 20px;
        min-width: 80px;
        height: 80px;
        border: 1px solid #000;
        margin-right: 30px;
        margin-bottom: 30px;
        line-height: 80px;
        text-align: center;

        &.chosed {
            border-color: #e10;
            background: resolve('shopping-cart/right.png') no-repeat;
            background-size: 38px;
            background-position: bottom right;
            color: #e10;
        }

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

    .num {
        margin-bottom: 20px;
    }

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

        &.disable {
            color: #e6e6e6;
        }
    }

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

    .btn-wrap {
        position: relative;
        height: 120px;
        border-top: 1px solid #e6e6e6;
        padding: 20px;
        text-align: center;
        background: #fff;
        box-sizing: border-box;

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

    .tickets-info {

        span.left-num {
            color: #e10;
        }
    }

}