_order-block.css 7.11 KB
.me-orders {
    font-size: 12px;

    .right {
        float: right;
    }

    .order-table-header {

        .info {
            width: 330px;
            text-align: left;
            padding-left: 10px;
        }

        .price {
            width: 75px;
        }

        .count {
            width: 60px;
        }

        .pay, .order-status, .operation {
            width: 100px;
        }
    }

    .order-title {
        height: 28px;
        line-height: 28px;
        background: #efefef;
        padding: 0 5px;
        border-bottom: 1px solid #e6e6e6;
    }

    .order {
        margin: 10px;
        border: 1px solid #e6e6e6;
        border-radius: 2px;

        .order-wrap {
            position: relative;
            display: table;
            text-align: center;

            > * {
                display: table-cell;
                vertical-align: middle;
            }
        }

        li {
            display: table;
            border-top: 1px solid #e6e6e6;

            &:first-child {
                border-top: none;
            }

            > div {
                display: table-cell;
                color: #666;
                text-align: center;
                vertical-align: middle;
            }
        }

        .thumb-wrap {
            position: relative;
        }

        .thumb {
            width: 60px;
            height: 60px;
        }

        .info {
            position: relative;
            width: 320px;
            text-align: left;
            padding: 10px 0 10px 10px;

            > * {
                float: left;
            }

            .color-size {
                color: #999;
            }

            .arrival-date {
                color: #e8044f;
                margin-left: 2px;
            }
        }

        .text-info {
            position: absolute;
            padding: 5px;
            bottom: 10px;
            left: 72px;

            > * {
                display: block;
                line-height: 18px;
            }
        }

        .name {
            color: #468fa2;
            max-width: 245px;

            @mixin ellipsis;
        }

        .had-refund {
            color: #e8044f;
        }

        .price {
            width: 80px;
            padding: 5px;
            font-weight: bold;

            &.free-price em {
                text-decoration: line-through;
            }

            .free-icon {
                display: block;
                width: 37px;
                height: 18px;
                line-height: 18px;
                font-size: 12px;
                text-align: center;
                color: #80bb45;
                background: #e7fbc0;
                margin: 5px auto;
                border: 1px solid #80bb45;
                border-radius: 3px;
            }
        }

        .count {
            width: 50px;
        }

        .pay, .order-status, .operation {
            width: 90px;
            border-left: 1px solid #e6e6e6;
            padding: 5px;
        }

        .pay {
            font-weight: bold;
        }

        .pay-tip {
            font-weight: normal;
            display: block;
            line-height: 18px;
            color: #999;
        }

        .op-item {
            display: block;
            color: #468fa2;
            line-height: 18px;
        }

        .no-pay, .paid {
            color: #e8044f;
        }

        .order-status span {
            line-height: 18px;
            color: #999;
        }

        .order-status .cancel {
            color: #e8044f;
        }

        .check-logistics {
            display: block;
            cursor: pointer;
            color: #468fa2;
        }

        .cancel {
            color: #e8044f;
        }

        .logistics {
            position: absolute;
            padding: 20px 12px;
            color: #ff8341;
            border: 1px solid #c9c9c9;
            background: #fff;
            right: 185px;
            margin-top: -40px;

            li {
                line-height: 18px;
                white-space: nowrap;
            }

            .close-logistics {
                position: absolute;
                top: 0;
                right: 0;
                color: #c9c9c9;
                cursor: pointer;
            }

            .right-triangle {
                position: absolute;
                width: 0;
                height: 0;
                right: -6px;
                top: 24px;

                &.top {
                    margin-top: 1px;
                    border-top: 5px solid transparent;
                    border-bottom: 5px solid transparent;
                    border-left: 6px solid #FFF;
                }

                &.bottom {
                    margin-right: -1px;
                    border-top: 6px solid transparent;
                    border-bottom: 6px solid transparent;
                    border-left: 7px solid #c9c9c9;
                }
            }
        }

        .operation > * {
            cursor: pointer;
        }

        .operation .pay-now {
            display: block;
            color: #fff;
            background: #de034a;
            height: 20px;
            line-height: 20px;
            text-align: center;
            margin: 0 auto;
            border-radius: 4px;
            width: 68px;
        }
    }
}

.me-history-orders {
    .order-table-header .info,
    .order .info {
        width: 520px;
    }

    .order .info {
        text-align: center;
    }

    .order-table-header .order-sum,
    .order .order-sum {
        width: 90px;
        text-align: left;
    }

    .order li {
        border: none;
    }
}

.cancel-dialog {
    header {
        font-size: 14px;
        padding-bottom: 10px;
        border-bottom: 1px dotted #a7a7a7;
        color: #000;
        text-align: left;
    }

    ul {
        text-align: left;
        padding: 10px 0 0 25px;

        li {
            height: 28px;
            line-height: 28px;
            font-size: 12px;
        }

        label {
            padding-left: 10px;
        }

        input[type="text"] {
            margin-left: 10px;
            height: 24px;
            text-indent: 5px;
        }
    }

    .cancel-tip {
        margin-top: 20px;
        color: #d60248;
        font-size: 12px;
        padding-left: 30px;
        text-align: left;
    }

    .btns {
        padding: 15px 30px;
        text-align: left;

        .btn {
            height: 35px;
            font-size: 12px;
            line-height: 35px;
        }

        .cancel-sure {
            width: 130px;
            border-radius: 3px;
            color: #fff;
            background: #d60248;
            border: none;
        }

        .cancel-no {
            background: #eaeaea;
            border-radius: 3px;
            color: #999;
            border-color: #ebebeb;
            width: 66px;
        }
    }
}