discount.wxss 1.75 KB
/* components/reserve/discount.wxss */
@import "../../app.wxss";
.discount{
  position: fixed;
  bottom: 0;
  background-color: #ffffff;
  border-radius: 10rpx 10rpx 0rpx 0rpx;
  color: #353535;
  width: 90%;
  padding: 30rpx 5%;
  animation: discountShow 0.3s;
}
.discount.discountHide{
  animation: discountHide 0.3s;
}
.discount view{
  background-size: 100% 100%;
}
.discount-name{
  font-size: 32rpx;
  height: 44rpx;
  line-height: 44rpx;
  width: 100%;
  position: relative;
  text-align: center;
}
.discount-name .close{
  background-image: url("http://qn.colorcun.com/reserve/images/%E5%85%B3%20%20%E9%97%AD.png");
  width: 32rpx;
  height: 32rpx;
  position: absolute;
  right:0;
  top:6rpx;
}
.slogan{
  background-color: #FEF1EA;
  height: 70rpx;
  line-height: 70rpx;
  font-size: 28rpx;
  color:#C28C56;
  margin-top: 30rpx;
  text-align: center;
  border-radius: 6rpx;
}
.list{
  max-height: 730rpx;
}
.item{
  width: 100%;
  max-width: 690rpx;
  height: 190rpx;
  background-image: url("http://qn.colorcun.com/reserve/images/%E4%BC%98%E6%83%A0%E5%88%B8.png");
  margin-top: 40rpx;
}
.item .left{
  width: 220rpx;
  height: 190rpx;
  color: #fff;
}
.item .right{
  max-width: 300rpx;
  height: 190rpx;
  margin-left: 50rpx;
  font-size: 28rpx;
}
.item .info{
  font-size: 24rpx;
  height: 34rpx;
  line-height: 34rpx;
  margin-top: 12rpx;
}
.item .block{
  height: 52rpx;
  align-items: flex-end;
}
.item .min-font{
  font-size: 32rpx;
  height: 32rpx;
  line-height: 32rpx;
}
.item .max-font{
  font-size: 52rpx;
  height: 52rpx;
  line-height: 52rpx;
}
.item .flx{
  height: 52rpx;
  line-height: 52rpx;
  width: 10rpx;
}
@keyframes discountShow
{
  from {bottom: -870rpx;}
  to {bottom: 0rpx;}
}
@keyframes discountHide
{
  from {height: 730rpx;}
  to {height: 0rpx;}
}