.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; background: $white; border-radius: 3px; margin-bottom: 10px; padding-bottom: 20px; .bargain-tip { width: 100%; height: 45px; line-height: 45px; padding-left: 10px; border-bottom: 1px solid $sp_e7eaf1; color: $redprice; font-size: 14px; } .des { display: flex; flex-flow: column; justify-content: space-between; width: 100%; } .v-list-item { padding: 15px 7px 10px 10px; .cover { margin-right: 10px; img { width: 125px; height: 90px; } } .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%; background: $bg_FADD29; } } .bottom { font-size: $font_14; margin-bottom: 7px; } .button { display: flex; justify-content: center; margin-top: 10px; } .artifact-btn { float: right; position: relative; top: -20px; // width: 61px; height: 24px; padding: 0 10px; background: $bg_FF4000; border-radius: 12px; font-size: 12px; border: none; color: $white; } .active-btn { 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; font-size: 16px; } .invalid-btn { width: 210px; height: 30px; background: $bg_999; color: $white; font-size: 16px; box-shadow: none; border-radius: 15px; border: 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; } .avatar { width: 30px; height: 30px; border-radius: 50%; margin-right: 11px; } .nickname { margin-right: 10px; font-size: $font_14; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .rank-tag { padding: 2px 5px; background: $bg_FE2F2F; color: $white; font-size: $font_12; flex: 0 0 auto; border-radius: 2px; } } } .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: $color_FF4000; } } .course-title { margin-bottom: 10px; min-height: 38px; } .course-price { margin-bottom: 10px; } .bargain { width: 165px; height: 30px; background: $bg_FADD29; border-radius: 2px; border: none; color: $color_FF4000; -webkit-appearance: none; display: inline-block; text-align: center; line-height: 30px; } .button--study { color: $white; background: $bg_077FD0; } .btns { display: flex; justify-content: space-between; .bargain-btn { width: 80px; height: 30px; background: $bg_FADD29; text-align: center; line-height: 28px; border: none; color: $color_FF4000; -webkit-appearance: none; } .invalid { width: 80px; height: 30px; background: $bg_999; color: $white; border: none; -webkit-appearance: none; border-radius: 2px; } .purchase-btn { width: 80px; height: 30px; background: $color_FF4000; color: $white; border-radius: 2px; border: none; -webkit-appearance: none; } } } .preferential { display: inline-block; width: 100%; height: 46px; line-height: 46px; font-size: $font_16; color: $color_555; text-align: center; } .kanjia-icon { width: 20px; height: 20px; margin-right: 5px; vertical-align: middle; } } .bargain-public-number, .bargain-first, .bargain-second, .not-bargain { width: 300px; padding: 20px 0; background-color: $bg_fff; border-radius: 3px; text-align: center; margin: 200px auto 20px auto; position: relative; .ff4 { color: $color_FF4000; } .status-title { font-size: 16px; height: 16px; line-height: 16px; } .status-dec { font-size: 12px; color: $color_666; height: 12px; line-height: 12px; } .bargain-href { display: inline-block; width: 260px; height: 30px; line-height: 28px; background-color: $bg_FADD29; color: $color_FF4000; font-size: 16px; border: none; position: absolute; bottom: 20px; left: 20px; } .top-img { position: absolute; width: 135px; height: 67px; top: -67px; margin-left: -67px; } } .bargain-public-number { height: 185px; .avait { position: absolute; top: -20px; margin-left: -20px; width: 40px; height: 40px; border-radius: 50%; } .status-title { margin-top: 10px; } .status-dec { margin-top: 10px; } .public-number-img { width: 86px; height: 86px; margin-top: 15px; } } .bargain-first { height: 145px; .status-dec { margin-top: 15px; } } .bargain-second { height: 105px; } .not-bargain { height: 205px; padding: 15px 20px 20px 20px; .middle-img { width: 51px; height: 51px; } .status-title { height: 37px; line-height: 20px; font-size: 15px; margin-top: 10px; } .status-dec { margin-top: 15px; } } .artifact-box, .use-artifact-box { padding: 20px 0; background-color: $bg_fff; border-radius: 3px; text-align: center; margin: 200px auto 20px auto; position: relative; .top-img { position: absolute; width: 135px; height: 67px; top: -67px; margin-left: -67px; } .top-tip { font-size: 16px; color: $color_333; height: 16px; line-height: 16px; } .middle-tip { font-size: 14px; color: $color_333; height: 14px; line-height: 14px; margin-top: 15px; } .btm-tip { font-size: 14px; color: $color_666; height: 14px; line-height: 14px; margin-top: 10px; } .use-artifact { background-color: $bg_fff; // width: 84px; height: 24px; padding: 0 13px; font-size: 14px; border: 1px solid $redprice; border-radius: 12px; margin: 20px auto 0 auto; color: $redprice; } .tubuy { display: inline-block; margin-top: 17px; width: 81px; height: 24px; background-color: $redprice; border-radius: 12px; font-size: 16px; color: $white; border: none; } .indicator { color: $color_FE2F2F; } } .artifact-box { width: 300px; height: 130px; } .use-artifact-box { width: 300px; height: 148px; .middle-tip { color: $color_666; } } .close-bargain-success { position: fixed; top: 0; left: 0; right: 0; bottom: 0; } .bargain-success { width: 290px; height: 109px; padding: 15px; background: $white; border-radius: 5px; text-align: center; margin: 100px auto 20px auto; position: relative; p:nth-of-type(2) { font-size: 14px; margin-top: 10px; } p:nth-of-type(1) { font-size: 12px; margin-top: 10px; } .indicator { color: $color_FE2F2F; } .iconyindao { display: inline-block; width: 60px; height: 44px; position: absolute; top: -60px; right: 0; color: $white; font-size: 40px; } .moreMbc { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, .6); z-index: 2; .content { width: 300px; height: 340px; background-color: $white; border-radius: 3px; margin: 130px auto 20px auto; position: relative; .title-box { width: 100%; height: 45px; text-align: center; color: $color_202426; font-size: 16px; line-height: 45px; } .more-bargain-list { width: 100%; height: 253px; overflow: auto; border-top: 1px solid $sp_e7eaf1; padding: 0 15px; background-color: $bg_f5f5f5; .bargain-item { border-bottom: 1px solid $sp_e7eaf1; height: 50px; display: flex; position: relative; .avatar { width: 30px; height: 30px; border-radius: 50%; margin-top: 10px; margin-right: 10px; } .name { font-size: 14px; color: $color_333; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 50px; } .bargain-status { line-height: 50px; color: $color_333; font-size: 14px; position: absolute; right: 0; } } } } .more-bargain-dec { width: 100%; position: absolute; bottom: 0; height: 42px; font-size: 12px; color: $color_FF4000; text-align: center; line-height: 42px; } .close { color: #fff; font-size: 22px; position: relative; left: 50%; margin-left: -11px; } } } .bargain-popup__content { text-align: center; } .bargain-popup__button--close { font-size: 22px; color: #fff; } .course-button__buy--done { position: absolute; top: 0; right: 0; bottom: 0; width: 61px; height: 18px; margin: auto 0; border-radius: 9px; font-size: 12px; color: $white; text-align: center; line-height: 18px; background-color: $bg_active; }