@import '../../../common/css/global'; #store-cart{ .goods-box{ padding-bottom: 50px; .goods-item{ display: flex; padding: 10px; background: #FFFFFF; font-size: 12px; align-items: center; .input{ } .img-box{ image{ display: block; width: 80px; height: 80px; border: 1px solid #e5e5e5; } } .item-info{ margin-left: 10px; line-height: 20px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; .name{ padding-bottom: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .money-box{ display: flex; color: #838383; .model{ flex: 1; } .money{ } } .mun-box{ display: flex; align-items: center; .change-num{ flex: 1; padding-top: 4px; .ul-list-content{ display: flex; .item{ display: block; list-style: none; width: 30px; height: 30px; border: 1px solid #e8e8e8; text-align: center; line-height: 30px; &:nth-child(2) { border-left: none; border-right: none; } input{ display: block; border: none; height: 100%; width: 100%; text-align: center; outline: none; } } } } .remove{ color: #0899ff; } } } } } .buy-box{ display: flex; align-items: center; position: fixed; /* #ifdef APP-PLUS || MP-WEIXIN */ bottom: 50px; /* #endif */ /* #ifdef H5 */ bottom:50PX; /* #endif */ width: 100%; height: 50px; line-height: 50px; font-size: 15px; background: #FFFFFF; // z-index: 10; // todo .checkbox{ display: flex; align-items: center; margin: 0 10px; checkbox{ display: flex; } } .money-box{ flex: 1; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .num-box{ height: 100%; width: 110px; text-align: center; color: #FFFFFF; border-radius: 0; background: @mainColor; &:after { border-radius: 0; border: none; } } } /*领券头部*/ .discount-box{ .is-login{ font-size: 12px; display: flex; align-items: center; background: #FFFFFF; padding: 10px 0 10px 15px; margin-bottom: 10px; .promotion-box{ flex: 1; .promotion{ display: flex; align-items: center; color:#4a4a4a; .title{ color: @mainColor; border:1px solid @mainColor; border-radius:3px; padding: 3px 5px; margin-right: 10px; } } } .coupon{ padding: 0 15px; color:@mainColor; &.mx-1px-left:before{ border-left: 1px solid #979797; } } } .no-login{ background: #FFFFFF; padding: 10px 0 10px 15px; margin-bottom: 10px; font-size: 14px; display: flex; align-items: center; .left{ display: flex; align-items: center; flex: 1; i{ color: #e73237; margin-right: 5px; } span{ color:#e73237; } } .right{ color:#e73237; padding-right: 15px; } } } .maks{ position: fixed; bottom: 0; width: 100%; height: 100%; z-index: 40; background: rgba(0,0,0,.4); opacity: 1; transition: opacity .3s ease; display: none; &.cur{ display: block; } } /*选择优惠券部分*/ .select-coupon-box { background: #F7F7F7; position: fixed; bottom: 0; width: 100%; height: 0; z-index: 50; transition:all .3s linear; &.cur{ height: 60%; } .select-coupon { height: 100%; box-sizing: border-box; .select-coupon-top { padding: 0 15px; background: #e9e9e9; text-align: center; overflow: visible; .title { position: relative; color: #4A4A4A; overflow: visible; font-size: 14px; padding: 10px 0; .close { position: absolute; right: -10px; top: 0px; padding: 10px; } } } .select-coupon-bottom { padding: 0 15px; height:100%; /*padding-bottom: 50px;*/ overflow: auto; box-sizing: border-box; .title{ font-size: 14px; color: #000; padding-top: 8px; } .coupon-box { margin-bottom: 50px; .ticket_box { padding-bottom: 10px; display: flex; img { width: 100%; } .f12 { font-size: 12px; } .color_3 { color: #838383; } .fff { color: #fff; } .online { color: #FD8300; } &:first-child { margin-top: 10px; } .ticket_left { width: 109px; height: 90px; background-size: 109px; .ticket_left_content { display: flex; align-items: center; background: @globalColor; height: 100%; font-size: 12px; } } .ticket_left_y { background-size: cover; } .ticket_left_b { background-size: cover; } .ticket_right { flex: 1; background-size: 10px; padding-right: 9px; overflow: hidden; background: #FFFFFF; .ticket_right_top { border-bottom: 1px solid #DDDDDD; padding-top: 10px; padding-bottom: 5px; } .ticket_right_bottom { background: #FFFFFF; padding-bottom: 4px; padding-top: 1px; .names { font-size: 12px; margin: 5px 5px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .btn-box { display: flex; align-items: center; justify-content: space-between; padding-right: 5px; .btn { width: 70px; height: 20px; line-height: 20px; text-align: center; -webkit-border-radius: 15px; border-radius: 15px; padding: 2px 0; &.use { color: @globalColor; border: 1px solid @globalColor; } &.already { color: #717071; background: #DBDCDC; border: 1px solid #DBDCDC; } } .time { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } } } .coupon-item { margin-bottom: 10px; &:first-child { margin-top: 10px; } .coupon { display: flex; &.shasow { box-shadow: 0px 7px 10px 0px rgba(6, 0, 0, 0.2); } .coupon-left { width: 110px; height: 80px; color: #ffffff; background-size: cover; background: @mainColor; position: relative; .text-wrap { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; font-size: 12px; .text-box { text-align: center; width: 100%; .text{ display: block; padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 20px; font-weight: 600; &.label{ font-size: 12px; font-weight: 100; } .money{ font-size: 14px; font-weight: 100; } } .money-num { font-size: 25px; font-weight: bold; } } } .dot-wrap { position: absolute; top: 0px; margin-top: 5px; .dot-item { width: 5px; height: 5px; background: #F7F7F7; border-radius: 50%; margin: 4px 0 9px -1px; &:last-child { margin-top: 10px; } } } } .coupon-right { flex: 1; background: #fff; padding: 0px 15px; font-size: 12px; overflow: hidden; .top { font-size: 12px; display: -webkit-box; color: #333333; height: 40px; line-height: 20px; padding-top: 8px; box-sizing: border-box; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; .type { color: #333333; border: 1px solid #333333; padding: 2px 5px; border-radius: 3px; line-height: 20px; margin-right: 5px; } } .bottom { .bottom-use { display: flex; align-items: center; justify-content: space-between; font-size: 12px; margin: 7px 0; .tiem-box { color: #9E9E9F; flex: 1; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 5px; } .btn { text-align: center; border-radius: 3px; padding: 3px 12px; } .use { color: #fff; border: 1px solid @mainColor; background: @mainColor; } .already { color: #9B9B9B; background: #fff; border: 1px solid #9B9B9B; } } } } } } } } } } /*查看促销部分*/ .see-discounts-box{ background: #F7F7F7; position: fixed; bottom: 0; width: 100%; height: 0; z-index: 50; transition:all .3s linear; &.cur{ height: 50%; } .select-discounts { height: 100%; box-sizing: border-box; .select-discounts-top { padding: 0 15px; background: #e9e9e9; text-align: center; overflow: visible; .title { position: relative; color: #4A4A4A; overflow: visible; font-size: 14px; padding: 10px 0; .close { position: absolute; right: -10px; top: 0px; padding: 10px; } } } .select-discounts-bottom { height:100%; /*padding-bottom: 50px;*/ overflow: auto; box-sizing: border-box; .disconts-item { display: flex; align-items: baseline; padding: 10px 5px; &:last-child:before { display: none; } &:last-child { margin-bottom: 0; } .discounts-tags-title { color: @mainColor; border: 1px solid @mainColor; border-radius: 3px; padding: 0 5px; margin-right: 10px; } .tags-item{ flex: 1; } } } } } //重置按钮样式 checkbox .wx-checkbox-input{ border-radius: 100%; background-color: #fff; border: 1px solid #c1caca; box-shadow: 0 1px 2px rgba(0,0,0,.05), inset 0 -15px 10px -12px rgba(0,0,0,.05); height: 14px; width: 14px; } checkbox .wx-checkbox-input.wx-checkbox-input-checked{ background-color: @globalColor; border: 1px solid @globalColor; } .no-goods{ text-align: center; padding: 20px 0; image{ width:126px; vertical-align: middle; } } }