.bg { width: 10rem; margin: 0 auto; position: relative; overflow: hidden; } .banner { width: 10rem; height: 8.58rem; background: url(../images/banner.png) no-repeat; background-size: 100% 100%; position: relative; } .top-btn1 { height: 1.73rem; width: 10rem; background: url(../images/top-btn1.png) no-repeat; background-size: 100% 100%; margin-top: -1rem; z-index: 50; } .top-btn1 div { width: 50%; float: left; height: 1.73rem; position: relative; } .top-btn2 { background: url(../images/top-btn2.png) no-repeat; background-size: 100% 100%; } .task-box { width: 9.62rem; height: 14.453rem; background: url(../images/task-box.png) no-repeat; background-size: 100% 100%; position: relative; margin: 0 auto; margin-top: 0.4rem; } .lucky-title { width: 10rem; height: 5.62rem; background: url(../images/lucky-title.png) no-repeat; background-size: 100% 100%; } iframe { width: 10rem; height: 10rem; background: pink; margin-top: -1.3rem; position: relative; z-index: 2; } .user-list-title { width: 10rem; height: 5.62rem; background: url(../images/user-list-title.png) no-repeat; background-size: 100% 100%; position: relative; margin-top: -0.2rem; } .user-list-box { width: 9.62rem; height: 17.586rem; background: url(../images/user-list-box.png) no-repeat; background-size: 100% 100%; position: relative; margin: 0 auto; margin-top: -0.6rem; overflow: hidden; } .user-btn1 { width: 7.06rem; height: 1.33rem; background: url(../images/user-btn1.png) no-repeat; background-size: 100% 100%; position: relative; margin: 0 auto; margin-top: 1.6rem; } .user-btn1 > div { position: relative; width: 50%; float: left; height: 1.33rem; } .user-btn2 { background: url(../images/user-btn2.png) no-repeat; background-size: 100% 100%; } .user-ul { width: 8.61rem; margin: 0 auto; height: 12rem; overflow: scroll; -webkit-overflow-scrolling: touch; margin-top: 2.2rem; } .user-ul li { width: 8.61rem; height: 1.72rem; background: url(../images/list-bg6.png) no-repeat; background-size: 100% 100%; margin-bottom: 0.2rem; line-height: 1.72rem; } .user-ul .user-box1 { width: 0.8rem; float: left; height: 1.72rem; text-align: center; color: #F7EDAE; font-size: 0.45rem; } .user-ul .user-box2 { position: relative; width: 4.5rem; float: left; height: 1.72rem; color: #F7EDAE; font-size: 0.33rem; text-indent: 1.3rem; } .user-ul .user-face { width: 1.1rem; height: 1.1rem; border-radius: 50%; position: absolute; left: 0rem; top: 0.28rem; } .user-ul .user-box3 { width: 3.2rem; float: left; height: 1.72rem; color: #F7EDAE; font-size: 0.33rem; } .user-ul .user-box3 span { color: #FFFF4E; } .user-ul li:nth-child(1) { width: 8.61rem; height: 1.92rem; background: url(../images/list-bg1.png) no-repeat; background-size: 100% 100%; line-height: 1.92rem; } .user-ul li:nth-child(1) .user-box1 { width: 0.8rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(1) .user-face { width: 1.1rem; height: 1.1rem; border-radius: 50%; position: absolute; left: 0rem; top: 0.5rem; } .user-ul li:nth-child(1) .user-box2 { width: 4.5rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(1) .user-box3 { width: 3.2rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(2) { width: 8.61rem; height: 1.92rem; background: url(../images/list-bg2.png) no-repeat; background-size: 100% 100%; } .user-ul li:nth-child(2) .user-box1 { width: 0.8rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(2) .user-face { width: 1.1rem; height: 1.1rem; border-radius: 50%; position: absolute; left: 0rem; top: 0.5rem; } .user-ul li:nth-child(2) .user-box2 { width: 4.5rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(2) .user-box3 { width: 3.2rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(3) { width: 8.61rem; height: 1.92rem; background: url(../images/list-bg3.png) no-repeat; background-size: 100% 100%; } .user-ul li:nth-child(3) .user-box1 { width: 0.8rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(3) .user-face { width: 1.1rem; height: 1.1rem; border-radius: 50%; position: absolute; left: 0rem; top: 0.5rem; } .user-ul li:nth-child(3) .user-box2 { width: 4.5rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(3) .user-box3 { width: 3.2rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(4) { width: 8.61rem; height: 1.92rem; background: url(../images/list-bg4.png) no-repeat; background-size: 100% 100%; } .user-ul li:nth-child(4) .user-box1 { width: 0.8rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(4) .user-face { width: 1.1rem; height: 1.1rem; border-radius: 50%; position: absolute; left: 0rem; top: 0.5rem; } .user-ul li:nth-child(4) .user-box2 { width: 4.5rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(4) .user-box3 { width: 3.2rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(5) { width: 8.61rem; height: 1.92rem; background: url(../images/list-bg5.png) no-repeat; background-size: 100% 100%; } .user-ul li:nth-child(5) .user-box1 { width: 0.8rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(5) .user-face { width: 1.1rem; height: 1.1rem; border-radius: 50%; position: absolute; left: 0rem; top: 0.5rem; } .user-ul li:nth-child(5) .user-box2 { width: 4.5rem; float: left; height: 1.92rem; line-height: 2.1rem; } .user-ul li:nth-child(5) .user-box3 { width: 3.2rem; float: left; height: 1.92rem; line-height: 2.1rem; } .gift-box { height: 15.68rem; width: 9.62rem; background: url(../images/gift-box.png) no-repeat; background-size: 100% 100%; position: relative; margin: 0 auto; margin-top: 0.4rem; } .gift-box2 { width: 9.62rem; height: 6.53rem; background: url(../images/gift-box2.png) no-repeat; background-size: 100% 100%; position: relative; margin: 0 auto; margin-top: 0.4rem; z-index: 5; } .list-bg { width: 9.62rem; height: 13.7rem; background: url(../images/list-bg.png) no-repeat; background-size: 100% 100%; position: relative; margin: 0 auto; margin-top: 0.4rem; overflow: hidden; } .list-ul { width: 8.61rem; margin: 0 auto; height: 9.7rem; overflow: scroll; -webkit-overflow-scrolling: touch; position: relative; margin-top: 3.5rem; } .list-ul li { width: 8.61rem; height: 1.72rem; background: url(../images/list-bg6.png) no-repeat; background-size: 100% 100%; margin-bottom: 0.2rem; overflow: hidden; } .list-ul .li-box1 { width: 1rem; height: 1.72rem; float: left; position: relative; line-height: 1.72rem; text-align: center; font-size: 0.35rem; font-weight: 700; color: #FFFFCA; } .list-ul .li-box1 > img { vertical-align: middle; width: 0.73rem; margin-top: -0.1rem; } .list-ul .li-mc-face { width: 1.1rem; height: 1.1rem; border-radius: 50%; position: absolute; top: 0.3rem; left: 0.1rem; } .list-ul .li-user-face { width: 1.1rem; height: 1.1rem; border-radius: 50%; position: absolute; top: 0.3rem; left: 1.25rem; } .list-ul .li-box2 { width: 5.3rem; height: 1.72rem; float: left; position: relative; color: #FFFFCA; font-size: 0.33rem; text-indent: 2.6rem; } .list-ul .li-box2 .li-p1 { padding-top: 0.4rem; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .list-ul .li-box2 .li-p2 { font-size: 0.3rem; color: #FFF446; padding-top: 0.06rem; } .list-ul .li-box3 { width: 2.2rem; height: 1.72rem; line-height: 1.72rem; float: left; position: relative; font-size: 0; text-align: center; } .list-ul .li-box3 p { font-size: 0.35rem; color: #FFF446; } .list-ul .li-box3 > img { vertical-align: middle; width: 1.94rem; } .list-floor { width: 10rem; height: 5.62rem; background: url(../images/list-floor.png) no-repeat; background-size: 100% 100%; margin-top: -0.5rem; overflow: hidden; position: relative; } .top-like { position: absolute; width: 1.3rem; height: 0.5rem; left: 4.3rem; top: 3.1rem; /* display: none; */ z-index: 50; } .top-face { width: 1.4rem; height: 1.4rem; border-radius: 50%; position: absolute; top: 1.9rem; left: 4.2rem; } .top-p1 { width: 10rem; font-size: 0.4rem; font-weight: 700; color: #fff; text-align: center; text-shadow: 0.03rem 0.03rem 0.03rem #641788, -0.03rem 0.03rem 0.03rem #641788, 0.03rem -0.03rem 0.03rem #641788, -0.03rem -0.03rem 0.03rem #641788; margin-top: 5.3rem; } .top-p2 { width: 10rem; text-align: center; color: #F8D700; font-size: 0.33rem; font-weight: 700; padding-top: 4.2rem; } .top-p3 { width: 10rem; text-align: center; color: #FF790F; font-size: 0.33rem; font-weight: 700; } .task1 { position: absolute; width: 1.98rem; height: 0.773rem; background: url(../images/task1.png) no-repeat; background-size: 100% 100%; left: 7rem; top: 3.5rem; } .task2 { position: absolute; width: 1.98rem; height: 0.773rem; background: url(../images/task1.png) no-repeat; background-size: 100% 100%; left: 7rem; top: 5.3rem; } .task3 { position: absolute; width: 1.98rem; height: 0.773rem; background: url(../images/task1.png) no-repeat; background-size: 100% 100%; left: 7rem; top: 7.1rem; } .task4 { position: absolute; width: 1.98rem; height: 0.773rem; background: url(../images/task1.png) no-repeat; background-size: 100% 100%; left: 7rem; top: 8.9rem; } .task5 { position: absolute; width: 1.98rem; height: 0.773rem; background: url(../images/task1.png) no-repeat; background-size: 100% 100%; left: 7rem; top: 10.7rem; } .task6 { position: absolute; width: 1.98rem; height: 0.773rem; background: url(../images/task1.png) no-repeat; background-size: 100% 100%; left: 7rem; top: 12.5rem; } .task1-btn { background: url(../images/task1.png) no-repeat; background-size: 100% 100%; } .task2-btn { background: url(../images/task2.png) no-repeat; background-size: 100% 100%; } .task3-btn { background: url(../images/task3.png) no-repeat; background-size: 100% 100%; } .task4-btn { background: url(../images/task4.png) no-repeat; background-size: 100% 100%; } .task5-btn { background: url(../images/task5.png) no-repeat; background-size: 100% 100%; } .task6-btn { background: url(../images/task6.png) no-repeat; background-size: 100% 100%; }