my.ranking

This commit is contained in:
qiaofie
2025-03-07 10:30:15 +08:00
parent 806a4dcf56
commit b4c396c6bd
3 changed files with 5 additions and 5 deletions

View File

@@ -511,7 +511,7 @@ body {
} }
.page1 .my .num { .page1 .my .num {
float: left; float: left;
width: 0.5333333333rem; width: 0.8rem;
height: 100%; height: 100%;
line-height: 1.9733333333rem; line-height: 1.9733333333rem;
color: #fff783; color: #fff783;
@@ -535,7 +535,7 @@ body {
height: 0.44rem; height: 0.44rem;
position: absolute; position: absolute;
bottom: 0.4666666667rem; bottom: 0.4666666667rem;
left: 1.4rem; left: 1.6666666667rem;
} }
.page1 .my .info { .page1 .my .info {
float: left; float: left;

View File

@@ -566,7 +566,7 @@ body {
.num { .num {
float: left; float: left;
width: px2rem(40); width: px2rem(60);
height: 100%; height: 100%;
line-height: px2rem(148); line-height: px2rem(148);
color: #fff783; color: #fff783;
@@ -592,7 +592,7 @@ body {
height: px2rem(33); height: px2rem(33);
position: absolute; position: absolute;
bottom: px2rem(35); bottom: px2rem(35);
left: px2rem(105); left: px2rem(125);
} }
.info { .info {

View File

@@ -166,7 +166,7 @@ function getInit() {
// 处理自己榜单数据 // 处理自己榜单数据
var my = res.data.meRank; var my = res.data.meRank;
$('.page1 .my .tx').attr("src", my.avatar); $('.page1 .my .tx').attr("src", my.avatar);
$('.page1 .my .num').text(my.rank == 0 ? '30+' : my.rank); $('.page1 .my .num').text(my.ranking == 0 ? '30+' : my.ranking);
$('.page1 .my .info p').text(my.nick); $('.page1 .my .info p').text(my.nick);
$('.page1 .my .icon').attr('src', `./images/vip/${my.vipLevel}.png`); $('.page1 .my .icon').attr('src', `./images/vip/${my.vipLevel}.png`);
$('.page1 .my .info span').text(`ID:${my.erbanNo}`); $('.page1 .my .info span').text(`ID:${my.erbanNo}`);