order.scss 4.5 KB
.installment-order-page {
    background: #f0f0f0;
    font-weight: 300;
    position: relative;

    .all-completed {
        text-align: center;
        bottom: 0;
        position: fixed;
        height: 114px;
        font-size: 34px;
        line-height: 114px;
        background: #fff;
        width: 100%;
        border-top: 1px solid #e1e1e1;
    }

    .refunded-list {
        margin-top: 64px;
    }

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

    .refund-text {
        background: #707070;
        color: white;
        padding: 17px 35px;
    }

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

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

            a {
                color: #b1b1b1;
            }

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

    .order-list-container {
        padding-top: 120px;
    }

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

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

        a {
            float: left;
            width: 100%;
        }
    }

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

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

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

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

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

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

    .status {
        font-size: 24px;
        margin-top: 10px;

        &.faded {
            color: #b1b1b1;
        }
    }

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

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

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

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

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

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

    .detail-list-container {
        padding-top: 310px;
        overflow-y: scroll;
        padding-bottom: 120px;
    }

    .installment-list {
        border-top: 1px solid #e0e0e0;
        min-height: 700px;

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

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

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

        .amount {
            font-size: 30px;
            margin-left: 45px;
        }

        .fee {
            margin-top: 4px;
            margin-left: 35px;
            font-size: 20px;
        }

        .status {
            position: absolute;
            top: 15px;
            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: -36px;
        }
    }
}