_save.scss 6.26 KB
.order-save-page {
    width: 990px;
    margin: 40px auto;

    // 填写订单
    .order-edit {
        width: 100%;
        position: relative;

        &:before {
            content: '';
            display: block;
            background: sprite($order, cart_logo) no-repeat;
            width: image-width(sprite-file($order, cart_logo));
            height: image-height(sprite-file($order, cart_logo));
        }

        .order-title {
            ul {
                display: block;
                background: sprite($order, cartnew_flow) no-repeat;
                width: image-width(sprite-file($order, cartnew_flow));
                height: image-height(sprite-file($order, cartnew_flow));
                position: absolute;
                right: 0;
                top: 0;

                li {
                    display: block;
                    width: 33.33333333%;
                    float: left;
                    font-size: 12px;
                    color: #999;
                    height: 50px;
                    line-height: 50px;

                    &.active {
                        color: #333;
                        text-align: center;
                        &:after {
                            display: block;
                            content: '';
                            background: sprite($order, cart_flow_black) no-repeat;
                            width: image-width(sprite-file($order, cart_flow_black));
                            height: image-height(sprite-file($order, cart_flow_black));
                            position: absolute;
                            left: 50%;
                            margin-left: image-width(sprite-file($order, cart_flow_black))/(-2);
                            top: 0;
                        }
                    }
                    &.end {
                        text-align: right;
                    }
                }
            }
        }

        .order-edit-main {
            border: 1px solid #ccc;
            margin-top: 30px;

            h2.title {
                height: 30px;
                line-height: 30px;
                background: #000000;
                color: #fff;
                font-size: 12px;
                text-indent: 15px;
            }

            .order-content {
                padding: 20px 30px;
                font-size: 12px;
                color: #333;


                //public
                .order-selection {

                    border-top: 1px dashed #ccc;
                    padding-top: 30px;

                    &.address-list {
                        border-top: none;
                        padding-top: 0;
                    }

                    h2 {
                        font-size: 14px;
                        color: #000;

                        span {
                            color: #e8044f;
                            text-decoration: underline;
                            cursor: pointer;
                        }
                    }

                }
                //end

                .address-list {
                    ul {
                        padding: 15px 0;

                        li {
                            margin: 10px 0;

                            strong {
                                font-weight: bold;
                                margin-right: 15px;
                            }

                            input.radio {
                                margin: 0;
                                vertical-align: middle;
                            }

                        }
                        .order-modify-btn {
                            display: inline-block;
                            float: right;
                            color: #e8044f;

                            span {
                                text-decoration: underline;
                                margin: 0 10px;
                                cursor: pointer;
                            }
                        }
                    }
                }

                .address-manage {

                    li {

                        margin-bottom: 15px;

                        .address-legend {
                            width: 80px;
                            text-align: right;
                            display: inline-block;
                            height: 30px;
                            line-height: 30px;
                            color: #333;

                            i {
                                color: #e8044f;
                            }
                        }

                        .text-input {
                            height: 25px;
                            line-height: 25px;
                        }
                    }
                }

                .save-btn {
                    background: sprite($order, btn_sb) no-repeat;
                    width: image-width(sprite-file($order, btn_sb));
                    height: image-height(sprite-file($order, btn_sb));
                    line-height: image-height(sprite-file($order, btn_sb));
                    display: block;
                    font-size: 14px;
                    color: #fff;
                    font-weight: bold;
                    text-indent: 25px;
                    cursor: pointer;
                    margin-bottom: 30px;
                }

                .pay-time {

                    ul {
                        padding: 15px;

                        li {
                            margin: 10px 0;
                        }
                    }
                }

                .select-express {

                    .express-list {
                        padding-left: 15px;
                        margin: 10px 0;

                        input.radio {
                            margin: 0;
                            vertical-align: middle;
                        }
                    }

                    .express-tips {
                        color: #999;
                    }
                }

            }
        }
    }

    //
    .order-pay {
        width: 100%;
    }
}