page {
  background: #F9F9F9;
}

.tabs-radius {
  background: #fff;
  /* opacity: 0.8; */
  border-radius: 24rpx;
}

.tabs-wrap {
  padding: 0 30rpx;
  height: 120rpx;
  /* height: 96rpx; */
  /* margin-top: 16rpx; */
  /* opacity: 0.8; */
  background: #fff;
  /* justify-content: space-around; */
  justify-content: space-between;
}

.tabs-wrap .item {
  /* width: 33.33%; */
  height: 100%;
  font-size: 28rpx;
  color: #666666;
  position: relative;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
}

.tabs-wrap .item.line::before {
  content: '';
  position: absolute;
  right: -80rpx;
  top: 26rpx;
  width: 2rpx;
  height: 44rpx;
  background-color: #EEEEEE;
  border-radius: 16rpx;
}

/* .tabs-wrap .item.active {
  font-family: PingFangSC-Semibold;
  font-size: 28rpx;
  color: #333;
  border-bottom: 6rpx solid #FA7D22;
} */
.tabs-wrap .item.active {
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #333333;
}

.tabs-wrap .item.active::before {
  content: '';
  position: absolute;
  top: 90rpx;
  width: 40rpx;
  height: 8rpx;
  background: linear-gradient(144deg, #FA7D22 0%, #FA4622 100%);
  border-radius: 4rpx;
}

.tabs-content {
  margin: 0 30rpx 40rpx;
}

.tabs-content .coupon-item {
  margin-top: 20rpx;
  display: block;
}

.tabs-content .item {
  margin: 20rpx 30rpx;
  /* background: #fff; */
  /* height: 172rpx; */
  border-radius: 8rpx;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0px 4rpx 20rpx 0px rgba(0, 0, 0, 0.06);
}

.tabs-content .item-left {
  width: 212rpx;
  height: 100%;
  /* background: #FF7676; */
  font-family: PingFangSC-Semibold;
  color: #FFFFFF;
  background-image: radial-gradient(circle at 0px 50%, #F9F9F9 15rpx, #F5849F 15rpx);
}

.tabs-content .item-left text {
  color: #fff;
}

.tabs-content .item-right {
  padding: 0 16rpx;
  color: #FFFFFF;
}

.tabs-content .item-right text {
  font-size: 28rpx;
  color: #000;
}

.tabs-content .item-right .item-btn {
  width: 122rpx;
  height: 54rpx;
  background: #FA7D22;
  border-radius: 27rpx;
  font-size: 28rpx;
  box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(0, 0, 0, 0.06);
}

.tabs-content .item-right image {
  width: 136rpx;
  height: 96rpx;
}

.tabs-content .item-right .triangle {
  height: 0;
  font-size: 0;
  line-height: 0;
  border-style: solid;
  border-width: 8rpx 0px 8rpx 16rpx;
  border-color: transparent #FA7D22;
  margin-left: 12rpx;
  transition: all .3s;
}

.tabs-content .triangle.active {
  transform: rotate(90deg);
}

.tabs-content .item.current1 .item-left {
  background-image: radial-gradient(circle at 0px 50%, #F9F9F9 15rpx, #A4A4A4 15rpx);
}

.tabs-content .item.current1 .item-right text {
  color: #666666;
}

.tabs-content .item.current2 .item-left {
  background-image: radial-gradient(circle at 0px 50%, #F9F9F9 15rpx, #C8C8C8 15rpx);
}

.tabs-content .item.current2 .item-right text {
  color: #999999;
}

.tabs-content .item-btm {
  transition: all .3s;
}

.tabs-content .item-btm view {
  padding: 20rpx 28rpx;
  font-size: 28rpx;
  color: #666666;
}

/* 优惠券新页面 */
.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;
}

.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;
}

/* 历史记录 */
.history {
  font-size: 28rpx;
  text-align: right;
  margin-right: 40rpx;
  color: #999999;
  background-color: #ffffff;
  width: 100%;
}

.history text {
  font-size: 28rpx;
  margin-right: 40rpx;
  color: #999999;
}