.bargain-middle-page {
    background: $bg_f4f4f4;
    padding-bottom: 50px;

    .indicator {
        color: $color_FE2F2F;
    }

    .price {
        color: $redprice;
    }

    .discount-price {
        color: $redprice;
        font-size: $font_16;
        margin-right: 14px;
    }

    .original-price {
        color: $color_999;
        font-size: $font_12;
        text-decoration: line-through;
    }


    & > .top {
        width: 100%;
        padding: 10px;
        background: $bg_FE2F2F;
        margin-bottom: 18px;

        .purchase-btn {
            position: absolute;
            right: 0;
            bottom: 2px;
            height: 22px;
            padding: 3px 4px;
            color: $white;
            font-size: $font_12;
            border: none;
            border-radius: 11px;
            background: $bg_ff3131;
            -webkit-appearance: none;
        }


        .bargain-area {
            width: 355px;
            height: 247px;
            background: $white;
            border-radius: 3px;
            margin-bottom: 10px;

            .des {
                display: flex;
                flex-flow: column;
                justify-content: space-between;
            }

            .v-list-item {
                padding-right: 7px;
                margin-bottom: 7px;
                margin-top: 0;

                .cover {
                    margin-right: 10px;
                }

                .content {
                    border-bottom: 1px solid $border_e7eaf1;
                }
            }

            .course-title {
                font-size: $font_14;
            }

            .price-bar {
                position: relative;
            }

            .bargain-detail {
                display: flex;
                flex-flow: column;
                padding: 0 10px;

                .top {
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 7px;

                    & > div:nth-child(1) {
                        font-size: $font_16;
                    }
                }

                .reduced-price {
                    color: $redprice;
                }

                .time {
                    display: inline-block;
                    width: 20px;
                    height: 18px;
                    background: $bg_666;
                    border-radius: 2px;
                    text-align: center;
                    line-height: 18px;
                    font-size: $font_12;
                    color: $white;
                }

                .sec {
                    margin-right: 6px;
                }

                .inactive {
                    color: $color_999;
                }

                .middle {
                    position: relative;
                    width: 335px;
                    height: 8px;
                    background: $bg_E7E7E7;
                    border-radius: 4px;
                    overflow: hidden;
                    margin-bottom: 7px;

                    span {
                        position: absolute;
                        left: 0;
                        top: 0;
                        display: inline-block;
                        height: 100%;
                        width: 10%;
                        background: $bg_FADD29;
                    }
                }

                .bottom {
                    font-size: $font_14;
                    margin-bottom: 7px;
                }

                .button {
                    display: flex;
                    justify-content: center;
                }

                button {
                    width: 210px;
                    height: 30px;
                    box-shadow: 0px 1px 3px 0px rgba(255, 64, 0, 0.5);
                    background: $bg_FADD29;
                    border-radius: 15px;
                    border: none;
                    color: $bg_ff3131;
                    -webkit-appearance: none;
                }

                .invalid-btn{
                    background: $bg_999;
                    color: $white;
                    box-shadow: none;
                }
            }
        }

    }

    .bargain-records {
        width: 355px;
        height: 236px;
        background: #FFF9EC;
        border-radius: 3px;

        .title {
            height: 44px;
            line-height: 44px;
            font-size: $font_16;
            border-bottom: $sp_ddd;
            text-align: center;
            border-bottom: 1px solid $border_ddd;
        }

        ul {
            padding: 0 10px;

            li {
                display: flex;
                align-items: center;
                justify-content: space-between;
                height: 50px;
                border-bottom: 1px solid $border_ddd;

                .left, .right {
                    display: flex;
                    align-items: center;
                }

                img {
                    width: 30px;
                    height: 30px;
                    border-radius: 50%;
                    margin-right: 11px;
                }

                .nickname {
                    margin-right: 10px;
                    font-size: $font_14;
                }

                .rank-tag {
                    padding: 2px 5px;
                    background: $bg_FE2F2F;
                    color: $white;
                    font-size: $font_12;
                    flex: 0 0 auto;
                }
            }
        }

        .more {
            color: $color_555;
            font-size: $font_14;
            text-align: center;
            line-height: 40px;
        }
    }

    .bargain-course-list {
        background: $white;
        padding: 15px;

        ul {
            display: flex;
            flex-wrap: wrap;

            li:nth-child(odd) {
                margin-right: 15px;
            }
        }

        .title-wrapper {
            text-align: center;

            .title {
                font-size: $font_16;
                margin-bottom: 10px;
            }

            .subtitle {
                font-size: $font_14;
                color: #FF4000;
            }
        }

        .course-title {
            margin-bottom: 20px;
        }

        .course-price {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .bargain {
            width: 165px;
            height: 30px;
            background: $bg_FADD29;
            border-radius: 2px;
            border: none;
            color: $color_FF4000;
            -webkit-appearance: none;
        }

        .btns {
            display: flex;
            justify-content: space-between;

            .bargain-btn {
                width: 80px;
                height: 30px;
                background: $bg_FADD29;
                border: none;
                color: $color_FF4000;
                -webkit-appearance: none;
            }

            .invalid {
                background: $bg_999;
                color: $white;
            }

            .purchase-btn {
                width: 80px;
                height: 30px;
                background: $color_FF4000;
                color: $white;
                border-radius: 2px;
                border: none;
                -webkit-appearance: none;
            }
        }
    }

    .more {
        font-size: $font_16;
        color: $color_555;
        text-align: center;
        line-height: 46px;
    }
}