Files
yinmeng-h5/view/yinmeng/modules/ranks/css/index.scss
2023-11-30 14:59:24 +08:00

1282 lines
33 KiB
SCSS

@function px2rem($px) {
@return $px / 75+rem;
}
.layui-m-layershade {
background-color: rgba(0, 0, 0, .0) !important;
}
.layui-m-layer2 .layui-m-layerchild {
width: 3rem !important;
height: 3rem !important;
border: none !important;
box-shadow: none !important;
color: #fff !important;
background: rgba(0, 0, 0, .6) !important;
}
.layui-m-layer2 .layui-m-layercont {
text-align: center !important;
padding: 0 !important;
line-height: 0 !important;
margin-top: 0.8rem !important;
}
html,
body {
width: 100%;
min-height: 100%;
}
.header {
width: px2rem(750);
height: px2rem(936);
background: url(../images/header1.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto;
box-sizing: border-box;
padding-top: px2rem(110);
position: relative;
.title {
width: 100%;
position: relative;
height: px2rem(44);
margin: px2rem(0) auto px2rem(22);
text-align: center;
img {
width: px2rem(36);
height: px2rem(36);
position: absolute;
left: px2rem(32);
top: px2rem(4);
}
span {
color: #2B2D33;
font-size: px2rem(32);
font-weight: 500;
}
}
.tab {
width: 100%;
height: px2rem(88);
line-height: px2rem(88);
display: flex;
justify-content: space-between;
box-sizing: border-box;
padding: 0 px2rem(44);
div {
width: px2rem(96);
height: 100%;
position: relative;
text-align: center;
color: rgba(43, 45, 51, 0.5);
font-size: px2rem(32);
font-weight: 600;
white-space: nowrap;
span {
width: px2rem(26);
height: px2rem(6);
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(18);
background: none;
border-radius: px2rem(6);
}
}
.active1 {
color: #2B2D33;
span {
background: #FF5391;
}
}
.active2 {
color: #2B2D33;
span {
background: #A34DFF;
}
}
.active3 {
color: #2B2D33;
span {
background: #5C68F2;
}
}
.active4 {
color: #2B2D33;
span {
background: #B3610B;
}
}
}
.timeTab {
width: px2rem(464);
height: px2rem(56);
line-height: px2rem(56);
display: flex;
justify-content: space-between;
margin: 0 auto px2rem(152);
div {
width: px2rem(128);
height: 100%;
text-align: center;
color: rgba(255, 255, 255, 0.9);
font-size: px2rem(28);
font-weight: 400;
border-radius: px2rem(56);
}
.divBg1 {
background: rgba(252, 179, 206, 0.8);
}
.divBg2 {
background: rgba(210, 172, 252, 0.8);
}
.divBg3 {
background: rgba(172, 202, 252, 0.8);
}
.active1 {
color: rgb(255, 83, 145);
background: #fff;
}
.active2 {
background: #fff;
}
.active3 {
background: #fff;
}
.active4 {
background: #fff;
}
.active {
display: none;
}
}
.timeTab2 {
width: px2rem(632);
.active {
display: block;
}
}
.listLast {
width: px2rem(158);
height: px2rem(48);
line-height: px2rem(48);
text-align: center;
background: rgba(255, 255, 255, 0.4);
border-top-right-radius: 0;
border-top-left-radius: px2rem(48);
border-bottom-left-radius: px2rem(48);
border-bottom-right-radius: px2rem(0);
border: px2rem(1) solid #FFFFFF;
backdrop-filter: blur(4px);
position: absolute;
right: 0;
top: px2rem(336);
vertical-align: middle;
z-index: 2;
span {
font-size: px2rem(22);
font-weight: 500;
}
.sp1 {
color: #FF5391;
}
.sp2 {
color: #A34DFF;
}
.sp3 {
color: #5C68F2;
}
}
.topBox {
width: px2rem(750);
height: px2rem(464);
position: relative;
margin: 0 auto;
.no1 {
width: px2rem(216);
height: px2rem(212);
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(372);
.icon_gh {
display: none;
width: px2rem(92);
height: px2rem(92);
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(-133);
z-index: 2;
border-radius: 50%;
}
.svga {
position: absolute;
width: px2rem(20);
height: px2rem(18);
left: 50%;
transform: translateX(-50%);
top: px2rem(146);
z-index: 3;
}
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.zl {
width: px2rem(56);
height: px2rem(56);
position: absolute;
border-radius: 50%;
top: px2rem(136);
right: px2rem(24);
border: px2rem(2) solid #fff;
z-index: 3;
display: none;
}
.tx {
width: px2rem(156);
height: px2rem(156);
position: absolute;
top: px2rem(28);
left: 50%;
transform: translateX(-50%);
z-index: 1;
border-radius: 50%;
}
p {
width: 100%;
color: #2B2D33;
font-size: px2rem(28);
font-weight: 500;
position: absolute;
left: 0;
bottom: px2rem(-40);
// white-space: nowrap; //不换行
// overflow: hidden; //超出隐藏
// text-overflow: ellipsis; //超出文本省略号
vertical-align: middle;
text-align: center;
white-space: nowrap;
span {
display: inline-block;
width: px2rem(28);
height: px2rem(28);
border-radius: 50%;
vertical-align: middle;
img {
display: block;
width: px2rem(16);
height: px2rem(16);
margin: px2rem(6) auto;
}
}
.boy {
background: #6BB3FF;
}
.girl {
background: #FF80CC;
}
}
.icon {
width: px2rem(146);
height: px2rem(36);
display: flex;
justify-content: space-between;
position: absolute;
bottom: px2rem(-74);
left: 50%;
transform: translateX(-50%);
img {
display: inline-block;
width: px2rem(72);
height: px2rem(36);
}
}
i {
font-style: normal;
width: 100%;
text-align: center;
position: absolute;
left: 0;
bottom: px2rem(-110);
color: #696D7A;
font-size: px2rem(22);
font-weight: 500;
}
}
.no2 {
width: px2rem(176);
height: px2rem(170);
position: absolute;
left: px2rem(60);
bottom: px2rem(340);
.icon_gh {
display: none;
width: px2rem(92);
height: px2rem(92);
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(-135);
z-index: 2;
border-radius: 50%;
}
.zl {
width: px2rem(40);
height: px2rem(40);
position: absolute;
border-radius: 50%;
top: px2rem(114);
right: px2rem(24);
border: px2rem(2) solid #fff;
z-index: 3;
display: none;
}
.svga {
position: absolute;
width: px2rem(20);
height: px2rem(18);
left: 50%;
transform: translateX(-50%);
top: px2rem(116);
z-index: 3;
}
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.tx {
width: px2rem(128);
height: px2rem(128);
position: absolute;
top: px2rem(22);
left: 50%;
transform: translateX(-50%);
z-index: 1;
border-radius: 50%;
}
p {
width: 120%;
color: #2B2D33;
font-size: px2rem(28);
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(-40);
vertical-align: middle;
white-space: nowrap;
text-align: center;
white-space: nowrap;
span {
display: inline-block;
width: px2rem(28);
height: px2rem(28);
border-radius: 50%;
vertical-align: middle;
img {
display: block;
width: px2rem(16);
height: px2rem(16);
margin: px2rem(6) auto;
}
}
.boy {
background: #6BB3FF;
}
.girl {
background: #FF80CC;
}
}
.icon {
width: px2rem(146);
height: px2rem(36);
display: flex;
justify-content: space-between;
position: absolute;
bottom: px2rem(-78);
left: 50%;
transform: translateX(-57%);
img {
display: inline-block;
width: px2rem(72);
height: px2rem(36);
}
}
i {
font-style: normal;
width: 100%;
text-align: center;
position: absolute;
left: 0;
bottom: px2rem(-110);
color: #696D7A;
font-size: px2rem(22);
font-weight: 500;
}
}
.no3 {
width: px2rem(176);
height: px2rem(170);
position: absolute;
right: px2rem(60);
bottom: px2rem(340);
.icon_gh {
display: none;
width: px2rem(92);
height: px2rem(92);
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(-135);
z-index: 2;
border-radius: 50%;
}
.zl {
width: px2rem(40);
height: px2rem(40);
position: absolute;
border-radius: 50%;
top: px2rem(114);
right: px2rem(24);
border: px2rem(2) solid #fff;
z-index: 3;
display: none;
}
.svga {
position: absolute;
width: px2rem(20);
height: px2rem(18);
left: 50%;
transform: translateX(-50%);
top: px2rem(116);
z-index: 3;
}
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.tx {
width: px2rem(128);
height: px2rem(128);
position: absolute;
top: px2rem(22);
left: 50%;
transform: translateX(-50%);
z-index: 1;
border-radius: 50%;
}
p {
width: 120%;
color: #2B2D33;
font-size: px2rem(28);
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-45%);
bottom: px2rem(-40);
vertical-align: middle;
white-space: nowrap;
text-align: center;
white-space: nowrap;
span {
display: inline-block;
width: px2rem(28);
height: px2rem(28);
border-radius: 50%;
vertical-align: middle;
img {
display: block;
width: px2rem(16);
height: px2rem(16);
margin: px2rem(6) auto;
}
}
.boy {
background: #6BB3FF;
}
.girl {
background: #FF80CC;
}
}
.icon {
width: px2rem(146);
height: px2rem(36);
display: flex;
justify-content: space-between;
position: absolute;
bottom: px2rem(-78);
left: 50%;
transform: translateX(-45%);
img {
display: inline-block;
width: px2rem(72);
height: px2rem(36);
}
}
i {
font-style: normal;
width: 100%;
text-align: center;
position: absolute;
left: 0;
bottom: px2rem(-110);
color: #696D7A;
font-size: px2rem(22);
font-weight: 500;
}
}
}
.topBox1 {
background: url(../images/topList1.png) no-repeat;
background-size: 100% 100%;
}
.topBox2 {
background: url(../images/topList2.png) no-repeat;
background-size: 100% 100%;
}
.topBox3 {
background: url(../images/topList3.png) no-repeat;
background-size: 100% 100%;
}
.topBox4 {
margin-top: 2.8rem;
background: url(../images/topList4.png) no-repeat;
background-size: 100% 100%;
}
}
.header2 {
background: url(../images/header2.png) no-repeat;
background-size: 100% 100%;
}
.header3 {
background: url(../images/header3.png) no-repeat;
background-size: 100% 100%;
}
.header4 {
background: url(../images/header4.png) no-repeat;
background-size: 100% 100%;
}
.list {
width: px2rem(750);
margin: -1.65rem auto 1.8rem;
height: 9rem;
border-radius: px2rem(40) px2rem(40) 0px 0px;
position: relative;
z-index: 2;
background: #fff;
overflow-y: scroll;
box-sizing: border-box;
padding-top: px2rem(48);
&::-webkit-scrollbar {
display: none;
}
li {
width: px2rem(750);
height: px2rem(96);
margin: 0 auto px2rem(44);
overflow: hidden;
position: relative;
.svga {
width: px2rem(20);
height: px2rem(18);
position: absolute;
left: 1.45rem;
top: px2rem(62);
z-index: 9;
}
.num {
width: px2rem(64);
text-align: center;
color: #2B2D33;
font-size: px2rem(36);
font-weight: 600;
height: 100%;
line-height: px2rem(96);
float: left;
margin-right: px2rem(10);
}
.tx {
width: px2rem(96);
height: px2rem(96);
border-radius: 50%;
margin-right: px2rem(16);
float: left;
}
.nameBox {
float: left;
p {
color: #2B2D33;
font-size: px2rem(30);
font-weight: 600;
vertical-align: middle;
margin-top: px2rem(8);
span {
display: inline-block;
width: px2rem(28);
height: px2rem(28);
border-radius: 50%;
// vertical-align: middle;
img {
display: block;
width: px2rem(16);
height: px2rem(16);
margin: px2rem(6) auto;
}
}
.boy {
background: #6BB3FF;
}
.girl {
background: #FF80CC;
}
}
.icon {
width: px2rem(146);
height: px2rem(36);
display: flex;
justify-content: space-between;
img {
display: block;
width: px2rem(72);
height: px2rem(36);
}
}
}
.score {
float: right;
text-align: right;
margin-right: px2rem(35);
// display: none;
b {
color: #FFDA24;
font-size: px2rem(32);
font-weight: 600;
display: block;
margin-top: px2rem(8);
display: block;
margin-bottom: 0.1rem;
}
i {
font-style: normal;
color: #696D7A;
font-size: px2rem(22);
}
}
.right {
width: px2rem(116);
height: 100%;
float: right;
position: relative;
margin-right: 0.1rem;
display: none;
img {
width: px2rem(40);
height: px2rem(40);
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
border-radius: 50%;
}
.nick {
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #696D7A;
font-size: px2rem(20);
text-align: center;
margin-top: px2rem(50);
margin-bottom: px2rem(5);
}
p {
width: 100%;
text-align: center;
color: #A2A7B8;
font-size: px2rem(18);
}
}
.icon_gh {
display: none;
width: px2rem(92);
height: px2rem(92);
position: absolute;
right: px2rem(48);
top: px2rem(0);
border-radius: 50%;
}
}
}
.my {
position: fixed;
width: 100%;
height: px2rem(136);
line-height: px2rem(136);
left: 0;
bottom: 0;
background: url(../images/my.png) no-repeat;
background-size: 100% 100%;
box-sizing: border-box;
padding: 0 px2rem(32);
.num {
width: px2rem(66);
text-align: center;
color: #696D7A;
font-size: px2rem(22);
font-weight: 400;
margin-right: px2rem(18);
float: left;
}
.tx {
display: block;
float: left;
width: px2rem(80);
height: px2rem(80);
border-radius: 50%;
margin-right: px2rem(16);
margin-top: px2rem(26);
}
p {
width: 3rem;
float: left;
color: #2B2D33;
font-size: px2rem(26);
font-weight: 600;
white-space: nowrap; //不换行
overflow: hidden; //超出隐藏
text-overflow: ellipsis; //超出文本省略号
}
.score {
float: right;
color: #696D7A;
font-size: px2rem(22);
font-weight: 400;
b {
color: #FFDA24;
font-size: px2rem(32);
font-weight: 600;
}
i {
font-style: normal;
}
}
}
.lastTopThree {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .6);
z-index: 9;
display: none;
.lastTopThree_in {
width: px2rem(670);
height: px2rem(556);
background: url(../images/lastTopThree_in.png) no-repeat;
background-size: 100% 100%;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
.box {
position: relative;
width: px2rem(622);
height: px2rem(368);
background: #fff;
border-radius: px2rem(32);
left: 50%;
transform: translateX(-50%);
top: px2rem(148);
.no1 {
width: px2rem(188);
height: px2rem(184);
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(136);
.icon_gh {
display: none;
width: px2rem(44);
height: px2rem(44);
position: absolute;
right: px2rem(20);
top: px2rem(128);
z-index: 2;
border-radius: 50%;
}
.svga {
position: absolute;
width: px2rem(20);
height: px2rem(18);
left: 50%;
transform: translateX(-50%);
top: 1.65rem;
z-index: 3;
}
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.tx {
width: px2rem(140);
height: px2rem(140);
position: absolute;
top: px2rem(28);
left: 50%;
transform: translateX(-50%);
z-index: 1;
border-radius: 50%;
}
p {
width: 100%;
color: #2B2D33;
font-size: px2rem(28);
font-weight: 500;
position: absolute;
left: 0;
bottom: px2rem(-40);
// white-space: nowrap; //不换行
// overflow: hidden; //超出隐藏
// text-overflow: ellipsis; //超出文本省略号
vertical-align: middle;
text-align: center;
white-space: nowrap;
span {
display: inline-block;
width: px2rem(28);
height: px2rem(28);
border-radius: 50%;
vertical-align: middle;
img {
display: block;
width: px2rem(16);
height: px2rem(16);
margin: px2rem(6) auto;
}
}
.boy {
background: #6BB3FF;
}
.girl {
background: #FF80CC;
}
}
.icon {
width: px2rem(146);
height: px2rem(36);
display: flex;
justify-content: space-between;
position: absolute;
bottom: px2rem(-74);
left: 50%;
transform: translateX(-50%);
img {
display: inline-block;
width: px2rem(72);
height: px2rem(36);
}
}
i {
font-style: normal;
width: 100%;
text-align: center;
position: absolute;
left: 0;
bottom: px2rem(-110);
color: #696D7A;
font-size: px2rem(22);
font-weight: 500;
}
}
.no2 {
width: px2rem(148);
height: px2rem(142);
position: absolute;
left: px2rem(36);
bottom: px2rem(138);
.icon_gh {
display: none;
width: px2rem(36);
height: px2rem(36);
position: absolute;
right: px2rem(16);
top: px2rem(98);
z-index: 2;
border-radius: 50%;
}
.svga {
position: absolute;
width: px2rem(20);
height: px2rem(18);
left: 50%;
transform: translateX(-50%);
top: 1.3rem;
z-index: 3;
}
.zl {
width: px2rem(56);
height: px2rem(56);
position: absolute;
border-radius: 50%;
top: px2rem(136);
right: px2rem(24);
border: px2rem(2) solid #fff;
z-index: 3;
display: none;
}
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.tx {
width: px2rem(112);
height: px2rem(112);
position: absolute;
top: px2rem(22);
left: 50%;
transform: translateX(-50%);
z-index: 1;
border-radius: 50%;
}
p {
width: 120%;
color: #2B2D33;
font-size: px2rem(28);
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(-40);
vertical-align: middle;
white-space: nowrap;
text-align: center;
white-space: nowrap;
span {
display: inline-block;
width: px2rem(28);
height: px2rem(28);
border-radius: 50%;
vertical-align: middle;
img {
display: block;
width: px2rem(16);
height: px2rem(16);
margin: px2rem(6) auto;
}
}
.boy {
background: #6BB3FF;
}
.girl {
background: #FF80CC;
}
}
.icon {
width: px2rem(146);
height: px2rem(36);
display: flex;
justify-content: space-between;
position: absolute;
bottom: px2rem(-78);
left: 50%;
transform: translateX(-57%);
img {
display: inline-block;
width: px2rem(72);
height: px2rem(36);
}
}
i {
font-style: normal;
width: 100%;
text-align: center;
position: absolute;
left: 0;
bottom: px2rem(-110);
color: #696D7A;
font-size: px2rem(22);
font-weight: 500;
}
}
.no3 {
width: px2rem(148);
height: px2rem(142);
position: absolute;
right: px2rem(36);
bottom: px2rem(138);
.icon_gh {
display: none;
width: px2rem(36);
height: px2rem(36);
position: absolute;
right: px2rem(16);
top: px2rem(98);
z-index: 2;
border-radius: 50%;
}
.svga {
position: absolute;
width: px2rem(20);
height: px2rem(18);
left: 50%;
transform: translateX(-50%);
top: 1.3rem;
z-index: 3;
}
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.tx {
width: px2rem(112);
height: px2rem(112);
position: absolute;
top: px2rem(22);
left: 50%;
transform: translateX(-50%);
z-index: 1;
border-radius: 50%;
}
p {
width: 120%;
color: #2B2D33;
font-size: px2rem(28);
font-weight: 500;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: px2rem(-40);
vertical-align: middle;
white-space: nowrap;
text-align: center;
white-space: nowrap;
span {
display: inline-block;
width: px2rem(28);
height: px2rem(28);
border-radius: 50%;
vertical-align: middle;
img {
display: block;
width: px2rem(16);
height: px2rem(16);
margin: px2rem(6) auto;
}
}
.boy {
background: #6BB3FF;
}
.girl {
background: #FF80CC;
}
}
.icon {
width: px2rem(146);
height: px2rem(36);
display: flex;
justify-content: space-between;
position: absolute;
bottom: px2rem(-78);
left: 50%;
transform: translateX(-57%);
img {
display: inline-block;
width: px2rem(72);
height: px2rem(36);
}
}
i {
font-style: normal;
width: 100%;
text-align: center;
position: absolute;
left: 0;
bottom: px2rem(-110);
color: #696D7A;
font-size: px2rem(22);
font-weight: 500;
}
}
}
}
}