equity.css 9.55 KB
/* 激活权益 */
* {
  padding: 0;
  margin: 0;
  border: 0;
  list-style: none;
}

.m-l-20 {
  margin-left: 0.2rem;
}

.equity-wrapper {
  background-color: #2C3146;
  font-size: 0.16rem;
}

.equity-wrapper .equity-header {
  position: relative;
  width: 100%;
  height: 2.92rem;
  background: url(../images/equityInfo/equity-header@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/equity-header@2x.png) 2x, url(../images/equityInfo/equity-header@3x.png) 3x);
  background-size: 100%;
}

.equity-wrapper .my-equity {
  position: relative;
  width: 100%;
  height: 2.92rem;
  background: url(../images/equityInfo/my-equity@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/my-equity@2x.png) 2x, url(../images/equityInfo/my-equity@3x.png) 3x);
  background-size: 100%;
}

.icon-header {
  display: inline-block;
  width: 0.78rem;
  height: 0.73rem;
  position: absolute;
  top: 1.1rem;
  left: 0.36rem;
}

.header-serving {
  background: url(../images/equityInfo/serving@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/serving@2x.png) 2x, url(../images/equityInfo/serving@3x.png) 3x);
  background-size: 100%;
}

.header-expired {
  background: url(../images/equityInfo/expired@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/expired@2x.png) 2x, url(../images/equityInfo/expired@3x.png) 3x);
  background-size: 100%;
}

.header-refunded {
  background: url(../images/equityInfo/refunded@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/refunded@2x.png) 2x, url(../images/equityInfo/refunded@3x.png) 3x);
  background-size: 100%;
}

.header-inactivated {
  background: url(../images/equityInfo/inactivated@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/inactivated@2x.png) 2x, url(../images/equityInfo/inactivated@3x.png) 3x);
  background-size: 100%;
}

.equity-wrapper .equity-time {
  position: absolute;
  left: 50%;
  bottom: 0.8rem;
  transform: translateX(-50%);
  font-size: 0.12rem;
  color: #3A415D;
}

.equity-wrapper .equity-store {
  position: relative;
}

.equity-wrapper .equity-bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 2rem;
  background: url(../images/equityInfo/equity-bg@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/equity-bg@2x.png) 2x, url(../images/equityInfo/equity-bg@3x.png) 3x);
  background-size: 100%;
  /* margin-top: -0.26rem; */
  background-position-y: -0.08rem;
}

.equity-wrapper .equity-title {
  color: #E4E4E7;
  font-size: 0.18rem;
  text-align: center;
  position: relative;
  padding: 0.2rem 0;
}

.equity-wrapper .equity-title::before {
  display: inline-block;
  content: '';
  position: absolute;
  top: 50%;
  left: 25%;
  width: 0.41rem;
  height: 0.006rem;
  background-image: linear-gradient(to right, rgba(227, 227, 231, 0), rgba(227, 227, 231, 1));
}

.equity-wrapper .equity-title::after {
  display: inline-block;
  content: '';
  position: absolute;
  top: 50%;
  right: 25%;
  width: 0.41rem;
  height: 0.006rem;
  background-image: linear-gradient(to left, rgba(227, 227, 231, 0), rgba(227, 227, 231, 1));
}

/* 适用门店 */
.equity-wrapper .equity-store .store-info {
  display: flex;
  align-items: center;
  margin: 0 0.2rem;
  padding: 0.24rem 0.24rem;
  background-color: #222438;
  border-radius: 0.08rem;
  font-size: 0.12rem;
  color: #E4E4E7;
}

.equity-wrapper .equity-store .store-info .store-qrcode {
  width: 1rem;
  height: 1rem;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 0.08rem;
  margin-left: 0.2rem;
  padding: 0.06rem;
}

.equity-wrapper .equity-store .store-info .store-qrcode img {
  width: 0.88rem;
  height: 0.88rem;
}

.equity-wrapper .equity-store .store-info ul li span:last-child {
  line-height: 0.18rem;
}
.equity-wrapper .equity-store .store-info ul li {
  margin-bottom: 0.06rem;
  display: inline-flex;
  align-items: flex-start;
  width: 100%;
}

.equity-wrapper .equity-store .store-info .store-name {
  display: inline-flex;
  align-items: center;
  font-size: 0.16rem;
  color: #F3D4A5;
  margin-bottom: 0.1rem;
}

.icon-name {
  display: inline-block;
  background: url(../images/equityInfo/store@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/store@2x.png) 2x, url(../images/equityInfo/store@3x.png) 3x);
  background-size: 100%;
  width: 0.158rem;
  height: 0.165rem;
  margin-right: 0.042rem;
}

.icon-message {
  display: inline-block;
  background: url(../images/equityInfo/message@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/message@2x.png) 2x, url(../images/equityInfo/message@3x.png) 3x);
  background-size: 100%;
  width: 0.12rem;
  height: 0.125rem;
  margin-right: 0.08rem;
}

