Files
peko-h5/view/peko/activity/act-520/css/index.css
2022-09-08 18:22:18 +08:00

320 lines
6.2 KiB
CSS

body {
background-color: #FFD6E9;
}
body .wrap .back {
position: fixed;
top: 0.93333rem;
left: 0.45333rem;
z-index: 999;
width: 0.82667rem;
height: 0.82667rem;
}
body .wrap .back img {
width: 100%;
height: 100%;
}
body .wrap .rule_icon, body .wrap .award_icon {
position: fixed;
right: 0;
top: 5.4rem;
z-index: 999;
width: 0.56rem;
height: 1.52rem;
}
body .wrap .award_icon {
top: 7.13333rem;
}
body .wrap .header {
width: 100%;
height: 10.66667rem;
}
body .wrap .header img {
width: 100%;
height: 100%;
}
body .wrap .gift_pic {
width: 9.57333rem;
height: 5.68rem;
margin: -1.65333rem auto 0;
}
body .wrap .gift_pic img {
width: 100%;
height: 100%;
}
body .wrap .tab_wrap {
position: relative;
width: 8.16rem;
height: 1.6rem;
background: url("../images/tab1-active.png") no-repeat 0 0/100% 100%;
margin: 0.22667rem auto 0.33333rem;
}
body .wrap .tab_wrap div {
position: absolute;
top: 0.21333rem;
width: 3.84rem;
height: 1.2rem;
}
body .wrap .tab_wrap div:nth-of-type(1) {
left: 0.21333rem;
}
body .wrap .tab_wrap div:nth-of-type(2) {
right: 0.21333rem;
}
body .wrap .rank_wrap {
width: 9.6rem;
height: 23.49333rem;
background: url("../images/rank-bg.png") no-repeat 0 0/100% 100%;
margin: 0 auto 0.93333rem;
overflow: hidden;
}
body .wrap .rank_wrap .type_wrap {
width: 46%;
display: flex;
justify-content: space-between;
margin: 0.8rem auto 0.29333rem;
}
body .wrap .rank_wrap .type_wrap img {
width: 2.10667rem;
height: 0.98667rem;
}
body .wrap .rank_wrap .topthree_wrap {
position: relative;
height: 4.8rem;
}
body .wrap .rank_wrap .topthree_wrap .topthree_item {
position: absolute;
top: 0rem;
display: flex;
flex-direction: column;
align-items: center;
}
body .wrap .rank_wrap .topthree_wrap .topthree_item:nth-child(1) {
left: 50%;
transform: translateX(-50%);
}
body .wrap .rank_wrap .topthree_wrap .topthree_item:nth-child(2) {
left: 1.2rem;
top: 1.10667rem;
}
body .wrap .rank_wrap .topthree_wrap .topthree_item:nth-child(3) {
right: 1.2rem;
top: 1.10667rem;
}
body .wrap .rank_wrap .topthree_wrap .topthree_item .headwear {
width: 1.78667rem;
height: 2.26667rem;
z-index: 1;
}
body .wrap .rank_wrap .topthree_wrap .topthree_item .avatar {
position: absolute;
top: 0.50667rem;
width: 1.76rem;
height: 1.76rem;
border-radius: 50%;
}
body .wrap .rank_wrap .topthree_wrap .topthree_item .nick {
font-size: 0.32rem;
font-weight: bold;
color: #A17BF4;
margin-top: 0.18667rem;
margin-bottom: 0.13333rem;
}
body .wrap .rank_wrap .topthree_wrap .topthree_item .num {
font-size: 0.32rem;
color: #FF7DA0;
}
body .wrap .rank_wrap .others_wrap li {
display: flex;
align-items: center;
width: 8.26667rem;
height: 1.86667rem;
border-radius: 0.13333rem;
background-color: #FFEDF5;
margin: 0 auto 0.18667rem;
}
body .wrap .rank_wrap .others_wrap li .index {
width: 0.56rem;
height: 0.56rem;
line-height: 0.56rem;
border-radius: 50%;
background-color: #FFB5CA;
text-align: center;
font-size: 0.32rem;
font-weight: bold;
color: #fff;
margin-left: 0.21333rem;
}
body .wrap .rank_wrap .others_wrap li .others_avatar {
display: flex;
align-items: center;
justify-content: center;
width: 1.33333rem;
height: 1.33333rem;
border: 0.05333rem solid #FF769B;
border-radius: 50%;
box-sizing: border-box;
margin-left: 0.48rem;
margin-right: 0.33333rem;
}
body .wrap .rank_wrap .others_wrap li .others_avatar img {
width: 1.28rem;
height: 1.28rem;
border-radius: 50%;
}
body .wrap .rank_wrap .others_wrap li .others_nick {
flex: 1;
font-size: 0.32rem;
color: #8C67EF;
}
body .wrap .rank_wrap .others_wrap li .others_num {
line-height: 1.3;
text-align: right;
font-size: 0.26667rem;
color: #FF7DA0;
margin-right: 0.21333rem;
}
body .wrap .rank_wrap .others_wrap li .others_num span {
font-size: 0.4rem;
font-weight: bold;
}
body .wrap .rank_wrap .mine_wrap {
display: flex;
align-items: center;
width: 8.26667rem;
height: 1.86667rem;
margin: auto;
}
body .wrap .rank_wrap .mine_wrap .mine_index {
width: 0.96rem;
text-align: center;
font-size: 0.26667rem;
font-weight: bold;
color: #FFB6CA;
}
body .wrap .rank_wrap .mine_wrap .mine_avatar {
display: flex;
align-items: center;
justify-content: center;
width: 1.33333rem;
height: 1.33333rem;
border: 0.05333rem solid #FF769B;
border-radius: 50%;
box-sizing: border-box;
margin-left: 0.26667rem;
margin-right: 0.33333rem;
}
body .wrap .rank_wrap .mine_wrap .mine_avatar img {
width: 1.28rem;
height: 1.28rem;
border-radius: 50%;
}
body .wrap .rank_wrap .mine_wrap .mine_nick {
flex: 1;
font-size: 0.32rem;
color: #8C67EF;
}
body .wrap .rank_wrap .mine_wrap .mine_num {
line-height: 1.3;
text-align: right;
font-size: 0.26667rem;
color: #FF7DA0;
margin-right: 0.21333rem;
}
body .wrap .rank_wrap .mine_wrap .mine_num span {
font-size: 0.4rem;
font-weight: bold;
}
body .wrap .rule_popup, body .wrap .award_popup {
display: none;
position: fixed;
top: 0;
left: 0;
z-index: 999;
width: 100vw;
height: 100vh;
background-color: rgba(4, 4, 4, 0.7);
}
body .wrap .rule_popup .rule_content, body .wrap .rule_popup .award_content, body .wrap .award_popup .rule_content, body .wrap .award_popup .award_content {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 8.53333rem;
height: 7.2rem;
}
body .wrap .award_popup .award_content {
width: 8.53333rem;
height: 9.49333rem;
background: url("../images/award-bg.png") no-repeat 0 0/100% 100%;
}
body .wrap .award_popup .award_content .award_wrap {
position: relative;
height: 84%;
overflow: auto;
margin-top: 1.06667rem;
text-align: center;
}
body .wrap .award_popup .award_content .award_wrap .award_tab_wrap {
display: flex;
width: 5.78667rem;
height: 1.17333rem;
background: url("../images/award-tab1.png") no-repeat 0 0/100% 100%;
margin: auto;
}
body .wrap .award_popup .award_content .award_wrap .award_tab_wrap .award_tab_item {
flex: 1;
}
body .wrap .award_popup .award_content .award_wrap .award_pic_wrap .award_pic {
width: 8rem;
height: 31.70667rem;
}
::-webkit-scrollbar {
display: none;
}