/* * 手太欠 * 企获客商城 */ .coupon { margin: 0 20rpx; } /* 轮播图 */ .banner { position: relative; padding-top: 50%; width: 100%; background: white; border-radius: 10rpx; overflow: hidden; margin: 30rpx 0; } .banner-swiper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .banner-img { width: 100%; height: 100%; vertical-align: top; } /* 优惠券列表 */ .couponTitle { display: flex; } .couponTitle text { flex: 1; display: block; font-weight: 600; } .couponTitle-more { display: flex; color: #666666; } .couponTitle-more image { width: 30rpx; height: 30rpx; margin: 6rpx 0 0 10rpx; } .couponLabel { /* white-space: nowrap; */ margin: 20rpx -15rpx; display: flex; } .couponLabel text { display: inline-block; flex: auto; font-size: 28rpx; background-color: #e6e8f0; line-height: 60rpx; padding: 0 30rpx; border-radius: 40rpx; width: 90rpx; margin: 15rpx; text-align: center; } .couponLabel text.active { background-color: #2151f5; color: #fff; } .couponEject-list-label { position: relative; width: 100%; padding-top: 32%; margin-bottom: 30rpx; } .couponEject-list-label::after, .couponEject-list-label::before { position: absolute; content: ''; width: 30rpx; height: 30rpx; border-radius: 50%; background-color: white; z-index: 111; } .couponEject-list-label::after { top: -15rpx; right: 160rpx; } .couponEject-list-label::before { bottom: -15rpx; right: 160rpx; } .couponEject-list-title { margin-bottom: 30rpx; } .couponEject-list-back { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 20rpx; } .couponEject-list-tips { position: absolute; top: 0; left: 0; background-color: #c0d3fc; color: #2151f5; z-index: 102; font-size: 26rpx; border-radius: 10rpx 0 10rpx 0; padding: 6rpx 20rpx; } .couponEject-list-cont { z-index: 102; position: absolute; top: calc(50% - 70rpx); left: 0; right: 0; color: #fff; display: flex; height: 140rpx; } .couponEject-list-left { width: calc(100% - 200rpx); display: flex; margin-right: 40rpx; } .couponEject-list-price { position: relative; width: 45%; height: 140rpx; } .couponEject-list-price2 { position: relative; width: 45%; height: 140rpx; font-size: 50rpx; text-align: center; font-weight: 600; line-height: 140rpx; } .coupon-icon { height: 120rpx; margin-top: 10rpx; margin-left: calc(50% - 60rpx); width: 120rpx; } .couponEject-list-price::after { position: absolute; content: ''; right: 0; top: 20%; width: 2rpx; height: 60%; background-color: rgba(255, 255, 255, .5); } .couponEject-list-price2::after { position: absolute; content: ''; right: 0; top: 20%; width: 2rpx; height: 60%; background-color: rgba(255, 255, 255, .5); } .couponEject-list-price text { font-size: 28rpx; font-weight: normal; } .couponEject-list-name { text-align: center; width: 55%; } .couponEject-list-name text { font-size: 26rpx; display: block; margin-top: 10rpx; opacity: .7; } .couponEject-list-btn { width: 140rpx; color: #2d6bf6; background-color: #fff; border-radius: 50rpx; text-align: center; height: 56rpx; line-height: 56rpx; font-size: 28rpx; box-shadow: 0 0 10rpx rgba(0, 50, 61, .2); margin-top: 50rpx; } .couponEject-list-line { position: absolute; width: 0; height: 100%; content: ''; border: 2rpx dotted #fff; right: 175rpx; top: 0; z-index: 102; } .couponEject-list-blue { height: 140rpx; top: calc(50% - 70rpx); } .couponEject-list-blue .couponEject-list-price { line-height: 140rpx; } .couponEject-list-blue .couponEject-list-price::after { height: 60%; top: 20%; } .couponEject-list-blue .couponEject-list-btn { margin-top: 50rpx; } .couponEject-list-tips-red { background-color: #fac2cd; color: #ae1635; } .couponEject-list-red { color: #f16d83; } .couponEject-list-tips-yellow { background-color: #fae5c2; color: #bf7b06; } .couponEject-list-yellow { color: #b67c18; } .price-tips { font-size: 20rpx; } .coupon-null { width: 100%; padding : 20% 0; text-align: center; } .coupon-null image { width: 300rpx; } .coupon-text { width: 100%; text-align: center; margin-top: 50rpx; color: #666; } .nomore { width: 100%; height: 60rpx; line-height: 60rpx; text-align: center; color: #999; margin-bottom: 20rpx; font-size: 28rpx; }