_order-ensure.scss 5.28 KB
.order-ensure-page {
    background: #f0f0f0;

    .block {
        background: #fff;
        margin: 20rem / $pxConvertRem 0;
        padding: 30rem / $pxConvertRem 20rem / $pxConvertRem;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
    }

    .title {
        font-size: 26rem / $pxConvertRem;
        font-weight: bold;
    }

    .address-wrap {
        display: block;
        position: relative;
        margin-top: 0;
        border-top: none;

        > .iconfont {
            position: absolute;
            color: #bcbcbc;
            right: 20rem / $pxConvertRem;
            top: 50%;
            margin-top: -8px;
        }

        .infos {
            font-weight: bold;
            font-size: 24rem / $pxConvertRem;
            padding-right: 55rem / $pxConvertRem;
        }

        .per-info {
            float: right;
        }

        .address {
            display: block;
            margin-top: 20rem / $pxConvertRem;
            color: #bcbcbc;
            font-weight: normal;
        }
    }

    .dispatch .title {
        margin-bottom: 10rem / $pxConvertRem;
    }

    .dispatch .sub-block:first-child {
        border-bottom: 1px solid #f7f7f7;
        margin-bottom: 15rem / $pxConvertRem;
    }

    .dispatch-mode li,
    .dispatch-time li {
        float: left;
        padding: 10rem / $pxConvertRem 20rem / $pxConvertRem;
        margin-right: 15rem / $pxConvertRem;
        margin-bottom: 15rem / $pxConvertRem;
        border: 1px solid #c9c9c9;
        color: #676767;
        font-size: 26rem / $pxConvertRem;

        &.chosed {
            border-color: #000;
            background: image-url('shopping-cart/black-right.png') no-repeat;
            background-size: 30rem / $pxConvertRem;
            background-position: bottom right;
        }
    }

    .goods {
        margin-right: -20rem / $pxConvertRem;
    }

    .sale-invoice {
        margin-top: -20rem / $pxConvertRem;
        font-size: 24rem / $pxConvertRem;

        li {
            height: 90rem / $pxConvertRem;
            line-height: 90rem / $pxConvertRem;
            border-bottom: 1px solid #f7f7f7;
            overflow: hidden;

            a {
                display: block;
            }
        }

        .coupon-count {
            padding: 5rem / $pxConvertRem 15rem / $pxConvertRem;
            background: #f00;
            color: #fff;
            @include border-radius(10px);
            margin-left: 20rem / $pxConvertRem;
        }

        .coupon-use,
        .coin-check {
            float: right;
            color: #999;

            &.used {
                color: #f00;
            }

            .iconfont {
                color: #999;
            }
        }

        .coin-check {
            float: right;
            color: #999;

            .checkbox {
                margin-left: 5rem / $pxConvertRem;
                color: #000;
            }

            em {
                color: #f00;
            }

        }

        .checkbox.icon-checkbox {
            color: #ccc;
        }

        .invoice {
            .checkbox {
                float: right;
            }

            &.focus {
                height: auto;
            }
        }

        .desc {
            color: #999;
        }
    }

    #invoice {
        input {
            width: 100%;
            height: pxToRem(90px);
            outline: 0;
            border: 0;
            border-top: 1px solid #f7f7f7;
            border-bottom: 1px solid #f7f7f7;
        }

        label {
            position: relative;
            width: 100%;
            height: pxToRem(90px);
            border-bottom: 1px solid #f7f7f7;
        }

        select {
            position: relative;
            float: right;
            width: 40%;
            height: pxToRem(50px);
            top: pxToRem(20px);
            border: 1px solid #f7f7f7;
        }
    }

    #msg {
        padding-top: pxToRem(20px);
        input {
            padding: pxToRem(10px);
            width: pxToRem(580px);
            height: pxToRem(50px);
            outline: 0;
            border: 0;
            border: 1px solid #f7f7f7;
            border-radius: pxToRem(4px);
        }

    }

    .total {
        font-size: 22rem / $pxConvertRem;
        margin-top: 20rem / $pxConvertRem;

        span {
            display: inline-block;
            width: 130rem / $pxConvertRem;
        }
    }

    .price-cal {
        font-family: monospace;
    }

    .cost {
        border-top: 1px solid #f7f7f7;
        line-height: 100rem / $pxConvertRem;
        margin-top: 10rem / $pxConvertRem;
        font-size: 34rem / $pxConvertRem;

        em {
            color: #f00;
        }
    }

    .pay-mode {
        background: #fff;
        padding: 0 20rem / $pxConvertRem;
        margin-top: -22rem / $pxConvertRem;

        li {
            height: 88rem / $pxConvertRem;
            line-height: 88rem / $pxConvertRem;
            margin-bottom: 28rem / $pxConvertRem;
            @include border-radius(5px);
            font-size: 32rem / $pxConvertRem;
            color: #fff;
            text-align: center;
            background: #000;
        }

        .default {
            background: #57b038;
        }

        .iconfont {
            margin-right: 20rem / $pxConvertRem;
            font-size: 32rem / $pxConvertRem;
        }
    }
}