div,h3,li{box-sizing: border-box;}
body{
  /* background: url(../img/bg.png);  */
  background-color: #bd050a;}
header{
  background: url(../img/header.png) center 0/contain no-repeat;
  height: 6.26rem;
  width: 7.5rem;
  margin: 0 auto;
  position: relative;
}
.receive-part{
  width: 6.88rem;
  height: 1.3rem;
  background: url(../img/receive.png) 0/contain no-repeat;
  padding: .24rem 0 0 1.43rem;
  margin: 0 auto .6rem;
  display: block;
}
.receive-part p{
  font-size: .2rem;
  color: #ffd8ad;
  font-weight: 300;
  line-height: .36rem;
}

a.rule-link{
  position: absolute;
  top: 0;
  right: 20px;
  display: block;
  height: 0.5rem;
  width: 1.2rem;
}
.main{padding-bottom: .1rem;}
.part1 .title{height: 1.49rem; width:7.5rem; background: url(../img/tit1.png) 0/cover no-repeat; margin: 0.3rem auto;}
.part1 ul{display: flex;overflow-x: scroll;height: 4rem;}
.part1 ul li .time{padding: 0 0 .1rem .36rem; font-size: .24rem; color: #fbe8bb;}
.part1 ul li .line{background: url(../img/line.png) 0/cover no-repeat; height: .2rem; width: 4.2rem;}
.part1 ul li .content{height: 3rem; width: 3.84rem; margin: .16rem 0 0 .36rem;display: inline-block;}
.part1 ul li .content h3{height: .48rem; width: 100%;background: url(../img/li-tit-bg.png) 0/cover no-repeat; display: flex; justify-content: space-between; align-items: center; font-weight: bold; font-size: .24rem; color: #fbe8bb;padding: 0 .16rem;}
.part1 ul li.cur .line{background: url(../img/line-cur.png) 0/cover no-repeat;}
.part1 ul li .content img{height: 2.56rem; width: 100%;}
.sub-btn{color:#bc2d1b; font-size: .3rem;font-weight: bold; height: .97rem; line-height: .9rem; text-align: center; width: 6.84rem; background: url(../img/sub-btn.png) 0/cover no-repeat; margin: 0 auto .1rem;}

.part2{ background-color: #8b0b04;padding: .001rem 0 .2rem;}
.part2 .title{height: 1.82rem; width:7.5rem; background: url(../img/tit.png) 0/cover no-repeat; margin: 0.3rem auto;}
.part2 ul.hongbao-wrap{display: flex; justify-content: space-around;}
.part2 ul.hongbao-wrap li{height: 2.69rem; width: 1.93rem; background: url(../img/redpocket.png) 0/cover no-repeat; position: relative; }
.part2 ul.hongbao-wrap li p{text-align: center; font-size: .24rem; color: #fff5dd;}
.part2 ul.start-data {display: flex; justify-content: space-around;text-align: center; margin: -.1rem 0 .2rem;}
.part2 ul.start-data li p{ font-size: .24rem; color: #fff5dd;}
.openred{position: relative;}
.openred .btn-chai{margin: 1.1rem auto 0; background: url(../img/icon-chai.png) 0/contain no-repeat; height: .8rem; width: .8rem; cursor: pointer;}
.openred .btn-end{margin: 1.3rem auto 0; background: url(../img/icon-end.png) 0/contain no-repeat; height: .52rem; width: 1.38rem; cursor: pointer;}
.openred .btn-received{margin: 1.3rem auto 0; background: url(../img/icon-done.png) 0/contain no-repeat; height: .52rem; width: 1.76rem; cursor: pointer;}
.openred .hongbao-tips{position: absolute;bottom: 0.4rem;width: 100%;text-align: center;}
.part3 .title{height: 2.16rem; width:7.5rem; background: url(../img/tit2.png) 0/cover no-repeat; margin: 0.3rem auto;}
.part3 .sub-tit{height: .23rem; width:5.38rem; background: url(../img/sub-tit.png) 0/cover no-repeat; margin: 0.3rem auto;}
.part3 ul li{height: 2.13rem; width: 6.77rem; background-color: #fff5dd; margin: .3rem auto; border-radius: .1rem; padding: 0 .26rem;display: flex; align-items: center;}
.part3 ul li .avatar{position: relative;}
.part3 ul li .avatar img{height: 1.6rem; width: 1.6rem; border-radius: 50%;}
.part3 ul li .avatar .icon-v{height: .53rem; width: .53rem; background: url(../img/icon-v.png) 0/cover no-repeat; position: absolute; right: 0; bottom: 0;}
.part3 ul li .content{margin-left: .36rem;}
.part3 ul li .content h4{font-size: .36rem; color: #333; font-weight: bold;}
.part3 ul li .content p{font-size: .3rem; color: #985721; }
.part3 ul li .content .btn-wrap{margin-top: .1rem;}
.part3 ul li .content .btn-wrap a{height: .5rem;line-height: .5rem; padding: 0 .2rem; display: inline-block;font-size: .28rem; font-weight: bold; border-radius: .25rem;}
.part3 ul li .content .zhibo{border: 1px solid #985721;color: #985721;}
.part3 ul li .content .lingquan{background-color: #d94c2b; color: #985721;margin-left: .2rem; background: url(../img/lingquan-btn.png) 0/contain no-repeat;}
.qrcode-intro{color: #fef7e7; font-size: .23rem; margin: .4rem auto; text-align: center;}
.img-qrcode{width: 2rem; height: 2rem; display: block; margin: 0 auto .5rem;}

#main .envelope{
  background: url(//n.sinaimg.cn/finance/tzxy2021/618/h5/src/img/red-bg1.png) 0/contain no-repeat;
  width: 5.72rem!important;
  height: 9.07rem;
  background-color: transparent;
  box-shadow: none;
}
.envelope .chai{
  height: 2.6rem;
  margin-top: 4.4rem;
  cursor: pointer;
}
.envelope .layui-layer-setwin{
  right: 2.8rem;
  top: 8.1rem;
}

.envelope .layui-layer-setwin .layui-layer-close2 {
  background: none;
  width: .6rem;
  height: .6rem;
}
#main .envelope1 {
  background: url(//n.sinaimg.cn/finance/1111/coupon/h5/src/img/red-bg2.png) no-repeat;
  width: 5.72rem!important;
  height: 9.07rem;
  background-color: transparent;
  background-size: contain;
  box-shadow: none;
}

.envelope1 .layui-layer-setwin {
  right: 3.1rem;
  top: 8.4rem;
}

.envelope1 .layui-layer-setwin .layui-layer-close2 {
  background: none;
}

.envelope1 .num-wrap {
  font-size: .16rem;
  color: #e02828;
  line-height: normal;
}

.envelope1 .num-wrap span {
  font-size: 0.85rem;
  font-weight: bold;
}

.envelope1 .action {
  text-align: center;
  padding-top: 1.7rem;
}

.envelope1 .action a {
  font-size: 0.24rem;
  color: #e02828;
  padding-bottom: 4px;
  border-bottom: 1px solid #e02828;
}
.envelope1 ul{
  margin: 0.5rem auto 0;
  width: 4.9rem;
  height: 3.8rem;
  overflow-y: scroll;
}
.envelope1 ul li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 1.3rem;
  border-bottom: 1px solid #f6f6f6;
}
.envelope1 ul li img.avatar{
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  margin-right: 0.2rem;
}
.envelope1 ul li .left{
  display: flex;
  align-items: center;
  height: 1.3rem;
}
.envelope1 ul li .name{
  color: #333333;
  font-size: 0.28rem;
}
.envelope1 ul li .time{
  color: #999;
  font-size: 0.2rem;
}
.envelope1 ul li .cp_title{
  color: #333333;
  font-size: 0.28rem;
}
.bottom-bar{
  position: fixed;
  bottom: 0;
  height: 0.6rem;
  display: block;
  width: 100%;
  background: url(../img/float-bar.png) no-repeat;
  background-size: cover;
}