优化样式修改翻译

This commit is contained in:
dragon
2024-12-02 18:22:13 +08:00
parent 1b7046d18d
commit 29cd75811f
4 changed files with 51 additions and 15 deletions

View File

@@ -127,7 +127,10 @@ body {
}
.lastWeek .top .top1 .name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: 0.34667rem;
font-size: 0.37333rem;
color: #FDF565;
@@ -172,7 +175,10 @@ body {
}
.lastWeek .top .top2 .name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: 0.34667rem;
font-size: 0.37333rem;
color: #FDF565;
@@ -217,7 +223,10 @@ body {
}
.lastWeek .top .top3 .name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: 0.34667rem;
font-size: 0.37333rem;
color: #FDF565;
@@ -411,7 +420,10 @@ body {
}
.page1 .thisWeek .top .top1 .name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: 0.34667rem;
font-size: 0.37333rem;
color: #FDF565;
@@ -456,7 +468,10 @@ body {
}
.page1 .thisWeek .top .top2 .name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: 0.34667rem;
font-size: 0.37333rem;
color: #FDF565;
@@ -501,7 +516,10 @@ body {
}
.page1 .thisWeek .top .top3 .name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: 0.34667rem;
font-size: 0.37333rem;
color: #FDF565;

View File

@@ -128,7 +128,10 @@ body {
}
.name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: px2rem(26);
font-size: px2rem(28);
color: #FDF565;
@@ -173,7 +176,10 @@ body {
}
.name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: px2rem(26);
font-size: px2rem(28);
color: #FDF565;
@@ -218,7 +224,10 @@ body {
}
.name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: px2rem(26);
font-size: px2rem(28);
color: #FDF565;
@@ -411,7 +420,10 @@ body {
}
.name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: px2rem(26);
font-size: px2rem(28);
color: #FDF565;
@@ -456,7 +468,10 @@ body {
}
.name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: px2rem(26);
font-size: px2rem(28);
color: #FDF565;
@@ -501,7 +516,10 @@ body {
}
.name {
width: 100%;
width: 90%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: px2rem(26);
font-size: px2rem(28);
color: #FDF565;

View File

@@ -253,5 +253,5 @@
<script src="./local/en.js"></script>
<script src="./local/zh.js"></script>
<script src="./local/ar.js"></script>
<script src="./js/index.js"></script>
<script src="./js/index.js?v=1.0"></script>
<script src="../../common/local/langHandler.js"></script>

View File

@@ -177,7 +177,7 @@ function giftRank() {
// 处理自己
$('.page2 .myList .top .my .tx').attr('src', res.data.myRank.avatar);
$('.page2 .myList .top .my p').text(res.data.myRank.name);
$('.page2 .myList .top .my b').text(langReplace(localLang.demoModule.text5) + unitProcessingAr(res.data.myRank.totalNum, 1));
$('.page2 .myList .top .my b').text(langReplace(localLang.demoModule.text6) + unitProcessingAr(res.data.myRank.totalNum, 1));
$('.page2 .myList .top .my span').text(langReplace(localLang.demoModule.text25) + unitProcessingAr(res.data.myRank.totalGoldNum, 1));
// 处理列表
$('.page2 .myList .content ul li').remove();
@@ -190,7 +190,7 @@ function giftRank() {
<img src="${res.avatar}" alt="" class="tx">
<span>${res.name}</span>
<div class="giftInfo">
<p>${langReplace(localLang.demoModule.text5)}${unitProcessingAr(res.totalNum, 1)}</p>
<p>${langReplace(localLang.demoModule.text6)}${unitProcessingAr(res.totalNum, 1)}</p>
<b>${langReplace(localLang.demoModule.text25)}${unitProcessingAr(res.totalGoldNum, 1)}</b>
</div>
</li>