body{width: 100%;min-height: 100vh;background: url(https://kx-youhuiquan.oss-cn-beijing.aliyuncs.com/shuangshiyi/chaojihongbao/wish_bg.png) repeat-y;background-size: 100%;} .container{width: 100%;padding-top:3.325rem;position: absolute;top: 0;left: 0;} .daojishi{ height: 1.43rem; } .daojishi .img{ width:3.115rem; margin: auto; } .con_top{ height:0.615rem; font-size:0.44rem; color:#FF74C2; line-height:0.44rem; text-align: center; margin: auto; padding-top: 0.1rem; letter-spacing:0.02rem; } #endtime{ color: #FFFFFF; font-size: 0.24rem; line-height: 0.335rem; display: flex; align-items: center; justify-content: center; /*margin-top: 0.085rem;*/ margin-top: 0.005rem; margin-bottom: 0.06rem; } #endtime span{ display: inline-block; width: 0.36rem; height: 0.47rem; background: #FF74C2; border-radius: 0.1rem; font-size: 0.27rem; line-height: 0.47rem; text-align: center; margin: 0 0.075rem; } .button{ width:1.43rem; height:0.47rem; background:#EC57FC; border-radius:0.235rem; color: #FFFFFF; display: block; margin: auto; font-size:0.25rem; line-height:0.47rem; } .red_tip{ height:0.25rem; font-size:0.18rem; color:#FFFFFF; line-height:0.25rem; text-align: center; padding-top: 0.135rem; letter-spacing: 0.01rem; } .count_down_tip{ width:3.1rem; height:0.705rem; font-size:0.18rem; color:#FFFFFF; line-height:0.705rem; text-align: center; margin: auto; background: url(https://kx-youhuiquan.oss-cn-beijing.aliyuncs.com/shuangshiyi/chaojihongbao/wish_tit.png) no-repeat; background-size: 100%; } /*banner*/ .bg_img{ width: 100%; height: 100vh; position: position; left: 0; top: 0; } .bg_img #bg_top_img{ width: 100%; position: absolute; top: 0; left: 0; } .bg_img #bg_bottom_img{ width: 100%; position: absolute; bottom: 0; left: 0; } /*复制/提示*/ #copy_1,#copy_2,#taokouling{ position: absolute; left: -1000rem; } .alert-info { position: absolute; top: 4.6rem; right: 0; left: 0; bottom: 0; text-align: center; } .alert-info p { display: inline-block; height: 0.38rem; color: #fff; font-size: 0.14rem; line-height: 0.38rem; padding: 0 0.10rem; background-color: rgba(0, 0, 0, 0.7); border-radius: 5px; }