完善寻宝活动-页面样式问题,代理进入页面bug

This commit is contained in:
chenruiye
2025-05-27 16:27:10 +08:00
parent abf7f39e7f
commit 3b603d332d
3 changed files with 21 additions and 22 deletions

View File

@@ -944,9 +944,6 @@ body {
margin-top: 0.2666666667rem; margin-top: 0.2666666667rem;
width: 2.6666666667rem; width: 2.6666666667rem;
height: 0.4533333333rem; height: 0.4533333333rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
.popup_treasure .popup_content .gift_list .gift_box .gift_name img { .popup_treasure .popup_content .gift_list .gift_box .gift_name img {
width: 0.3733333333rem; width: 0.3733333333rem;
@@ -981,7 +978,7 @@ body {
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 600; font-weight: 600;
font-size: 0.4266666667rem; font-size: 0.4266666667rem;
color: #2D2A00; color: #FFFCD0;
} }
.my_Points .info .user { .my_Points .info .user {
display: flex; display: flex;
@@ -1001,13 +998,13 @@ body {
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
font-size: 0.4rem; font-size: 0.4rem;
color: #2D2A00; color: #FFFCD0;
} }
.my_Points .info .user .name .id { .my_Points .info .user .name .id {
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 400; font-weight: 400;
font-size: 0.3733333333rem; font-size: 0.3733333333rem;
color: #2D2A00; color: #FFFCD0;
margin-top: 0.2rem; margin-top: 0.2rem;
} }
.my_Points .info .points_btn { .my_Points .info .points_btn {

View File

@@ -1091,9 +1091,9 @@ padding: px2rem(6);
width: px2rem(200); width: px2rem(200);
height: px2rem(34); height: px2rem(34);
// 添加下面这三行即可 // 添加下面这三行即可
white-space: nowrap; // white-space: nowrap;
overflow: hidden; // overflow: hidden;
text-overflow: ellipsis; // text-overflow: ellipsis;
img { img {
width: px2rem(28); width: px2rem(28);
@@ -1136,7 +1136,7 @@ padding: px2rem(6);
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 600; font-weight: 600;
font-size: px2rem(32); font-size: px2rem(32);
color: #2D2A00; color: #FFFCD0;
} }
.user { .user {
@@ -1161,14 +1161,14 @@ padding: px2rem(6);
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
font-size: px2rem(30); font-size: px2rem(30);
color: #2D2A00; color: #FFFCD0;
} }
.id { .id {
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 400; font-weight: 400;
font-size: px2rem(28); font-size: px2rem(28);
color: #2D2A00; color: #FFFCD0;
margin-top: px2rem(15); margin-top: px2rem(15);
} }
} }

View File

@@ -219,15 +219,15 @@ function getlistRank() {
str += ` str += `
<div class="rank_box" style="${index > 2 ? 'background-image:url(./images/housi_bg.png)' : 'background-image:url(./images/qiansan_bg.png)'}"> <div class="rank_box" style="${index > 2 ? 'background-image:url(./images/housi_bg.png)' : 'background-image:url(./images/qiansan_bg.png)'}">
<div class="info"> <div class="info">
<div class="rank">${item.ranking}</div> <div class="rank" style="color:${index > 2 ? '#FFFCD0' : '#2D2A00'}">${item.ranking}</div>
<div class="user"> <div class="user">
<div class="avatar"> <div class="avatar">
<img src="${item.avatar}" alt="" class="touxiang"> <img src="${item.avatar}" alt="" class="touxiang">
<img src="./images/touxiang_kuang.png" alt="" class="touxiang_kuang" style="${index > 2 ? 'display:none;' : ''}"> <img src="./images/touxiang_kuang.png" alt="" class="touxiang_kuang" style="${index > 2 ? 'display:none;' : ''}">
</div> </div>
<div class="name"> <div class="name">
<div class="nick">${item.nick}</div> <div class="nick" style="color:${index > 2 ? '#FFFCD0' : '#2D2A00'}">${item.nick}</div>
<div class="id">ID${item.erbanNo}</div> <div class="id" style="color:${index > 2 ? '#FFFCD0' : '#2D2A00'}">ID${item.erbanNo}</div>
</div> </div>
</div> </div>
<div class="points_btn" style="${index == 0 ? 'display:none;' : ''}"> <div class="points_btn" style="${index == 0 ? 'display:none;' : ''}">
@@ -287,12 +287,14 @@ function getData() {
$('.header .Lottery_button').hide() $('.header .Lottery_button').hide()
$('.tab_list').hide(); $('.tab_list').hide();
$('.adventureTask').hide() $('.adventureTask').hide()
} } else {
renderingTask(res.data.taskList)
$('.Today_num').text(res.data.todayChargeGoldNum) $('.Today_num').text(res.data.todayChargeGoldNum)
$('.Weekly_num').text(res.data.weekChargeGoldNum) $('.Weekly_num').text(res.data.weekChargeGoldNum)
$('.adventureTask .content .recharge .avatar').attr('src', res.data.user.avatar) $('.adventureTask .content .recharge .avatar').attr('src', res.data.user.avatar)
$('.weekScore').text(res.data.weekScore) $('.weekScore').text(res.data.weekScore)
renderingTask(res.data.taskList) }
// 开启弹幕 // 开启弹幕
damuPool = res.data.popUpList; damuPool = res.data.popUpList;