.wrap {
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  background-color: #ecf0f3;
  font-size: 0;
}
.font-red {
  color: #cc463d;
}
/* =================头部导航区域-开始==================== */
.nav {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
}
.nav .nav-info {
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.nav .nav-back {
  z-index: 100;
  width: 18rpx;
  height: 34rpx;
  padding: 0 20rpx;
  background: url(https://ads-images.cdn.bcebos.com/statics/drifd-coupon-icon_back.png);
  background-position: center;
  background-size: 18rpx 34rpx;
  background-repeat: no-repeat;
}
.nav .nav-title {
  flex: 1;
  margin: 0 22rpx 0 60rpx;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 36rpx;
}
/* =================头部导航区域-结束==================== */
/* =================头部广告区域-开始==================== */
.add {
  z-index: 90;
  position: relative;
  height: auto;
  /* 授权前 650rpx 授权后 720rpx */
  padding: 0 30rpx 40rpx 30rpx;
  /* display: flex;
  align-items: flex-end;
  justify-content: space-between; */
  border-radius: 0 0 60rpx 60rpx;
  /* background-image: url(https://ads-images.cdn.bcebos.com/statics/send_coupon_comp_bg.png); */
  background-size: cover;
  background-repeat: no-repeat;
}
.add-tit {
  /* position: absolute;
  top: 180rpx;
  left: 0;
  right: 0; */
  margin: 0 auto 20rpx;
  line-height: 66rpx;
  text-align: center;
  color: #fff;
  font-weight: 400;
  font-size: 44rpx;
}
.add-item {
  display: inline-flex;
  flex: 1;
  align-items: center;
  width: 328rpx;
  height: 160rpx;
  border-radius: 10rpx;
  box-sizing: border-box;
  color: #404040;
}
.add-item-img {
  width: 100%;
  height: 100%;
  border-radius: 10rpx;
}
.add-item:nth-child(3) {
  margin-left: 22rpx;
}
.add-item .l {
  overflow: hidden;
  width: 112rpx;
  height: 118rpx;
  margin-right: 14rpx;
}
.add-item:nth-child(2) .l {
  width: 120rpx;
  height: 120rpx;
}
.add-item .l-icon {
  width: 100%;
  height: inherit;
}
.add-item .r-tit {
  line-height: 28rpx;
  font-weight: 400;
  font-size: 24rpx;
}
.add-item .r-price {
  margin-top: 16rpx;
  line-height: 24rpx;
  font-weight: bold;
  font-size: 28rpx;
}
.add-item .r-btn {
  position: relative;
  width: fit-content;
  margin-top: 16rpx;
  line-height: 22rpx;
  color: #7f7f7f;
  font-weight: 400;
  font-size: 20rpx;
}
.add-item .r-btn::after {
  content: '';
  position: absolute;
  top: 0;
  right: -18rpx;
  bottom: 0;
  width: 9rpx;
  height: 9rpx;
  margin: auto;
  border-top: 2rpx solid #7f7f7f;
  border-right: 2rpx solid #7f7f7f;
  transform: rotate(45deg);
}
.add-lot {
  display: block;
  width: 100%;
  height: 240rpx;
  border-radius: 20rpx;
}
/* =================头部广告区域-结束==================== */
/* =================页面tab区域-开始==================== */
.tab-title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 88rpx;
  color: #333;
  font-weight: bold;
  font-size: 32rpx;
}
.tabs {
  z-index: 0;
  position: relative;
  /* 增加此定位是因为上拉切页面换会覆盖tab */
  display: flex;
  align-items: center;
  height: 88rpx;
  background-color: #ecf0f3;
  white-space: nowrap;
}
.tabs .item {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  margin-left: 40rpx;
  text-align: center;
}
.tabs .item:nth-child(1) {
  margin-left: 30rpx;
}
.tabs .item:last-child {
  margin-right: 30rpx;
}
.tabs .item .txt {
  margin-top: 30rpx;
  color: #333;
  font-weight: 400;
  font-size: 32rpx;
}
.tabs .item .txt.selected {
  font-weight: bold;
}
.tabs .item .line {
  width: 64rpx;
  height: 4rpx;
  background: #333;
}
.tabs.sticky {
  position: fixed;
  background-color: #2ba064;
}
.tabs.sticky .item .txt {
  color: #fff;
}
.tabs.sticky .item .line {
  background: #fff;
}
/* =================页面tab区域-结束==================== */
/* =================页面券列表区域开始==================== */
.coupon-list {
  position: relative;
  flex: 1;
  width: 100%;
  padding: 0 20rpx;
  box-sizing: border-box;
}
.v-tips {
  height: 60rpx;
  text-align: center;
  color: #9f9c9c;
  font-size: 24rpx;
}
/* =================页面券列表区域-结束==================== */
/* =================下拉加载提示-开始==================== */
.footer-tip-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 34rpx;
  margin: 50rpx auto 40rpx auto;
}
.footer-hr {
  width: 120rpx;
  height: 2rpx;
  background: #e5e5e5;
}
.footer-tip {
  height: 100%;
  margin: 0 20rpx;
  line-height: inherit;
  color: #9c9c9c;
  font-size: 24rpx;
}
/* =================下拉加载提示-结束==================== */
/* =================页面数据获取失败-开始==================== */
.empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.empty-txt {
  color: #b1b1b1;
  font-size: 24rpx;
}
.empty-btn {
  width: 160rpx;
  height: 46rpx;
  margin-top: 50rpx;
  border: 2rpx solid #2ba064;
  border-radius: 8rpx;
  line-height: 46rpx;
  text-align: center;
  color: #2ba064;
  font-size: 26rpx;
}
/* =================页面数据获取失败-结束==================== */
/* =================弹窗================= */
.popup {
  z-index: 99999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.55);
}
.popup-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 670rpx;
  transform: translate(-50%, -50%);
}
.popup-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8rpx;
  background-color: #2ba064;
}
.popup-tit {
  padding: 50rpx 0;
  line-height: 36rpx;
  text-align: center;
  color: #fff;
  font-size: 36rpx;
}
.popou-coupon-box {
  width: 600rpx;
  height: 600rpx;
}
.popou-coupon-box::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.popou-coupon-item {
  display: flex;
  align-items: center;
  width: 600rpx;
  min-height: 174rpx;
  margin-bottom: 30rpx;
  border-radius: 8rpx;
  background-color: #fff;
}
.popou-coupon-item-dispaly {
  display: flex;
  align-items: center;
  width: 540rpx;
}
.popou-coupon-item-img {
  margin-right: 30rpx;
  margin-left: 30rpx;
}
.widthheight100 {
  width: 100rpx;
  height: 100rpx;
}
.popou-coupon-item-name {
  width: 360rpx;
  margin-top: 30rpx;
  line-height: 40rpx;
  color: #333;
  font-weight: bold;
  font-size: 32rpx;
}
.popou-coupon-item-threshold {
  margin-top: 24rpx;
  margin-bottom: 30rpx;
  line-height: 24rpx;
  color: #7f7f7f;
  font-size: 22rpx;
}
.popou-coupon-item-get {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60rpx;
  height: 100%;
  min-height: 174rpx;
  border-radius: 0 10rpx 10rpx 0rpx;
  line-height: 26rpx;
  background: rgba(43, 160, 100, 0.1);
  color: #333;
  font-weight: bold;
  font-size: 22rpx;
}
.width30 {
  width: 30rpx;
  text-align: center;
}
.relative {
  position: relative;
}
.popou-coupon-item::before,
.popou-coupon-item::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 20rpx;
  height: 20rpx;
  border-radius: 50%;
  background-color: #2ba064;
}
.popou-coupon-item::before {
  left: -10rpx;
}
.popou-coupon-item::after {
  right: -10rpx;
}
.popou-coupon-desc {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20rpx;
  padding-bottom: 40rpx;
  line-height: 24rpx;
  color: #fff;
  font-size: 24rpx;
}
.popou-coupon-desc-icon {
  width: 30rpx;
  height: 26rpx;
  margin-right: 10rpx;
}
.wh70 {
  width: 70rpx;
  height: 70rpx;
}
.send-coupon-close {
  position: absolute;
  top: -4vh;
  left: 0;
}
.send-coupon-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400rpx;
  height: 100rpx;
  margin-top: 30rpx;
  margin-left: 135rpx;
  background-color: #2ba064;
  color: #fff;
  font-size: 28rpx;
}
.close-btn {
  width: 100%;
  margin-top: 30rpx;
  text-align: center;
}
.send-coupon-btn-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.send-coupon-btn-1 {
  width: 280rpx;
  margin-left: 0;
}
.send-coupon-btn-1-txt {
  width: 280rpx;
  height: 100rpx;
  line-height: 100rpx;
  text-align: center;
}
.modal-mask {
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}
.modal-dialog {
  z-index: 9999;
  position: fixed;
  top: 50%;
  left: 0;
  overflow: hidden;
  width: 540rpx;
  margin: -180rpx 105rpx;
  padding: 0 32rpx;
  border-radius: 36rpx;
  background: #f9f9f9;
  color: #030303;
}
.modal-title {
  padding: 60rpx 0 50rpx;
  text-align: center;
  font-size: 36rpx;
}
.modal-footer {
  /* display: flex;
  flex-direction: row; */
  height: 120rpx;
  border-top: 1px solid #dedede;
  line-height: 120rpx;
  text-align: center;
  font-size: 34rpx;
}
.custom-pay-success {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.pay-success-modal {
  width: 260px;
  padding: 32px 32px 16px;
  border-radius: 12px;
  text-align: center;
  background-color: #fff;
}
.pay-success-title {
  margin-bottom: 16px;
  color: #333;
  font-weight: 500;
  font-size: 18px;
}
.pay-success-desc {
  margin-bottom: 32px;
  color: #999;
  font-weight: 400;
  font-size: 18px;
}
.pay-success-btns {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.confirm-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 24px;
  line-height: 48px;
  color: #fff;
  font-size: 16px;
}
.cancel-btn {
  width: 40px;
  margin: 10px 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  line-height: 18px;
  background-color: #fff;
  color: #ccc;
  font-size: 12px;
}
