This commit is contained in:
parent
c3853aa3fe
commit
f6ead2deed
@ -1092,9 +1092,9 @@
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 90,
|
||||
"g": 6,
|
||||
"b": 7,
|
||||
"r": 221,
|
||||
"g": 162,
|
||||
"b": 154,
|
||||
"a": 255
|
||||
},
|
||||
"_string": "4",
|
||||
|
||||
@ -4,6 +4,7 @@ import { Palette } from './Palette';
|
||||
import { SlotRankingDataManager } from './SlotRankingDataManager';
|
||||
import { callGameApiForRank } from 'db://assets/Loading/scripts/comm';
|
||||
import { AudioManager } from 'db://assets/Loading/scripts/manager/AudioManager';
|
||||
import { I18nManager } from 'db://assets/Loading/scripts/manager/I18nManager';
|
||||
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ -208,19 +209,19 @@ export class RewardList extends Component {
|
||||
|
||||
if (this.rewardsData.DayRanks && this.rewardsData.DayRanks.length > 0) {
|
||||
for (let item of this.rewardsData.DayRanks) {
|
||||
this.selfRewardsList.push({ ...item, TypeLabel: '日榜' });
|
||||
this.selfRewardsList.push({ ...item, TypeLabel: I18nManager.instance.t('Daily Ranking') });
|
||||
}
|
||||
}
|
||||
|
||||
if (this.rewardsData.WeekRanks && this.rewardsData.WeekRanks.length > 0) {
|
||||
for (let item of this.rewardsData.WeekRanks) {
|
||||
this.selfRewardsList.push({ ...item, TypeLabel: '周榜' });
|
||||
this.selfRewardsList.push({ ...item, TypeLabel: I18nManager.instance.t('Weekly Ranking') });
|
||||
}
|
||||
}
|
||||
|
||||
if (this.rewardsData.MonthRanks && this.rewardsData.MonthRanks.length > 0) {
|
||||
for (let item of this.rewardsData.MonthRanks) {
|
||||
this.selfRewardsList.push({ ...item, TypeLabel: '月榜' });
|
||||
this.selfRewardsList.push({ ...item, TypeLabel: I18nManager.instance.t('Monthly Ranking') });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user