寻宝活动修复排行榜没数据loading问题
This commit is contained in:
@@ -297,11 +297,25 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.adventureTask .content .tip_box .txt .num {
|
.adventureTask .content .tip_box .txt .left .num {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
.adventureTask .content .tip_box .txt img {
|
.adventureTask .content .tip_box .txt .left .curScore_box {
|
||||||
|
margin-top: 0.2666666667rem;
|
||||||
|
}
|
||||||
|
.adventureTask .content .tip_box .txt .right {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
.adventureTask .content .tip_box .txt .right .Details {
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 0.3466666667rem;
|
||||||
|
color: #FFFCD0;
|
||||||
|
}
|
||||||
|
.adventureTask .content .tip_box .txt .right img {
|
||||||
width: 0.2933333333rem;
|
width: 0.2933333333rem;
|
||||||
height: 0.2933333333rem;
|
height: 0.2933333333rem;
|
||||||
}
|
}
|
||||||
@@ -1073,6 +1087,10 @@ body {
|
|||||||
.arabic .adventureTask .content .tip_box .txt img {
|
.arabic .adventureTask .content .tip_box .txt img {
|
||||||
transform: rotate(180deg);
|
transform: rotate(180deg);
|
||||||
}
|
}
|
||||||
|
.arabic .adventureTask .content .tip_box .txt .right {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
.arabic .header {
|
.arabic .header {
|
||||||
background: url(../images/header-ar.png) no-repeat;
|
background: url(../images/header-ar.png) no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
@@ -348,15 +348,34 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.num {
|
.left {
|
||||||
color: #FFFFFF;
|
.num {
|
||||||
font-weight: 600;
|
color: #FFFFFF;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
.curScore_box{
|
||||||
|
margin-top: px2rem(20);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
.right {
|
||||||
width: px2rem(22);
|
display: flex;
|
||||||
height: px2rem(22);
|
align-items: center;
|
||||||
|
margin-left: auto;
|
||||||
|
.Details {
|
||||||
|
font-family: PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: px2rem(26);
|
||||||
|
color: #FFFCD0;
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
width: px2rem(22);
|
||||||
|
height: px2rem(22);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.Points_mission {
|
.Points_mission {
|
||||||
@@ -615,19 +634,22 @@ body {
|
|||||||
|
|
||||||
.box {
|
.box {
|
||||||
background: linear-gradient(180deg, #714A00, #221A00);
|
background: linear-gradient(180deg, #714A00, #221A00);
|
||||||
border-radius: px2rem(13);
|
border-radius: px2rem(13);
|
||||||
border: px2rem(2) solid #FFFFFF;
|
border: px2rem(2) solid #FFFFFF;
|
||||||
padding: px2rem(6);
|
padding: px2rem(6);
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: px2rem(77);
|
width: px2rem(77);
|
||||||
height: px2rem(77);
|
height: px2rem(77);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.box_si{
|
|
||||||
|
.box_si {
|
||||||
background: linear-gradient(180deg, #8D0732, #3D0012);
|
background: linear-gradient(180deg, #8D0732, #3D0012);
|
||||||
border-radius: px2rem(13);
|
border-radius: px2rem(13);
|
||||||
border: px2rem(2) solid #FFBC1B;
|
border: px2rem(2) solid #FFBC1B;
|
||||||
padding: px2rem(6);
|
padding: px2rem(6);
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: px2rem(77);
|
width: px2rem(77);
|
||||||
height: px2rem(77);
|
height: px2rem(77);
|
||||||
@@ -880,8 +902,8 @@ padding: px2rem(6);
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: px2rem(28);
|
font-size: px2rem(28);
|
||||||
color: #FFFCD0;
|
color: #FFFCD0;
|
||||||
|
|
||||||
img{
|
img {
|
||||||
width: px2rem(27);
|
width: px2rem(27);
|
||||||
height: px2rem(27);
|
height: px2rem(27);
|
||||||
margin: 0 px2rem(6);
|
margin: 0 px2rem(6);
|
||||||
@@ -1211,9 +1233,10 @@ padding: px2rem(6);
|
|||||||
|
|
||||||
.box {
|
.box {
|
||||||
background: linear-gradient(180deg, #8D0732, #3D0012);
|
background: linear-gradient(180deg, #8D0732, #3D0012);
|
||||||
border-radius: px2rem(13);
|
border-radius: px2rem(13);
|
||||||
border: px2rem(2) solid #FFBC1B;
|
border: px2rem(2) solid #FFBC1B;
|
||||||
padding: px2rem(6);
|
padding: px2rem(6);
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: px2rem(77);
|
width: px2rem(77);
|
||||||
height: px2rem(77);
|
height: px2rem(77);
|
||||||
@@ -1252,6 +1275,10 @@ padding: px2rem(6);
|
|||||||
.adventureTask .content .tip_box .txt img {
|
.adventureTask .content .tip_box .txt img {
|
||||||
transform: rotate(180deg);
|
transform: rotate(180deg);
|
||||||
}
|
}
|
||||||
|
.adventureTask .content .tip_box .txt .right{
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
background: url(../images/header-ar.png) no-repeat;
|
background: url(../images/header-ar.png) no-repeat;
|
||||||
|
@@ -73,8 +73,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="tip_box">
|
<div class="tip_box">
|
||||||
<div class="txt">
|
<div class="txt">
|
||||||
<span class="Points_week"></span><span class="num weekScore">888</span>
|
<!-- <span class="Points_week"></span><span class="num weekScore">888</span> -->
|
||||||
<img src="./images/arrow_right.png" alt="" />
|
<!-- <img src="./images/arrow_right.png" alt="" /> -->
|
||||||
|
<div class="left">
|
||||||
|
<div><span class="Points_week"></span><span class="num weekScore">888</span></div>
|
||||||
|
<div class="curScore_box"><span class="Remaining_week"></span><span class="num curScore">888</span></div>
|
||||||
|
</div>
|
||||||
|
<div class="right">
|
||||||
|
<span class="Details"></span>
|
||||||
|
<img src="./images/arrow_right.png" alt="" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="Points_mission"></div>
|
<div class="Points_mission"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -157,7 +157,9 @@ function translateFun() {
|
|||||||
$('.Adventurers_gather').html(langReplace(localLang.demoModule.Adventurers_gather))
|
$('.Adventurers_gather').html(langReplace(localLang.demoModule.Adventurers_gather))
|
||||||
$('.Earn_explore').html(langReplace(localLang.demoModule.Earn_explore))
|
$('.Earn_explore').html(langReplace(localLang.demoModule.Earn_explore))
|
||||||
$('.Join_complete').html(langReplace(localLang.demoModule.Join_complete))
|
$('.Join_complete').html(langReplace(localLang.demoModule.Join_complete))
|
||||||
|
$('.Remaining_week').html(langReplace(localLang.demoModule.Remaining_week))
|
||||||
|
$('.Details').html(langReplace(localLang.demoModule.Details))
|
||||||
|
|
||||||
}
|
}
|
||||||
// 页面1tab切换
|
// 页面1tab切换
|
||||||
$('.tab_list div').click(function () {
|
$('.tab_list div').click(function () {
|
||||||
@@ -200,6 +202,7 @@ function getlistRank() {
|
|||||||
url: urlPrefix + '/chargeTreasure/listRank',
|
url: urlPrefix + '/chargeTreasure/listRank',
|
||||||
success(res) {
|
success(res) {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
if(res.data.rankList && res.data.rankList.length>0){
|
||||||
$('.adventureRanking .content .rank_list .rank_box').remove()
|
$('.adventureRanking .content .rank_list .rank_box').remove()
|
||||||
let str = ''
|
let str = ''
|
||||||
res.data.rankList.forEach((item, index) => {
|
res.data.rankList.forEach((item, index) => {
|
||||||
@@ -241,6 +244,7 @@ function getlistRank() {
|
|||||||
`
|
`
|
||||||
})
|
})
|
||||||
$('.adventureRanking .content .rank_list').append(str)
|
$('.adventureRanking .content .rank_list').append(str)
|
||||||
|
}
|
||||||
|
|
||||||
// 我的排行
|
// 我的排行
|
||||||
$('.my_Points .info .rank').text(res.data.meRank.ranking)
|
$('.my_Points .info .rank').text(res.data.meRank.ranking)
|
||||||
@@ -293,6 +297,7 @@ function getData() {
|
|||||||
$('.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)
|
||||||
|
$('.curScore').text(res.data.curScore)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -507,7 +512,7 @@ $('.popup_record .close_btn').click(function () {
|
|||||||
$('.popup_record').hide()
|
$('.popup_record').hide()
|
||||||
})
|
})
|
||||||
// 打开点数详情
|
// 打开点数详情
|
||||||
$('.adventureTask .content .tip_box .txt').click(function () {
|
$('.adventureTask .content .tip_box .txt .right').click(function () {
|
||||||
renderinglistScoreRecord();
|
renderinglistScoreRecord();
|
||||||
$('.popup_detail').show()
|
$('.popup_detail').show()
|
||||||
})
|
})
|
||||||
|
@@ -51,10 +51,12 @@ langAr = {
|
|||||||
Headdress:'غطاء رأس',
|
Headdress:'غطاء رأس',
|
||||||
Coin:'عملة معدنية',
|
Coin:'عملة معدنية',
|
||||||
Bubble:'فقاعة',
|
Bubble:'فقاعة',
|
||||||
Diamonds:'Diamonds',
|
Diamonds:'ألماس',
|
||||||
Gifts:'Gifts',
|
Gifts:'هدايا',
|
||||||
HomepageBackground:'Homepage Background',
|
HomepageBackground:'خلفية الصفحة الرئيسية',
|
||||||
Infocard:'Info card'
|
Infocard:'بطاقة معلومات',
|
||||||
|
Remaining_week:'النقاط المتبقية هذا الأسبوع:',
|
||||||
|
Details:'التفاصيل',
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@@ -54,6 +54,9 @@ langEn = {
|
|||||||
Diamonds:'Diamonds',
|
Diamonds:'Diamonds',
|
||||||
Gifts:'Gifts',
|
Gifts:'Gifts',
|
||||||
HomepageBackground:'Homepage Background',
|
HomepageBackground:'Homepage Background',
|
||||||
Infocard:'Info card'
|
Infocard:'Info card',
|
||||||
|
Remaining_week:'Remaining Points this week:',
|
||||||
|
Details:'Details',
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -54,7 +54,10 @@ langTr = {
|
|||||||
Diamonds:'Diamonds',
|
Diamonds:'Diamonds',
|
||||||
Gifts:'Gifts',
|
Gifts:'Gifts',
|
||||||
HomepageBackground:'Homepage Background',
|
HomepageBackground:'Homepage Background',
|
||||||
Infocard:'Info card'
|
Infocard:'Info card',
|
||||||
|
Remaining_week:'Remaining Points this week:',
|
||||||
|
Details:'Details',
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@@ -54,6 +54,9 @@ langZh = {
|
|||||||
Diamonds:'Diamonds',
|
Diamonds:'Diamonds',
|
||||||
Gifts:'Gifts',
|
Gifts:'Gifts',
|
||||||
HomepageBackground:'Homepage Background',
|
HomepageBackground:'Homepage Background',
|
||||||
Infocard:'Info card'
|
Infocard:'Info card',
|
||||||
|
Remaining_week:'Remaining Points this week:',
|
||||||
|
Details:'Details',
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user