Compare commits

...

2 Commits

Author SHA1 Message Date
TJH
87e7307d0d 1
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m13s
2025-12-30 12:45:09 +08:00
TJH
6ea378001e 龙虎榜修改 2025-12-30 12:34:06 +08:00
3 changed files with 87 additions and 70 deletions

View File

@ -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",

View File

@ -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') });
}
}

View File

@ -23,7 +23,7 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 88
"__id__": 89
},
"_lpos": {
"__type__": "cc.Vec3",
@ -54,7 +54,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 89
"__id__": 90
},
"_id": "6c29a3fe-b10e-44a5-98e3-55595b231767"
},
@ -77,17 +77,14 @@
"__id__": 8
},
{
"__id__": 66
"__id__": 67
},
{
"__id__": 69
"__id__": 70
}
],
"_active": true,
"_components": [
{
"__id__": 84
},
{
"__id__": 85
},
@ -96,6 +93,9 @@
},
{
"__id__": 87
},
{
"__id__": 88
}
],
"_prefab": null,
@ -341,14 +341,11 @@
"__id__": 9
},
{
"__id__": 59
"__id__": 60
}
],
"_active": true,
"_components": [
{
"__id__": 62
},
{
"__id__": 63
},
@ -357,6 +354,9 @@
},
{
"__id__": 65
},
{
"__id__": 66
}
],
"_prefab": null,
@ -435,10 +435,10 @@
"_active": true,
"_components": [
{
"__id__": 57
"__id__": 58
},
{
"__id__": 58
"__id__": 59
}
],
"_prefab": null,
@ -1929,14 +1929,14 @@
],
"_active": false,
"_components": [
{
"__id__": 53
},
{
"__id__": 54
},
{
"__id__": 55
},
{
"__id__": 56
}
],
"_prefab": null,
@ -1985,6 +1985,9 @@
},
{
"__id__": 52
},
{
"__id__": 53
}
],
"_prefab": null,
@ -2101,6 +2104,19 @@
"_shadowBlur": 2,
"_id": "e4kCYXpvhNkZTT/Ku/bpxq"
},
{
"__type__": "0059a+GnsRMGp0ldUMAWFR3",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 50
},
"_enabled": true,
"__prefab": null,
"_key": "AID_GET_STARTED",
"_id": "d014i3GAVMSbRytRqjWxUE"
},
{
"__type__": "cc.UITransform",
"_name": "",
@ -2174,7 +2190,7 @@
"__prefab": null,
"clickEvents": [
{
"__id__": 56
"__id__": 57
}
],
"_interactable": true,
@ -2304,10 +2320,10 @@
"_active": true,
"_components": [
{
"__id__": 60
"__id__": 61
},
{
"__id__": 61
"__id__": 62
}
],
"_prefab": null,
@ -2346,7 +2362,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 59
"__id__": 60
},
"_enabled": true,
"__prefab": null,
@ -2368,7 +2384,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 59
"__id__": 60
},
"_enabled": true,
"__prefab": null,
@ -2512,10 +2528,10 @@
"_active": true,
"_components": [
{
"__id__": 67
"__id__": 68
},
{
"__id__": 68
"__id__": 69
}
],
"_prefab": null,
@ -2554,7 +2570,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 66
"__id__": 67
},
"_enabled": true,
"__prefab": null,
@ -2576,7 +2592,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 66
"__id__": 67
},
"_enabled": true,
"__prefab": null,
@ -2619,22 +2635,22 @@
},
"_children": [
{
"__id__": 70
"__id__": 71
},
{
"__id__": 74
"__id__": 75
},
{
"__id__": 79
"__id__": 80
}
],
"_active": false,
"_components": [
{
"__id__": 82
"__id__": 83
},
{
"__id__": 83
"__id__": 84
}
],
"_prefab": null,
@ -2673,19 +2689,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 69
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 71
},
{
"__id__": 72
},
{
"__id__": 73
},
{
"__id__": 74
}
],
"_prefab": null,
@ -2724,7 +2740,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 70
"__id__": 71
},
"_enabled": true,
"__prefab": null,
@ -2746,7 +2762,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 70
"__id__": 71
},
"_enabled": true,
"__prefab": null,
@ -2758,7 +2774,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 70
"__id__": 71
},
"_enabled": true,
"__prefab": null,
@ -2797,14 +2813,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 69
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 75
},
{
"__id__": 76
},
@ -2813,6 +2826,9 @@
},
{
"__id__": 78
},
{
"__id__": 79
}
],
"_prefab": null,
@ -2851,7 +2867,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 74
"__id__": 75
},
"_enabled": true,
"__prefab": null,
@ -2873,7 +2889,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 74
"__id__": 75
},
"_enabled": true,
"__prefab": null,
@ -2935,7 +2951,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 74
"__id__": 75
},
"_enabled": true,
"__prefab": null,
@ -2948,7 +2964,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 74
"__id__": 75
},
"_enabled": true,
"__prefab": null,
@ -2978,16 +2994,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 69
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 80
"__id__": 81
},
{
"__id__": 81
"__id__": 82
}
],
"_prefab": null,
@ -3026,7 +3042,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 79
"__id__": 80
},
"_enabled": true,
"__prefab": null,
@ -3048,7 +3064,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 79
"__id__": 80
},
"_enabled": true,
"__prefab": null,
@ -3087,7 +3103,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 69
"__id__": 70
},
"_enabled": true,
"__prefab": null,
@ -3109,7 +3125,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 69
"__id__": 70
},
"_enabled": true,
"__prefab": null,
@ -3206,7 +3222,7 @@
"__id__": 9
},
"rb7Logo": {
"__id__": 66
"__id__": 67
},
"languageJson": {
"__uuid__": "65d2a408-9396-47e4-99de-73423a590b7f",
@ -3228,10 +3244,10 @@
"__id__": 5
},
"Logo": {
"__id__": 66
"__id__": 67
},
"rotateNode": {
"__id__": 69
"__id__": 70
},
"_id": "d8F/UwpTxNpZhwSJjDvnkk"
},
@ -3246,29 +3262,29 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 90
},
"shadows": {
"__id__": 91
},
"_skybox": {
"shadows": {
"__id__": 92
},
"fog": {
"_skybox": {
"__id__": 93
},
"octree": {
"fog": {
"__id__": 94
},
"skin": {
"octree": {
"__id__": 95
},
"lightProbeInfo": {
"skin": {
"__id__": 96
},
"postSettings": {
"lightProbeInfo": {
"__id__": 97
},
"postSettings": {
"__id__": 98
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
},