/* 历史记录 */ .history { width: 750rpx; height: 60rpx; background: #FFFFFF; line-height: 60rpx; display: flex; justify-content: flex-end; } .history .historyBtn { font-size: 28rpx; color: #999999; margin-right: 40rpx; } /* 切换状态栏 */ .tab { width: 750rpx; height: 120rpx; padding: 30rpx 42rpx 0 70rpx; background: #FFFFFF; box-sizing: border-box; display: flex; position: relative; } .tab .tab-item { font-size: 28rpx; color: #666666; } .activeTab { color: #333333 !important; font-weight: 600 !important; position: relative; } .activeTab::before { content: ''; position: absolute; bottom: 30rpx; left: 50%; transform: translateX(-50%); width: 40rpx; height: 8rpx; background: linear-gradient(144deg, #FA7D22 0%, #FA4622 100%); border-radius: 4px; } .moreCard{ font-size: 28rpx; color: #FA7D22; position: absolute; right: 42rpx; } /* 次卡列表 */ .scroll{ height: calc(100vh - 220rpx); } .content{ padding: 1rpx; box-sizing: border-box; } .conItem{ background-color: #FFF; border-radius: 16rpx; width: 690rpx; height: 154rpx; flex-direction: row; display: flex; margin: 40rpx 30rpx; position: relative; } .leftLine{ background-color: #FA7D22; border-radius: 16rpx 0rpx 0rpx 16rpx; width: 10rpx; height: 154rpx; display: flex; flex-direction: column; } .leftLineDe{ background: #999999; } .right{ width: 100%; padding: 24rpx 24rpx 0rpx 44rpx; } .titleFrequency{ display: flex; justify-content: space-between; height: 32rpx; line-height: 32rpx; margin-bottom: 30rpx; } .title { width: 512rpx; height: 32rpx; color: rgba(51,51,51,1); font-size: 32rpx; font-family: SourceHanSansCN-Regular; text-align: left; line-height: 32rpx; } .frequency{ margin-right: 24rpx; } .beOverdue{ display: flex; align-items: center; } .usedTimes{ color: #FF3007; font-size: 36rpx; font-family: SourceHanSansCN-Regular; text-align: left; white-space: nowrap; } .totalFrequency{ color: #666666; font-size: 28rpx; font-family: SourceHanSansCN-Regular; text-align: center; white-space: nowrap; margin-top: 8rpx; } .beOverdueToUse{ display: flex; justify-content: space-between; } .beOverdueItem{ color: #999999; font-size: 24rpx; font-family: SourceHanSansCN-Regular; text-align: left; white-space: nowrap; } .tips{ color: #FF3007; font-size: 32rpx; font-family: SourceHanSansCN-Regular; text-align: left; white-space: nowrap; margin: 0rpx 8rpx; } .toUse{ background-color: #FA7D22; border-radius: 25rpx; position: relative; z-index: 70; height: 50rpx; display: flex; justify-content: center; align-items: center; width: 104rpx; color: rgba(255,255,255,1); font-size: 24rpx; font-family: PingFangSC-Medium; text-align: left; white-space: nowrap; } .cardBg{ z-index: 69; position: absolute; left: 470rpx; top: -86rpx; } .cardBg image{ width: 180rpx; height: 144rpx; object-fit: contain; } .used{ color: #999; } .usedBg{ background-color: #999; } .loading{ position: relative; bottom: 5rpx; padding: 10rpx; text-align: center; } .hide{ display: none; } .hideRight{ justify-content: flex-end; } .finish{ background-color: #E5E5E5 !important; } /* 优惠券页面 */ .couponList:last-child{ padding-bottom: 80rpx; } .coupon-item { width: 690rpx; height: 220rpx; background: url('https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220822/%E7%BC%96%E7%BB%84%206%402x.png'); background-size: cover; margin: 0 auto; margin-top: 20rpx; display: flex; } .coupon-left { width: 180rpx; height: 100%; position: relative; } .coupon-type { font-size: 12px; font-weight: 500; height: 36rpx; line-height: 36rpx; width: 92rpx; text-align: center; color: white; } .coupon-price { height: 182rpx; line-height: 170rpx; width: 100%; font-size: 44rpx; color: #FF3007; font-weight: 500; text-align: center; } .coupon-price text { color: #FF3007; } .coupon-right { flex: 1; height: 100%; padding-left: 30rpx; } .coupon-right-top { width: 100%; height: 140rpx; display: flex; flex-direction: column; justify-content: space-around; } .coupon-title { font-size: 32rpx; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 400rpx; color: #333; } .coupon-condition { font-size: 24rpx; color: #666666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .coupon-right-bottom { width: 100%; height: 80rpx; display: flex; align-items: center; } .coupon-time { font-size: 24rpx; color: #666666; width: 360rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; } .coupon-time text { font-size: 24rpx; color: #666666; width: 360rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .finaTime { font-size: 24rpx; color: #FF3007; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 30rpx; } .coupon-redio { width: 104rpx; height: 50rpx; background-color: #fb7e1f; border-radius: 40rpx; text-align: center; line-height: 50rpx; color: white; font-size: 24rpx; } /* 使用过的优惠券 */ .used .coupon-price { color: #979797; } .used .coupon-price text { color: #979797; } .used .coupon-title { color: #979797; } .used .coupon-condition { color: #979797; } .used .coupon-time { color: #979797; } .used .coupon-redio { background-color: #979797; } .used .bgc { background-color: #979797; width: 99rpx; height: 38rpx; border-radius: 12px 0px 12px 0px; }