.coupon-page { background: #f5f5f5; min-height: 100vh; position: relative; .tab { width: 100%; height: 76rpx; background: #ffffff; letter-spacing: 3rpx; position: sticky; top: 0; z-index: 99; .curr, .his { width: 50%; text-align: center; font-size: 32rpx; font-weight: 500; color: #9496a5; text { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: 76rpx; } } .cur { color: #08c2c3; text { padding-top: 8rpx; border-bottom: 8rpx solid #08c2c3; } } } .list { padding-top: 24rpx; position: relative; z-index: 0; } }