修改榜单-第一名展示数值
This commit is contained in:
@@ -164,6 +164,26 @@ body {
|
||||
bottom: -2.88rem;
|
||||
}
|
||||
|
||||
.header .top .top1 .score {
|
||||
width: 100%;
|
||||
height: 0.42667rem;
|
||||
line-height: 0.42667rem;
|
||||
color: #fff;
|
||||
font-size: 0.34667rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: -2.26667rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.header .top .top1 .score img {
|
||||
display: inline-block;
|
||||
width: 0.45333rem;
|
||||
height: 0.45333rem;
|
||||
margin-top: -0.04rem;
|
||||
}
|
||||
|
||||
.header .top .top2 {
|
||||
position: absolute;
|
||||
top: -1.52rem;
|
||||
|
@@ -164,6 +164,25 @@ body {
|
||||
transform: translateX(-50%);
|
||||
bottom: px2rem(-216);
|
||||
}
|
||||
.score {
|
||||
width: 100%;
|
||||
height: px2rem(32);
|
||||
line-height: px2rem(32);
|
||||
color: #fff;
|
||||
font-size: px2rem(26);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: px2rem(-170);
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
display: inline-block;
|
||||
width: px2rem(34);
|
||||
height: px2rem(34);
|
||||
margin-top: -0.04rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.top2 {
|
||||
|
@@ -33,10 +33,10 @@
|
||||
<img src="./images/logo.png" alt="" class="tx">
|
||||
<div class="nick"></div>
|
||||
<img src="./images/fist.png" alt="" class="fist">
|
||||
<!-- <div class="score">
|
||||
<div class="score">
|
||||
<img src="./images/gold.png" alt="">
|
||||
<span>0</span>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="top2">
|
||||
<img src="./images/no2.png" alt="" class="ts">
|
||||
@@ -96,5 +96,5 @@
|
||||
<script src="./local/en.js"></script>
|
||||
<script src="./local/zh.js"></script>
|
||||
<script src="./local/ar.js"></script>
|
||||
<script src="./js/index.js?v=1.2"></script>
|
||||
<script src="./js/index.js?v=1.3"></script>
|
||||
<script src="../../common/local/langHandler.js"></script>
|
@@ -73,7 +73,8 @@ function geth5() {
|
||||
$('.header .sTab').show();
|
||||
$('.my').show()
|
||||
$('.header .top .top2 .score,.header .top .top3 .score').show();
|
||||
$('.header .top .top1 .fist').show();
|
||||
// $('.header .top .top1 .fist').show();
|
||||
$('.header .top .top1 .fist').hide();
|
||||
$('ul li .score').show();
|
||||
// showLoading()
|
||||
networkRequest({
|
||||
@@ -103,9 +104,9 @@ function geth5() {
|
||||
$(`.header .top .top${i + 1} .ts`).attr('uid', res.uid);
|
||||
$(`.header .top .top${i + 1} .tx`).attr('src', res.avatar);
|
||||
$(`.header .top .top${i + 1} .nick`).text(res.nick);
|
||||
if (i > 0) {
|
||||
// if (i > 0) {
|
||||
$(`.header .top .top${i + 1} .score span`).text(unitProcessingAr(res.totalNum, 1));
|
||||
}
|
||||
// }
|
||||
});
|
||||
// 非前三
|
||||
var str = '';
|
||||
@@ -169,9 +170,9 @@ function listRank() {
|
||||
$(`.header .top .top${i + 1} .ts`).attr('uid', res.clanElderUid);
|
||||
$(`.header .top .top${i + 1} .tx`).attr('src', res.avatar);
|
||||
$(`.header .top .top${i + 1} .nick`).text(res.name);
|
||||
if (i > 0) {
|
||||
// if (i > 0) {
|
||||
$(`.header .top .top${i + 1} .score span`).text(unitProcessingAr(res.income, 1));
|
||||
}
|
||||
// }
|
||||
});
|
||||
// 非前三
|
||||
var str = '';
|
||||
|
Reference in New Issue
Block a user