_status.css 7.44 KB
.status {
    background: #f6f6f6;
    padding-bottom: 130px;

    > div {
        padding: 0 30px;
        background: #fff;
    }

    .status-desc {
        display: flex;
        height: 80px;
        line-height: 80px;
        color: white;
        background: black;

        p:first-of-type {
            flex: 1;
            font-size: 34px;
        }
    }

    .exchange-progress {
        border-bottom: 1px solid #eee;

        li {
            position: relative;
            padding-left: 55px;

            .progress-desc {
                padding: 30px 0;
                border-bottom: 1px solid #eee;
                color: #b0b0b0;
            }

            &:before {
                content: "";
                position: absolute;
                left: 0;
                top: 50%;
                width: 17px;
                height: 17px;
                margin-top: -8px;
                background: #b0b0b0;
                border-radius: 50%;
                z-index: 1;
            }

            &:after {
                content: "";
                position: absolute;
                left: 8px;
                top: 0;
                width: 1px;
                height: 100%;
                background: #eee;
            }

            &.passed {
                .progress-desc {
                    color: #000;
                }

                &:before {
                    background: #000;
                }
            }

            p:first-of-type {
                flex: 1;
                font-size: 34px;
            }

            time {
                color: #b0b0b0;
            }
        }

        .progress-todo {
            padding: 25px 0;
            text-align: center;

            p:first-of-type {
                font-size: 34px;

                b {
                    color: #4a90e2;
                }
            }

            .phone {
                color: #b0b0b0;
            }
        }

        .logistics-detail {
            padding: 25px 0;

            h2 {
                height: 60px;
                font-size: 32px;
                line-height: 60px;
            }

            p {
                display: inline-block;
                height: 50px;
                line-height: 35px;
                font-size: 28px;
                color: #b0b0b0;
            }

            .right {
                float: right;
                color: #b0b0b0;
                font-size: 34px;
            }
        }

        .logistics {
            background: #000;
            text-align: center;
            font-size: 28px;
            line-height: 100px;

            a {
                display: block;
                color: #fff;
            }
        }
    }

    .exchange-details {
        margin-top: 20px;
        border-top: 1px solid #eee;

        h2 {
            height: 88px;
            font-size: 32px;
            line-height: 88px;

            i {
                display: inline-block;
                font-size: 16px;
                font-style: normal;
                font-weight: normal;
                color: #b0b0b0;
            }
        }
    }

    .exchange-product {
        border-bottom: 1px solid #eee;

        .goods-info {
            display: flex;
            padding: 20px 0;
            border-bottom: 1px solid #eee;

            &:last-child {
                border-bottom: 0 none;
            }
        }

        .img-box {
            position: relative;
            width: 98px;
            height: 130px;
            overflow: hidden;

            label {
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                height: 30px;
                line-height: 30px;
                background: rgba(0, 0, 0, 0.2);
                color: white;
                text-align: center;
            }

            img {
                width: 100%;
                height: 100%;
            }
        }

        .goods-detail {
            flex: 1;
            margin: 0 20px;
            font-size: 24px;

            span {
                margin-right: 40px;
            }

            .name {
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                text-overflow: ellipsis;
                height: 2.4em;
                line-height: 1.25;
                overflow: hidden;
                font-size: 28px;
            }

            .size {
                color: #b0b0b0;
            }
        }

        .goods-price {
            text-align: right;

            p:first-of-type {
                font-size: 28px;
            }

            p:last-of-type {
                font-size: 30px;
                color: #b0b0b0;
            }
        }
    }

    .exchange-reason {
        padding: 20px 0;
        font-size: 28px;

        blockquote {
            margin-top: 20px;
            color: #b0b0b0;
        }
    }

    .exchange-img {
        display: flex;
        overflow-x: auto;
        height: 160px;
        margin-top: 25px;
        margin-bottom: 10px;

        li {
            width: 154px;
            height: 154px;
            margin-right: 25px;

            img {
                width: 154px;
                height: 154px;
            }
        }
    }

    .exchange-address {
        position: relative;
        padding-top: 20px;
        margin-bottom: 20px;
        word-wrap: break-word;

        p:first-of-type {
            font-size: 32px;
            font-weight: 700;

            span {
                margin-right: 40px;
            }
        }

        p:last-of-type {
            font-size: 28px;
            color: #b0b0b0;
        }
    }

    .exchange-express {
        margin-top: 20px;
    }

    .exchange-order,
    .exchange-type {
        position: relative;
        margin-top: 20px;
        line-height: 88px;
        font-size: 34px;
        border-top: 1px solid #eee;

        .amount-modeinfo {
            span {
                margin-left: 70px;
            }
        }

        .amount-info {
            color: #b0b0b0;
            background: #f6f6f6;
            display: block;
            font-size: 26px;
            margin: 0 -30px;
            padding-left: 30px;
            height: 44px;
            line-height: 44px;
        }

        .primary {
            display: block;
            border-bottom: 1px solid #eee;

            .right {
                float: right;
                color: #b0b0b0;
            }
        }
    }

    .exchange-options {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        padding: 30px 20px;
        border-top: 1px solid #eee;
        text-align: right;
        background: #fff;

        button {
            padding: 0 20px;
            height: 68px;
            line-height: 68px;
            color: black;
            text-align: center;
            -webkit-appearance: none;
            border: 1px solid #444;
            background: white;
            font-size: 28px;

            &.black {
                width: 192px;
                color: white;
                background: black;
            }

            &.countdown {
                color: white;
                background: black;
            }

            &.normal {
                width: 188px;
                padding: 0;
                border: 1px solid black;
                color: black;
            }

            &:focus {
                outline: none;
            }
        }
    }
}