/* pages/myCoupons/myCoupons.wxss */
.coupon_outer {
  padding-top: 20rpx;
  width: 100%;
}
.coupon_li {
  width: 90%;
  height: 160rpx;
  background-image: url("https://dy.shpr.top/shareActivity/coupon_list.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin: 0 auto;
  position: relative;
  color: #b82231;
  display: flex;
}
.coupon_type {
  position: absolute;
  top: 20rpx;
  left: 20rpx;
  font-weight: 400;
  width: 40rpx;
  height: 40rpx;
}
.coupon-title {
  display: flex;
  flex-direction: column;
  margin-left: 30rpx;
  width: 144rpx;
  padding-top: 42rpx;
}
.coupon-title>view {
  text-align: center;
}
.coupon-price {
  font-size: 55rpx;
  font-weight: 600;
}
.coupon-title-type {
  font-size: 22rpx;
  font-weight: 400;
}
.coupon-li-line {
  width: 2rpx;
  height: 80%;
  border-left: 2rpx dashed gray;
  margin-top: 2%;
}
.coupon-detail {
  margin-top: 30rpx;
  margin-left: 18rpx;
}
.coupon-detail-title {
  font-weight: 600;
  font-size: 30rpx;
  width: 280rpx;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.coupon-detail-date {
  font-size:20rpx;
  margin-top: 16rpx;
}

.use-button {
  width: 140rpx;
  height: 50rpx;
  background-color:#b82231;
  color: #fff;
  line-height: 50rpx;
  text-align: center;
  border-radius: 40rpx;
  font-size: 24rpx;
  cursor: pointer;
  position: absolute;
  top: 50%;
  margin-top: -25rpx;
  right: 26rpx;
}

.coupon_outer > .coupon_li {
  margin-bottom: 20rpx;
}

.coupon-title-free {
  display: flex;
  margin-left: 30rpx;
  width: 144rpx;
  padding-top: 18rpx;
}
.coupon-title-free>view {
  line-height: 123rpx;
} 
.coupon-title-free>view:first-child {
  margin-left: 30rpx;
}
.no-data {
  display: block;
  width: 80%;
  height: 300rpx;
  margin: 0 auto;
  margin-top: 300rpx;
}