coupon-select.wxss 3.39 KB
.coupon-use-select .mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.4;
  z-index: 999;
  background: #000000;
}

.coupon-use-select .content {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 960rpx;
  z-index: 1000;
  background-color: #F5F5F5;
}

.coupon-use-select .coupon-scroll {
  overflow-y: scroll;
  height: 720rpx;
  padding-bottom: 120rpx;
  text-align: center;
  font-size: 0;
}

.coupon-use-select .empty {
  padding-top: 316rpx;
  text-align: center;
  font-size: 28px;
  color: #CCCCCC;
  letter-spacing: 0;
  height: 720rpx;
  background-color: #ffffff;
}

.coupon-use-select .header {
  position: relative;
  height: 120rpx;
  background-color: #ffffff;
  padding-left: 40rpx;
  line-height: 120rpx;
  font-size: 32px;
  color: #000000;
  letter-spacing: 0;
  font-weight: 500;
}

.coupon-use-select .header .close {
  width: 40rpx;
  height: 40rpx;
  float: right;
  margin-top: 40rpx;
  margin-right: 40rpx;
}


.coupon-use-select .coupon-item {
  display: inline-block;
  position: relative;
  height: 200rpx;
  width: 720rpx;
  background: url("https://img10.static.yhbimg.com/yhb-img01/2019/03/05/20/01b68a5d4f22945fe5afcf0f768538cfd3.png") no-repeat;
  background-size: 720rpx 200rpx;
}


.coupon-use-select .coupon-item:first-child {
  margin-top: 10rpx;
}

.coupon-use-select .coupon-item:last-child {
  margin-bottom: 10rpx;
}

.coupon-use-select .coupon-item .left {
  position: absolute;
  top: 0;
  left: 10rpx;
  height: 200rpx;
  width: 220rpx;
  padding-top: 38rpx;
  text-align: center;
  box-sizing: border-box;
}

.coupon-use-select .coupon-item .left .value {
  display: block;
  font-weight: bold;
  font-size: 72px;
  color: #002B47;
  letter-spacing: 0;
  text-align: center;
  line-height: 1;
}

.coupon-use-select .coupon-item .left .value.solo {
  line-height: 1.5;
}

.coupon-use-select .coupon-item .left .condition {
  display: block;
  font-size: 24px;
  color: #002B47;
  letter-spacing: 0;
  text-align: center;
  line-height: 1;
  margin-top: 16rpx;
}

.coupon-use-select .coupon-item .right {
  padding-top: 30rpx;
  padding-left: 240rpx;
  padding-right: 80rpx;
  box-sizing: border-box;
}

.coupon-use-select .coupon-item .right .name {
  display: block;
  font-size: 24px;
  color: #222222;
  letter-spacing: 0;
  line-height: 30rpx;
  word-break: break-all;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: left;
}

.coupon-use-select .coupon-item .right .name .prefix {
  font-size: 24px;
  color: #002B47;
  letter-spacing: 0;
  font-weight: 500;
  margin-right: 10px;
}

.coupon-use-select .coupon-item .right .period {
  display: block;
  font-size: 22px;
  color: #999999;
  letter-spacing: 0;
  margin-top: 26rpx;
  text-align: left;
}

.coupon-use-select .coupon-item .right .check {
  position: absolute;
  top: 50%;
  right: 50rpx;
  width: 48rpx;
  height: 48rpx;
  margin-top: -24rpx;
  border: 2rpx solid #cccccc;
  border-radius: 48rpx;
  box-sizing: border-box;
}

.coupon-use-select .coupon-item .right .checked {
  position: absolute;
  top: 50%;
  right: 50rpx;
  width: 48rpx;
  height: 48rpx;
  margin-top: -24rpx;
}

.coupon-use-select .confirm {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120rpx;
  font-size: 32px;
  color: #FFFFFF;
  letter-spacing: 0;
  text-align: center;
  line-height: 120rpx;
  background: #002B47;
}