.icon-phone {
  display: inline-block;
  background: url(../images/equityInfo/phone@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/phone@2x.png) 2x, url(../images/equityInfo/phone@3x.png) 3x);
  background-size: 100%;
  width: 0.12rem;
  height: 0.125rem;
  margin-right: 0.08rem;
}

.icon-address {
  display: inline-block;
  background: url(../images/equityInfo/address@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/address@2x.png) 2x, url(../images/equityInfo/address@3x.png) 3x);
  background-size: 100%;
  width: 0.12rem;
  height: 0.125rem;
  margin-right: 0.08rem;
  margin-top: 0.03rem;
}

.store-text {
  display: inline-block;
  width: 1.08rem;
}

.equity-tip {
  width: 2.28rem;
  font-size: 0.12rem;
  color: #E4E4E7;
  text-align: center;
  opacity: 0.5;
  margin: 0.1rem auto;
}

/* 权益服务 */
.service-icon {
  width: 0.74rem;
  height: 0.2rem;
  position: absolute;
  right: 0;
  top: 0;
}

.icon-serving {
  background: url(../images/equityInfo/mark-serving@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/mark-serving@2x.png) 2x, url(../images/equityInfo/mark-serving@3x.png) 3x);
  background-size: 100%;
}

.icon-expired {
  background: url(../images/equityInfo/mark-expired@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/mark-expired@2x.png) 2x, url(../images/equityInfo/mark-expired@3x.png) 3x);
  background-size: 100%;
}

.icon-refunded {
  background: url(../images/equityInfo/mark-refunded@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/mark-refunded@2x.png) 2x, url(../images/equityInfo/mark-refunded@3x.png) 3x);
  background-size: 100%;
}

.service-wrapper ul {
  margin: 0 0.2rem;
}

.service-wrapper ul li {
  position: relative;
  font-size: 0.12rem;
  color: #28304A;
  background-image: linear-gradient(140deg, rgba(250, 235, 206, 0.99) 0%, #EBB76D 100%);
  border-radius: 0.08rem;
  padding: 0.24rem 0.3rem;
  margin-bottom: 0.12rem;
}

.service-wrapper ul li div:first-child {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.1rem;
  font-size: 0.16rem;
}

.service-wrapper ul li div:last-child {
  padding-left: 0.2rem;
}

.equity-icon {
  display: inline-block;
  width: 0.16rem;
  height: 0.16rem;
  margin-right: 0.04rem;
  background-size: 100%;
}

.icon-rescue {
  background: url(../images/equityInfo/rescue@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/rescue@2x.png) 2x, url(../images/equityInfo/rescue@3x.png) 3x);
  background-size: 100%;
}

.icon-driving {
  background: url(../images/equityInfo/driving@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/driving@2x.png) 2x, url(../images/equityInfo/driving@3x.png) 3x);
  background-size: 100%;
}

.icon-total-loss {
  background: url(../images/equityInfo/total-loss@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/total-loss@2x.png) 2x, url(../images/equityInfo/total-loss@3x.png) 3x);
  background-size: 100%;
}

.icon-service {
  background: url(../images/equityInfo/service@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/service@2x.png) 2x, url(../images/equityInfo/service@3x.png) 3x);
  background-size: 100%;
}

.icon-service-tip {
  background: url(../images/equityInfo/service-tip@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/service-tip@2x.png) 2x, url(../images/equityInfo/service-tip@3x.png) 3x);
  background-size: 100%;
}

.icon-activity {
  background: url(../images/equityInfo/activity-tip@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/equityInfo/activity-tip@2x.png) 2x, url(../images/equityInfo/activity-tip@3x.png) 3x);
  background-size: 100%;
}

.equity-btn {
  text-align: center;
  padding-bottom: 0.5rem;
  font-size: 0.2rem;
  height: 0.7rem;
}

.equity-wrapper .show {
  display: block;
}

.equity-wrapper .hidden {
  display: none;
}

.equity-btn button {
  display: inline-block;
  width: 2.74rem;
  height: 0.48rem;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 0.48rem;
  font-size: 0.2rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.30);
  margin-bottom: 0.12rem;
}

.active-bg button {
  background: url(../images/active-bg@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/active-bg@2x.png) 2x, url(../images/active-bg@3x.png) 3x);
  background-size: 100%;
}

.inactive-bg button {
  background: url(../images/inactive-bg@2x.png) no-repeat;
  background-image: -webkit-image-set(url(../images/inactive-bg@2x.png) 2x, url(../images/inactive-bg@3x.png) 3x);
  background-size: 100%;
}

.inactivated div {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  font-size: 0.1rem;
  color: #E4E4E7;
}

.equity-btn div input {
  margin-right: 0.06rem;
}