@charset "utf-8";
* {
  padding: 0;
  margin: 0;
}
.none {
  display: none;
}
.container {
  width: 100%;
  margin: 0 auto;
}
.left {
  float: left;
}
.right {
  float: right;
}
li {
  list-style: none;
}
.clearfix {
  zoom: 1;
}
.clearfix:after {
  display: block;
  clear: both;
  content: '';
  overflow: hidden;
  height: 0;
  visibility: hidden;
}
html,
body {
  font-family: "微软雅黑";
}
body {
  background-color: #F9F9F9;
}
html {
  font-size: 10px;
  -ms-text-size-adjust: none;
  -webkit-text-size-adjust: none;
}
@media screen and (min-width: 321px) and (max-width: 375px) {
  html {
    font-size: 11px;
    -ms-text-size-adjust: none;
    -webkit-text-size-adjust: none;
  }
}
@media screen and (min-width: 376px) and (max-width: 414px) {
  html {
    font-size: 12px;
  }
}
@media screen and (min-width: 415px) and (max-width: 639px) {
  html {
    font-size: 15px;
  }
}
@media screen and (min-width: 640px) and (max-width: 719px) {
  html {
    font-size: 20px;
  }
}
@media screen and (min-width: 720px) and (max-width: 749px) {
  html {
    font-size: 22.5px;
  }
}
@media screen and (min-width: 750px) and (max-width: 799px) {
  html {
    font-size: 23.5px;
  }
}
@media screen and (min-width: 800px) {
  html {
    font-size: 25px;
  }
}
a {
  text-decoration: none;
  color: #051b28;
}
.header {
  height: 5rem;
  line-height: 5rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
}
.header img {
  width: 8rem;
  height: 4rem;
  border-radius: 10%;
}
.header span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-left: 1rem;
}
.banner {
  width: 100%;
}
.banner img {
  width: 100%;
}
.main {
  width: 100%;
  margin-top: 1rem;
  box-sizing: border-box;
  padding: 0 0.8rem;
}
.main .goods {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.main .goods .item {
  width: 49%;
  background-color: #fff;
  border-radius: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}
.main .goods .item a {
  display: block;
}
.main .goods .item a .goods-pic {
  width: 100%;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.main .goods .item a .goods-name {
  margin: 0.5rem 0;
  width: 100%;
  height: 3rem;
  line-height: 1.5rem;
  box-sizing: border-box;
  padding: 0 0.8rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  overflow: hidden;
}
.main .goods .item a .goods-price .present {
  color: #f60;
  font-size: 1.4rem;
  display: inline-block;
  margin: 0 1rem 0 0.4rem;
}
.main .goods .item a .goods-price .old {
  font-size: 1.3rem;
  color: #999;
  text-decoration: line-through;
}
.envelop {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.3);
  filter: alpha(opacity=30);
  font-size: 1.6rem;
}
.envelop .info {
  color: #fff437;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 180px;
  margin: -90px 0 0 -100px;
  animation: active 400ms ease-in 2 alternate;
}
@keyframes active {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-45deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(45deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.envelop .info .red {
  width: 100%;
  height: 100%;
}
.envelop .info span {
  display: block;
  text-align: center;
  position: absolute;
  bottom: 25px;
  left: 75px;
}
.envelop .info .close {
  position: absolute;
  top: 10px;
  right: 0px;
  cursor: pointer;
}
.envelop .finish {
  display: none;
  color: #fff437;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 216px;
  margin: -108px 0 0 -130px;
}
.envelop .finish p {
  text-align: center;
  position: absolute;
  bottom: 55px;
  left: 65px;
  line-height: 28px;
}
.envelop .finish p span {
  font-weight: bold;
  font-size: 2.4rem;
}
.envelop .finish .red {
  width: 100%;
  height: 100%;
}
.envelop .finish .close {
  position: absolute;
  top: 10px;
  right: 0px;
  cursor: pointer;
}
