_order.css 3.74 KB
.installment-order-page {
    background: #f0f0f0;

    .order-info {
        position: fixed;
        width: 100%;
        top: 0;
    }

    .header-tab {
        text-align: center;
        height: 90px;
        border-bottom: 1px solid #e1e1e1;
        background: #fff;
        position: fixed;
        width: 100%;
        top: 0;

        li {
            display: inline-block;
            min-width: 120px;
            height: 90px;
            line-height: 90px;

            a {
                color: #b1b1b1;
            }

            &.active {
                a {
                    color: #444;
                }
            }
        }
    }

    .order-list-container {
        padding-top: 3rem;
    }

    .order-list {
        border-top: 1px solid #e1e1e1;
        background: #fff;

        li {
            padding: 20px 30px;
            height: 160px;
            border-bottom: 1px solid #e1e1e1;
        }
    }

    .image-box,
    .title-box,
    .date-box {
        float: left;
    }

    .title-box {
        margin-left: 22px;
        width: 320px;

        .product-name {
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
    }

    .date-box {
        margin-top: 20px;
        color: #b1b1b1;
        font-size: 24px;
    }

    img {
        width: 90px;
        height: 120px;
    }

    .right-box {
        float: right;
        font-size: 27px;
        text-align: right;
    }

    .status {
        &.faded {
            color: #b1b1b1;
        }
    }

    .order-detail {
        padding: 30px;
        height: 162px;
        border-bottom: 1px solid #e0e0e0;
        background: #fff;

        .info-box {
            margin-left: 22px;
            float: left;
            width: 372px;
        }

        h3 {
            width: 100%;
            float: left;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            font-size: 20px;
            line-height: 30px;
            color: #444;
        }

        h4 {
            width: 100%;
            float: left;
            font-size: 20px;
            line-height: 30px;
            color: #444;
        }
    }

    .installment-box {
        text-align: center;
        float: left;
        width: 33.3%;
        font-size: 22px;
    }

    .installment-summary {
        background: #fff;
        padding: 30px 0;
        border-bottom: 1px solid #e0e0e0;
        height: 120px;
    }

    .detail-list-container {
        padding-top: 330px;
    }

    .installment-list {
        border-top: 1px solid #e0e0e0;
        overflow: scroll;

        li {
            padding: 30px 0 30px 45px;
            border-bottom: 1px solid #e0e0e0;
            height: 120px;
            background: #fff;
            position: relative;
        }

        .detail-index {
            float: left;
            margin-top: 20px;
            margin-right: 20px;
        }

        .detail-box {
            float: left;
            margin-left: 30px;
        }

        .amount {
            font-size: 24px;
            margin-left: 20px;
        }

        .fee {
            margin-top: 18px;
            font-size: 20px;
        }

        .status {
            position: absolute;
            top: 35px;
            right: 30px;

            .iconfont {
                display: none;
            }

            &.faded {
                color: #b0b0b0;

            }

            &.expired {
                color: #d0021b;

                .iconfont {
                    display: inline-block;
                }
            }
        }

        .installment-check-btn + label:before {
            margin-top: 20px;
            margin-left: -28px;
        }
    }
}