sMSindex.css 5.54 KB
* {
  margin: 0;
  padding: 0;
}

.text-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

body {
  /*background-image: linear-gradient(180deg, #EA1D9E 0%, #2E70F4 0%, #4A00BB 67%);*/
}

html {
  background-repeat: no-repeat;
  background-size: 100%;
}

.default {
  background-image: url('../images/default.png');
}

.spring {
  background-image: url('../images/spring.png');
}

.summer {
  background-image: url('../images/summer.png');
}

.autumn {
  background-image: url('../images/autumn.png');
}

.winter {
  background-image: url('../images/winter.png');
}

.bg {
  width: 100%;
  background-size: 100% 100%;
  position: relative;
}

.bg h1 {
  font-size: 0.24rem;
  letter-spacing: 0.02rem;
  text-align: center;
  margin-top: 1.22rem;
  width: 100%;
}

.user {
  font-size: 0.14rem;
  color: #666;
  height: 0.18rem;
  line-height: 0.18rem;
}

.user img {
  width: 0.18rem;
  height: 0.18rem;
  border-radius: 100%;
  overflow: hidden;
  vertical-align: middle;
  margin-right: 0.06rem;
}

.coupon-box {
  margin: 0.69rem auto 0;
  width: 89.3%;
  height: auto;
  box-sizing: border-box;
  padding: 0 0.2rem 0.48rem;
  background-color: #fff;
  box-shadow: 0 0.06rem 0.16rem 0 rgba(118, 118, 118, 0.15);
  border-radius: 0.18rem;
  position: relative;
}

.coupon-box-title {
  padding: 0.25rem;
  width: 100%;
  font-size: 0.2rem;
  box-sizing: border-box;
  color: #666666;
  text-align: center;
  position: relative;
}

.coupon-box-title::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.53rem;
  height: 0.14rem;
  background-repeat: no-repeat;
  background-size: cover;
}

.default .coupon-box-title::after {
  background-image: url(../images/default-title.png);
}

.spring .coupon-box-title::after {
  background-image: url('../images/spring-title.png');
}

.summer .coupon-box-title::after {
  background-image: url('../images/summer-title.png');
}

.autumn .coupon-box-title::after {
  background-image: url('../images/autumn-title.png');
}

.winter .coupon-box-title::after {
  background-image: url('../images/winter-title.png');
}

.bg .coupon {
  width: 100%;
  height: 0.9rem;
  background-image: url(../images/coupon.png);
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 auto 0.1rem;
  box-sizing: border-box;
  position: relative;
}

.verificationCode {
  display: none;
  position: absolute;
  background-image: url(../images/coupon.png);
  width: 101%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  left: 0;
  top: 0;
  z-index: 999;
  line-height: 0.9rem;
  text-align: center;
  font-size: 0.3rem;
  color: #F35918;
}

.bg .receive {
  background-image: url(../images/coupon-receive.png);
}

.bg .coupon .left {
  float: left;
  width: 0.86rem;
  height: 100%;
  position: relative;
  color: #F35918;
}

.goUse {
  display: none;
  width: 0.6rem;
  height: 100%;
  line-height: 0.9rem;
  text-align: center;
  float: left;
  font-size: 0.16rem;
  color: #FFFFFF;
}

.bg .coupon .left::after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: rgba(183, 183, 183, 0.50);
  width: 0.01rem;
  height: 0.62rem;
  content: '';
}

.discountType123 {
  font-size: 0.25rem;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
}

.unit {
  height: 0.36rem;
}

.discountName {
  font-size: 0.14rem;
  color: #F35918;
}

.discountType4 {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  font-size: 0.18rem;
  font-weight: 700;
}

.bg .coupon .right {
  float: left;
  width: calc(100% - 0.86rem);
  height: 100%;
  box-sizing: border-box;
  font-size: 0.14rem;
  color: #FF740B;
  padding: 0.14rem 0 0 0.14rem;
}

.bg .receive .right {
  width: calc(100% - 1.53rem);
}

.coupon-btn {
  background-image: linear-gradient(180deg, #FFAE40 8%, #F95722 92%);
  border-radius: 0.29rem;
  width: 2.54rem;
  height: 0.51rem;
  line-height: 0.51rem;
  text-align: center;
  position: absolute;
  left: 50%;
  bottom: -0.255rem;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.22rem;
  text-shadow: 0 0.005rem 0.005rem #BE4B1D;
}

.coupon-tips {
  display: none;
  position: absolute;
  width: 100%;
  font-size: 0.18rem;
  color: #999999;
  left: 0;
  bottom: 0.17rem;
  text-align: center;
}

.bg .coupon.lose {
  background-image: url(../images/lose.png);
}

.bg .coupon.lose .left,
.bg .coupon.lose .right,
.lose .discountName {
  color: #fff;
}

.activity-box {
  background: rgba(209, 209, 209, 0.1);
  border-radius: 0.18rem;
  margin: 0.42rem auto 0.3rem;
  width: 86.7%;
  box-sizing: border-box;
  padding: 0.2rem 0.17rem;
  font-size: 0.18rem;
  color: #666666;
}

.activity-box p {
  font-size: 0.12rem;
  margin-top: 0.06rem;
}

.activity-title {
  margin-bottom: 0.16rem;
}

.activity-time {
  margin-bottom: 0.26rem;
}

.activity-time {
  font-size: 0.16rem;
}

.f-12 {
  font-size: 0.12rem;
}

.time span {
  font-size: 0.14rem;
  letter-spacing: -0.01rem;
}

.succeed {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: rgba(0, 0, 0, .7);
  box-shadow: 0 0.01rem 0.15rem 0 rgba(0, 0, 0, 0.26);
  border-radius: 0.06rem;
  text-align: center;
  font-size: 0.1348rem;
  color: #FFFFFF;
  width: 37.8%;
  padding: 0.15rem 0;
}

.succeed img {
  height: 0.28rem;
  width: 0.28rem;
  display: block;
  margin: 0 auto 0.05rem;
}

#textarea {
  margin-bottom: 0.3rem;
}

#textarea>div {
  font-size: 0.14rem;
  color: #666;
  line-height: 0.24rem;
}