From c8c9985db80aa6662f9463249d9da2f4e45d3c59 Mon Sep 17 00:00:00 2001 From: edwinQQQ Date: Mon, 15 Sep 2025 18:35:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20XPRoomLittleGameContainerV?= =?UTF-8?q?iew.m=EF=BC=8C=E6=96=B0=E5=A2=9E=E8=A5=BF=E7=8F=AD=E7=89=99?= =?UTF-8?q?=E8=AF=AD=E3=80=81=E4=BF=84=E8=AF=AD=E5=92=8C=E4=B9=8C=E5=85=B9?= =?UTF-8?q?=E5=88=AB=E5=85=8B=E8=AF=AD=E6=94=AF=E6=8C=81=E3=80=82=E8=B0=83?= =?UTF-8?q?=E6=95=B4=20XPEffectPanelViewController.m=20=E4=B8=AD=20UISwitc?= =?UTF-8?q?h=20=E7=9A=84=E9=A2=9C=E8=89=B2=E8=AE=BE=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=20UIColorFromRGB=20=E6=9B=BF=E4=BB=A3?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E8=93=9D=E8=89=B2=E3=80=82=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20MSRoomGameWebVC.m=20=E4=B8=AD=E7=9A=84=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E9=80=BB=E8=BE=91=EF=BC=8C=E7=A1=AE=E4=BF=9D=E5=A4=9A=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E6=94=AF=E6=8C=81=E7=9A=84=E5=87=86=E7=A1=AE=E6=80=A7?= =?UTF-8?q?=E5=92=8C=E4=B8=80=E8=87=B4=E6=80=A7=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../View/LittleGame/View/XPRoomLittleGameContainerView.m | 7 +++++++ .../View/MoreView/View/XPEffectPanelViewController.m | 2 +- YuMi/Modules/YMWeb/MSRoomGameWebVC.m | 7 +------ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/YuMi/Modules/YMRoom/View/LittleGame/View/XPRoomLittleGameContainerView.m b/YuMi/Modules/YMRoom/View/LittleGame/View/XPRoomLittleGameContainerView.m index 1793c3eb..c990a3ec 100644 --- a/YuMi/Modules/YMRoom/View/LittleGame/View/XPRoomLittleGameContainerView.m +++ b/YuMi/Modules/YMRoom/View/LittleGame/View/XPRoomLittleGameContainerView.m @@ -133,7 +133,14 @@ language = @"zh-TW"; } else if (isMSPT()) { language = @"pt-BR"; + }else if (isMSES()) { + language = @"es-ES"; + } else if (isMSRU()) { + language = @"ru-RU"; + } else if (isMSUZ()) { + language = @"uz-UZ"; } + self.fsmAPP2MG = [SudMGP loadMG:userId roomId:roomId code:self.code mgId:self.currentmgId language:language fsmMG:self rootView:self]; } else { /// 初始化失败, 可根据业务重试 diff --git a/YuMi/Modules/YMRoom/View/MoreView/View/XPEffectPanelViewController.m b/YuMi/Modules/YMRoom/View/MoreView/View/XPEffectPanelViewController.m index 8d077f81..85c76e50 100644 --- a/YuMi/Modules/YMRoom/View/MoreView/View/XPEffectPanelViewController.m +++ b/YuMi/Modules/YMRoom/View/MoreView/View/XPEffectPanelViewController.m @@ -133,7 +133,7 @@ [switchView addSubview:titleLabel]; UISwitch *switchViewControl = [[UISwitch alloc] init]; - switchViewControl.onTintColor = [UIColor systemBlueColor]; + switchViewControl.onTintColor = UIColorFromRGB(0xff8c03); [switchView addSubview:switchViewControl]; // 设置约束 - 使用 Masonry diff --git a/YuMi/Modules/YMWeb/MSRoomGameWebVC.m b/YuMi/Modules/YMWeb/MSRoomGameWebVC.m index dd7ae2e7..3554923e 100644 --- a/YuMi/Modules/YMWeb/MSRoomGameWebVC.m +++ b/YuMi/Modules/YMWeb/MSRoomGameWebVC.m @@ -341,13 +341,8 @@ NSString * const kJPClose = @"newTppClose"; } else if (isMSPT()) { lang = @"pt-BR"; } else if (isMSES()) { - lang = @"pt-BR"; - } else if (isMSRU()) { - lang = @"pt-BR"; - } else if (isMSUZ()) { - lang = @"pt-BR"; + lang = @"es-ES"; } - // TODO: 补充多语言 url = [url stringByAppendingFormat:@"%@lang=%@", mark, lang]; return url; }