page { background: #fff; min-height: 100%; } .container { background: #fff; min-height: 100%; padding-top: 30rpx; } .container .h { position: fixed; left: 0; top: 0; z-index: 2000; width: 100%; display: flex; background: #fff; height: 84rpx; border-top: 1px solid rgba(0, 0, 0, 0.15); } .container .h .item { display: inline-block; height: 82rpx; width: 50%; padding: 0 15rpx; text-align: center; } .container .h .item .txt { display: inline-block; height: 82rpx; padding: 0 20rpx; line-height: 82rpx; color: #333; font-size: 30rpx; width: 170rpx; } .container .h .item.active .txt { color: #E31436; } .container .b { margin-top: 85rpx; height: auto; } .container .b .coupon-form { height: 110rpx; width: 100%; background: #fff; padding-left: 30rpx; padding-right: 30rpx; padding-top: 20rpx; display: flex; } .container .b .input-box { flex: 1; height: 70rpx; color: #333; font-size: 24rpx; background: #fff; position: relative; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 4rpx; margin-right: 30rpx; } .container .b .input-box .coupon-sn { position: absolute; top: 10rpx; left: 30rpx; height: 50rpx; width: 100%; color: #000; line-height: 50rpx; font-size: 24rpx; } .container .b .clear-icon { position: absolute; top: 10rpx; right: 18rpx; z-index: 2; display: block; background: #fff; height: 44rpx; width: 44rpx; } .container .b .add-btn { height: 70rpx; border: none; width: 168rpx; background: #E31436; border-radius: 0; line-height: 70rpx; color: #fff; font-size: 28rpx; text-align: center; } .container .b .add-btn.disabled { background: #ccc; } .container .b .help { height: 72rpx; line-height: 72rpx; text-align: right; padding-right: 30rpx; background: url(https://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/couponHelp-4768607555.png) 590rpx center no-repeat; background-size: 28rpx; color: #999; font-size: 24rpx; } .container .b .coupon-list { width: 750rpx; height: 100%; overflow: hidden; } .container .b .item { position: relative; height: 200rpx; margin-left: 30rpx; margin-right: 30rpx; } .coupon-bg { width: 689rpx; height: 193rpx; position: absolute; top: 0; left: 0; z-index: 100; } .coupon-main { width: 689rpx; height: 193rpx; position: absolute; top: 0; left: 0; z-index: 1000; overflow: hidden; } .coupon-main-left { float: left; } .discount { width: 204rpx; display: flex; align-items:flex-end; justify-content: center; margin-top: 30rpx; } .discount-text { font-size:24rpx; font-family:PingFangSC-Regular; font-weight:bold; color:rgba(255,34,70,1); display: block; margin-bottom: 15rpx; margin-right: 5rpx; } .discount-num { font-size:60rpx; font-family:PingFangSC-Semibold; font-weight:600; color:rgba(255,34,70,1); } .discount-text-gray { color: #333333; } .min { font-size:24rpx; font-family:PingFangSC-Light; font-weight:300; text-align: center; } .coupon-main-right { width: 484rpx; height: 193rpx; float: right; display: flex; flex-direction: column; justify-content: center; position: relative; } .name { font-size:36rpx; font-family:PingFangSC-Regular; font-weight:400; color:rgba(51,51,51,1); margin-left: 37rpx; margin-top: 10rpx; margin-bottom: 10rpx; } .time { font-size:20rpx; font-family:PingFangSC-Regular; font-weight:400; margin-left: 37rpx; color:rgba(110,110,110,1); } .use-out { font-size:20rpx; font-family:PingFangSC-Regular; font-weight:400; color:rgba(110,110,110,1); } .use { width: 126rpx; border-radius:50rpx; border:1rpx solid #FF1B40; font-size:24rpx; font-family:PingFangSC-Light; font-weight:300; color:#FF1B40; text-align: center; line-height: 50rpx; position: absolute; right: 40rpx; top: 70rpx; } .container .b .page { width: 750rpx; height: 108rpx; background: #fff; margin-bottom: 20rpx; } .container .b .page view { height: 108rpx; width: 50%; float: left; font-size: 29rpx; color: #333; text-align: center; line-height: 108rpx; } .container .b .page .prev { border-right: 1px solid #d9d9d9; } .container .b .page .disabled { color: #ccc; }