.bg{ width: 10rem; margin: 0 auto; position: relative; overflow: hidden; } .ref{ position: fixed; top: 5rem; right: 0; z-index: 500; width: 0.8rem; } .banner{ width: 10rem; height: 7.49rem; background: url(../images/banner.png)no-repeat; background-size: 100% 100%; position: relative; } .task-box{ position: relative; width: 10rem; height: 10.82rem; background: url(../images/task-box.png)no-repeat; background-size: 100% 100%; } .floor-bg{ position: relative; width: 10rem; height: 2.94rem; background: url(../images/floor-bg.png)no-repeat; background-size: 100% 100%; margin-top: -0.8rem; } iframe{ width: 10rem; height: 10.5rem; margin-top: -0.5rem; } .lunbo-box{ position: relative; overflow: hidden; z-index: 2; width: 10rem; height: 8rem; background: url(../images/lunbo-box.png)no-repeat; background-size: 100% 100%; } .list-box{ position: relative; width: 10rem; height: 19.04rem; background: url(../images/list-box.png)no-repeat; background-size: 100% 100%; margin-top: -0.8rem; overflow: hidden; } .task-btn1{ width: 1.893rem; height: 0.68rem; position: absolute; left: 7rem; top: 2.55rem; } .task-btn2{ width: 1.893rem; height: 0.68rem; position: absolute; left: 7rem; top: 4.4rem; } .task-btn3{ width: 1.893rem; height: 0.68rem; position: absolute; left: 7rem; top: 6.2rem; } .task-btn4{ width: 1.893rem; height: 0.68rem; position: absolute; left: 7rem; top: 8rem; } .task1{ background: url(../images/task1.png)no-repeat; background-size: 100% 100%; } .task2{ background: url(../images/task2.png)no-repeat; background-size: 100% 100%; } .task3{ background: url(../images/task3.png)no-repeat; background-size: 100% 100%; } .task4{ background: url(../images/task4.png)no-repeat; background-size: 100% 100%; } .task5{ background: url(../images/task5.png)no-repeat; background-size: 100% 100%; } .lunbo-content{ width: 8rem; height: 5.5rem; margin: 0 auto; margin-top: 1.3rem; overflow: hidden; >div{ padding-top: 0.15rem; color: #FFFFFF; font-size: 0.35rem; line-height: 0.5rem; text-align: center; font-weight: 700; background: rgba(0,0,0,0.2); width: 8rem; height: 1.1rem; margin-bottom: 0.125rem; width: 8rem; border-radius: 0.2rem; } } .list-ul{ width: 8.7rem; height: 12rem; margin: 0 auto; // background: pink; margin-top: 6.7rem; position: relative; overflow: scroll; -webkit-overflow-scrolling: touch; li:nth-child(1){ width: 8.613rem; height: 1.92rem; background: url(../images/list-bg1.png)no-repeat; background-size: 100% 100%; line-height: 2.2rem; .user-face{ top: 0.47rem; } } li:nth-child(2){ width: 8.613rem; height: 1.92rem; background: url(../images/list-bg2.png)no-repeat; background-size: 100% 100%; line-height: 2.2rem; .user-face{ top: 0.47rem; } } li:nth-child(3){ width: 8.613rem; height: 1.92rem; background: url(../images/list-bg3.png)no-repeat; background-size: 100% 100%; line-height: 2.2rem; .user-face{ top: 0.47rem; } } li:nth-child(4){ width: 8.613rem; height: 1.92rem; background: url(../images/list-bg4.png)no-repeat; background-size: 100% 100%; line-height: 2.2rem; .user-face{ top: 0.47rem; } } li:nth-child(5){ width: 8.613rem; height: 1.92rem; background: url(../images/list-bg5.png)no-repeat; background-size: 100% 100%; line-height: 2.2rem; .user-face{ top: 0.47rem; } } li{ height: 1.72rem; line-height: 1.72rem; width: 8.613rem; margin-bottom: 0.1rem; background: url(../images/list-bg6.png)no-repeat; background-size: 100% 100%; } } .user-box1{ width: 0.8rem; float: left; height: 1.72rem; text-align: center; color:#F7EDAE ; font-size: 0.45rem; } .user-box2{ position: relative; width: 4.5rem; float: left; height: 1.72rem; color:#F7EDAE ; font-size: 0.33rem; text-indent: 1.3rem; } .user-face{ width: 1.1rem; height: 1.1rem; border-radius: 50%; position: absolute; left: 0rem; top: 0.28rem; } .user-box3{ width: 3.2rem; float: left; height: 1.72rem; color:#F7EDAE ; font-size: 0.33rem; span{ color:#FFFF4E; } } .dew-btn{ position: absolute; right: 0.5rem; top: 0.9rem; width: 2.61rem; height: 0.8rem; background: url(../images/dew-btn.png)no-repeat; background-size: 100% 100%; } .exc-btn{ position: absolute; z-index: 50; left: 0.2rem; top: 1rem; width: 2.61rem; height: 0.8rem; background: url(../images/exc-btn.png)no-repeat; background-size: 100% 100%; } .rule-btn{ position: absolute; z-index: 50; right: 0.2rem; top: 1rem; width: 1.973rem; height: 0.8rem; background: url(../images/game-btn.png)no-repeat; background-size: 100% 100%; } .layer-dew{ display: none; width: 10rem; height: 8rem; background: url(../images/layer-dew.png)no-repeat; background-size: 100% 100%; } .layer-rule{ display: none; width: 10rem; height: 8rem; background: url(../images/layer-rule.png)no-repeat; background-size: 100% 100%; } .act-room-bg{ float: right; width: 8.8rem; height: 3.687rem; background: url(../images/act-room1.png)no-repeat; background-size: 100% 100%; } .pop{ width: 9.98rem; height: 6.32rem; background: url(../images/pop-bg.png)no-repeat; background-size: 100% 100%; margin: 0 auto; } .pop-btn{ width: 3.13rem; height: 1.213rem; background: url(../images/pop-btn.png) no-repeat; background-size: 100% 100%; position: absolute; top: 6.2rem; left: 3.435rem; } .ref{ width: 0.72rem; }