page { background: #f4f4f4; min-height: 100%; } .container { background: #f4f4f4; min-height: 100%; padding-top: 30rpx; } .coupon-list { width: 750rpx; height: 100%; overflow: hidden; } .unselect { height: 80rpx; line-height: 80rpx; border: none; width: 700rpx; /* background: #28b43b; */ background:#09afff; border-radius:80rpx; color: #fff; font-size: 30rpx; text-align: center; margin-bottom: 30rpx; margin-left: 30rpx; margin-right: 30rpx; } .item { position: relative; height: 290rpx; width: 700rpx; background: linear-gradient(to right, #cfa568, #e3bf79); margin-bottom: 30rpx; margin-left: 30rpx; margin-right: 30rpx; padding-top: 52rpx; } .tag { height: 32rpx; background: #a48143; padding-left: 16rpx; padding-right: 16rpx; position: absolute; left: 20rpx; color: #fff; top: 20rpx; font-size: 20rpx; text-align: center; line-height: 32rpx; } .content { margin-top: 24rpx; margin-left: 40rpx; display: flex; margin-right: 40rpx; flex-direction: row; } .content .left { flex: 1; } .discount { font-size: 50rpx; color: #b4282d; } .min { color: #fff; } .content .right { width: 400rpx; } .name { font-size: 44rpx; color: #fff; margin-bottom: 14rpx; } .time { font-size: 24rpx; color: #fff; line-height: 30rpx; } .condition { position: absolute; width: 100%; bottom: 0; left: 0; height: 78rpx; background: rgba(0, 0, 0, 0.08); padding: 24rpx 40rpx; display: flex; flex-direction: row; } .condition .txt { display: block; height: 30rpx; flex: 1; overflow: hidden; font-size: 24rpx; line-height: 30rpx; color: #fff; } .condition .icon { margin-left: 30rpx; width: 24rpx; height: 24rpx; } .container .no-list{ margin:36rpx 0 0; text-align: center; color:#999; font-size: 28rpx; } .my-coupon-list{ padding:20rpx 24rpx; width: 750rpx; height: 100%; overflow: hidden; } .my-coupon-item{ border-radius: 18rpx; background:#fff; height: 190rpx; margin:0 0 20rpx; display: flex; justify-content: space-between; padding:0 20rpx 0 0; width:706rpx; } .coupon-left{ background:rgba(9, 175, 255, 0.1); width:230rpx; display: flex; flex-direction: column; align-items: center; justify-content: space-between; height:190rpx; padding:18rpx 0 30rpx; } .coupon-left .coupon-amount{ font-size: 48rpx; font-weight: bold; } .coupon-left .coupon-type{ font-size: 24rpx; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width:220rpx; text-align: center; } .coupon-left .coupon-btn{ background:#999999; color: #fff; width:120rpx; height: 32rpx; line-height:32rpx; font-size: 22rpx; margin-top:10rpx; border-radius:30rpx; text-align: center; } .coupon-left .coupon-btn.active-btn{ background:#09afff; } .coupon-content{ margin:0 20rpx 0 30rpx; display: flex; flex-direction: column; justify-content: space-between; padding:40rpx 0; flex:1 } .coupon-content view.coupon-name{ color:#999; font-size:30rpx; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width:400rpx; } .coupon-content view.coupon-date{ color:#999; font-size:20rpx; } .coupon-right{ width:84rpx; height:114rpx; padding-top:30rpx; } .coupon-status{ width:84rpx; height:84rpx; }