%globalStyle {
    padding: 20rpx 15rpx;
    border-bottom: 1rpx solid #e7e7e7;
    background-color: #fff;
    font-size: 30rpx;
}

%flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-return {
    position: fixed;
    top: calc(var(--status-bar-height) + 10rpx);
    left: 25rpx;
    background-color: rgba($color: #ffffff, $alpha: 0.7);
    border-radius: 5rpx;
}

// 品牌
.brandStatus {
    @extend %globalStyle;
    @extend %flex;
    background-color: #f1f3e9;

    .left {
        @extend %flex;

        .index-0 {
            color: $jx-primary  !important;
        }

        .index-5 {
            color: $jx-primary  !important;
        }

        .index-1 {
            color: #000000 !important;
        }

        .index-2 {
            color: #008de1 !important;
        }

        .index-3 {
            color: #008de1 !important;
        }

        .index-9 {
            color: $jx-primary  !important;
        }

        .index-11 {
            color: #0065fa !important;
        }

        .h-number {
            font-size: 28rpx;
            display: flex;
            align-items: center;

            .brand {
                display: inline-block;
                width: 40rpx;
                height: 40rpx;
                flex-shrink: 0;
                background-size: 100%;
                border-radius: 15rpx;
                background-repeat: no-repeat;
            }

            .num-root {
                font-size: 24rpx;
                margin-left: 10rpx;
            }

            .num {
                font-size: 38rpx;
                font-weight: bold;
            }
        }

        .type {
            display: inline-block;
            color: white;
            background: $jx-primary;
            border-radius: 8rpx;
            width: 120rpx;
            height: 48rpx;
            line-height: 48rpx;
            text-align: center;
            font-size: 26rpx;
            margin-left: 15rpx
        }

        .type-active {
            background-color: $jx-warring  !important;
            animation: enlarge 1.5s linear infinite;
        }

        @keyframes enlarge {
            0% {
                transform: scale(0.9);
            }

            50% {
                transform: scale(1.1);
            }

            100% {
                transform: scale(0.9);
            }
        }
    }


    .right {
        @extend %flex;

        .btn-print {
            display: inline-block;
            margin-right: 15rpx;
            width: 50rpx;
            height: 50rpx;
            background: url(https://image.jxc4.com/image/dcd4683420297286a61bc6fb2fbe56d7.png) center center no-repeat;
            background-size: 100%;
            z-index: 100;
        }

        .order-status {
            color: $jx-primary;
            background-color: rgba($color: #000000, $alpha: 0)
        }
    }
}

// 订单编号
.order-number {
    @extend %globalStyle;
    @extend %flex;

    .cancel {
        padding: 7rpx 15rpx;
        background: rgba(78, 179, 49, 0.3);
        border: 2rpx solid rgba(78, 179, 49, 0.3);
        font-size: 24rpx;
        color: $jx-primary;
        border-radius: 6rpx;
        text-align: center;
    }

    .order-num {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

// 下单时间
.create-order-timer {
    display: flex;
    position: relative;
    @extend %globalStyle;

    image {
        position: absolute;
        right: 15rpx;
        width: 60rpx;
        height: 60rpx;
        top: 5rpx;
    }
}

// 预计送达
.estimate-service {
    @extend %globalStyle;
}

.dsd-expectTime {
    color: $jx-warring  !important;
    font-weight: bold
}

// 订单状态
.order-status {
    @extend %globalStyle;
    color: $jx-warring;
}

// 条形码
.barcode {
    @extend %globalStyle;
    text-align: center;

    image {
        width: 600rpx;
        height: 200rpx;
    }
}

// 用户信息
.user-name {
    @extend %globalStyle;
    @extend %flex;

    .see-map {
        padding: 7rpx 15rpx;
        background: rgba(78, 179, 49, 0.3);
        border: 2rpx solid rgba(78, 179, 49, 0.3);
        font-size: 24rpx;
        color: $jx-primary;
        border-radius: 6rpx;
        text-align: center;
    } 

    .mobile {
        color: $jx-primary
    }

    .auxiliary {
        color: #969696;
    }

    .connectUser{
        width: 38rpx;
        height: 38rpx;
    }
}

.user-name-self {
    color: #ff0000;
    font-weight: bold;
    justify-content: center;
}


// 备注
.remarks {
    color: $jx-primary;
    font-weight: bold;
    font-size: 38rpx;
}

.address {
    background-color: #f7f7f7;
    border: none !important;
}

// 地址分割
.divider {
    width: 750rpx;
    height: 5rpx;
    background: white url('../../../static/image/global/order-divider.png') 0 0 no-repeat;
    background-size: 100%;
}

// 物流
.logistics {
    margin-top: 25rpx;

    .waybill {
        @extend %globalStyle;
        @extend %flex;

        .auxiliary {
            color: #969696;
        }
    }

    .waybiller {
        @extend %globalStyle;
        font-size: 32rpx;
        display: flex;
        align-items: center;

        .brand {
            display: inline-block;
            width: 40rpx;
            height: 40rpx;
            flex-shrink: 0;
            background-size: 100%;
            background-repeat: no-repeat;
            border-radius: 15rpx;
        }

        .courierName {
            margin-right: 20rpx;
            margin-left: 20rpx;
        }

        .courierMobile {
            color: $jx-primary;
        }
    }

}


// 运单状态
.waybill-status-root {
    @extend %globalStyle;

    .waybill-status {
        color: #666666;
        height: 60rpx;
        line-height: 60rpx;

        .timer {
            position: relative;
            display: inline-block;
            width: 210rpx;
        }

        .timer::after {
            position: absolute;
            content: "";
            width: 20rpx;
            height: 20rpx;
            background-color: #d2d2d2;
            border-radius: 50%;
            right: -10rpx;
            top: 25rpx;

        }

        .timer::before {
            position: absolute;
            content: "";
            right: -1rpx;
            height: 60rpx;
            width: 2rpx;
            background-color: #d2d2d2;

        }

        .timer1::before {
            position: absolute;
            content: "";
            right: -1rpx;
            bottom: 0;
            height: 30rpx !important;
            width: 2rpx;
            background-color: #d2d2d2 !important;
        }

        .statues {
            display: inline-block;
            padding-left: 40rpx
        }
    }

    .waybill-status-active {
        color: $jx-primary;
        font-weight: bold;

        .timer::after {
            position: absolute;
            content: "";
            width: 20rpx;
            height: 20rpx;
            background-color: $jx-primary;
            border-radius: 50%;
            right: -10rpx;
            top: 25rpx;

        }
    }
}


// 售后单
.afsOrder {
    @extend %globalStyle;

    .order-num {
        color: $jx-primary;
        text-decoration: underline;

    }
}

// 商品列表
.goods-list {
    @extend %globalStyle;
    @extend %flex;
    margin-top: 25rpx;

    .left {
        display: flex;

        .goods-num {
            margin-left: 20rpx;
            color: #969696;
        }
    }

    .to-adjustpage {
        padding: 8rpx 15rpx;
        background: rgba(78, 179, 49, 0.3);
        border: 2rpx solid rgba(78, 179, 49, 0.3);
        color: $jx-primary;
        border: 2rpx solid rgba(78, 179, 49, 0.3);
        border-radius: 6rpx;
    }
}

// 拣货完成
.finish-pick {
    background-color: $jx-primary;
    text-align: center;
    padding: 40rpx;
    color: #fff;
    font-weight: bold;
    border-top: 2rpx solid #fff;
}

.finish-pick-fail {
    background-image: linear-gradient(135deg, #ff6a20, #ec903f);
    text-align: center;
    padding: 20rpx;
    color: #fff;
    font-weight: bold;
}

.elemIDSuf {
    color: #008DE1;
    font-weight: bold;
}


.icon {
    width: 48rpx;
    height: 48rpx;
}

.icon-dd {
    background: url(https://image.jxc4.com/image/0e1077eb63d075a39a813aaacd0fbe7d.png) 0 0 no-repeat;
    background-size: 100%;
}

.icon-fn {
    background: url(https://image.jxc4.com/image/a432bb1ae686329faafb1e027aa3fe43.png) 0 0 no-repeat;
    background-size: 100%;
}

.icon-mt {
    background: url(https://image.jxc4.com/image/ef68485f57c874b192f18aaf243f9277.png) 0 0 no-repeat;
    background-size: 100%;
}

.tip {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fbcf53;
    color: #fff;
}

.map {
    width: 100%;
    height: 10vh;
    background-color: transparent;
}

.store-name {
    background-color: #f73d7a;
    border: 2rpx solid #fff;
    color: #fff;
    width: 200rpx;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 5rpx;
}

.no-status {
    color: $jx-primary;
    font-weight: bold;
}