完善寻宝活动-页面样式问题,代理进入页面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;
width: 2.6666666667rem;
height: 0.4533333333rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.popup_treasure .popup_content .gift_list .gift_box .gift_name img {
width: 0.3733333333rem;
@@ -981,7 +978,7 @@ body {
font-family: PingFang SC;
font-weight: 600;
font-size: 0.4266666667rem;
color: #2D2A00;
color: #FFFCD0;
}
.my_Points .info .user {
display: flex;
@@ -1001,13 +998,13 @@ body {
font-family: PingFang SC;
font-weight: 500;
font-size: 0.4rem;
color: #2D2A00;
color: #FFFCD0;
}
.my_Points .info .user .name .id {
font-family: PingFang SC;
font-weight: 400;
font-size: 0.3733333333rem;
color: #2D2A00;
color: #FFFCD0;
margin-top: 0.2rem;
}
.my_Points .info .points_btn {

View File

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

View File

@@ -208,7 +208,7 @@ function getlistRank() {
if (item.recordList && item.recordList.length > 0) {
item.recordList.forEach((itemTwo, indexTwo) => {
giftStr += `
<div class="${index>2?'box_si':'box'}">
<div class="${index > 2 ? 'box_si' : 'box'}">
<img src="${itemTwo.icon}" alt="">
</div>
`
@@ -219,15 +219,15 @@ function getlistRank() {
str += `
<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="rank">${item.ranking}</div>
<div class="rank" style="color:${index > 2 ? '#FFFCD0' : '#2D2A00'}">${item.ranking}</div>
<div class="user">
<div class="avatar">
<img src="${item.avatar}" alt="" class="touxiang">
<img src="./images/touxiang_kuang.png" alt="" class="touxiang_kuang" style="${index > 2 ? 'display:none;' : ''}">
</div>
<div class="name">
<div class="nick">${item.nick}</div>
<div class="id">ID${item.erbanNo}</div>
<div class="nick" style="color:${index > 2 ? '#FFFCD0' : '#2D2A00'}">${item.nick}</div>
<div class="id" style="color:${index > 2 ? '#FFFCD0' : '#2D2A00'}">ID${item.erbanNo}</div>
</div>
</div>
<div class="points_btn" style="${index == 0 ? 'display:none;' : ''}">
@@ -282,17 +282,19 @@ function getData() {
if (res.data.countDownSecond > 0) {
countup(res.data.countDownSecond);
}
if(res.data.isRechargeUser){
if (res.data.isRechargeUser) {
$('.header .Record').hide();
$('.header .Lottery_button').hide()
$('.tab_list').hide();
$('.adventureTask').hide()
} else {
renderingTask(res.data.taskList)
$('.Today_num').text(res.data.todayChargeGoldNum)
$('.Weekly_num').text(res.data.weekChargeGoldNum)
$('.adventureTask .content .recharge .avatar').attr('src', res.data.user.avatar)
$('.weekScore').text(res.data.weekScore)
}
$('.Today_num').text(res.data.todayChargeGoldNum)
$('.Weekly_num').text(res.data.weekChargeGoldNum)
$('.adventureTask .content .recharge .avatar').attr('src', res.data.user.avatar)
$('.weekScore').text(res.data.weekScore)
renderingTask(res.data.taskList)
// 开启弹幕
damuPool = res.data.popUpList;