_order-detail.scss 2.22 KB
.order-detail-page {
    background: #f0f0f0;

    .block {
        position: relative;
        background: #fff;
        padding: 20rem / $pxConvertRem 30rem / $pxConvertRem;

        .iconfont {
            position: absolute;
            left: 30rem / $pxConvertRem;
            top: 50%;
            font-size: 40rem / $pxConvertRem;
            margin-top: -30rem / $pxConvertRem;
        }
    }

    .owner-info {
        border-bottom: 1px solid #e0e0e0;
        line-height: 1.5;
    }

    .beside-icon {
        margin-left: 60rem / $pxConvertRem;
    }

    .name-phone {
        font-size: 30rem / $pxConvertRem;

        span {
            float: right;
        }
    }

    .address {
        font-size: 24rem / $pxConvertRem;
        margin-top: 10rem / $pxConvertRem;
    }

    .order-status {
        margin: 20rem / $pxConvertRem 0;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
    }

    .sub-content span {
        display: block;
        color: #b0b0b0;
        font-size: 24rem / $pxConvertRem;
    }

    .sub-content .sub-title {
        display: block;
        color: #000;
        font-size: 26rem / $pxConvertRem;
    }

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

    .cost {
        margin-bottom: 100rem / $pxConvertRem; /*排除被固定底部遮挡的影响*/

        li {
            font-size: 28rem / $pxConvertRem;

            span {
                float: right;
            }

            &:last-child span {
                color: #f00;
            }
        }
    }

    .opt {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: right;
        border-top: 1px solid #e0e0e0;
    }

    .btn {
        display: inline-block;
        box-sizing: border-box;
        width: 140rem / $pxConvertRem;
        height: 60rem / $pxConvertRem;
        line-height: 60rem / $pxConvertRem;
        @include border-radius(5px);
        font-size: 26rem / $pxConvertRem;
        text-align: center;
    }

    .btn-del {
        border: 1px solid #000;
    }

    .btn-service {
        color: #f00;
        border-color: #f00;
    }
}