fix:1、同步ios修复的bug
This commit is contained in:
@@ -59,7 +59,13 @@ namespace ChillConnect
|
||||
|
||||
InitData();
|
||||
InitView();
|
||||
// ui.btn_null.SetClick(() => { });
|
||||
// ui.btn_null.SetClick(() => { });+
|
||||
|
||||
|
||||
if (GameHelper.IsGiftSwitch() && ConfigSystem.GetConfig<CommonModel>().PiggyBankSwitch == 1)
|
||||
{
|
||||
ui.btn_multi.GetChild("img_saveingpot").visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnOpen(object args)
|
||||
@@ -103,7 +109,7 @@ namespace ChillConnect
|
||||
}
|
||||
else
|
||||
{
|
||||
ui.btn_collect.title ="(" + "Claim(<img src='ui://o9974uc5k1oncy'/>" + GameHelper.Get101Str((decimal)value) + ")";
|
||||
ui.btn_collect.title ="Claim(<img src='ui://o9974uc5npswda'/>" + GameHelper.Get101Str((decimal)value) + ")";
|
||||
}
|
||||
DOVirtual.DelayedCall(0.2f, () =>
|
||||
{
|
||||
@@ -164,7 +170,7 @@ namespace ChillConnect
|
||||
}
|
||||
cash_num = value;
|
||||
|
||||
var src = GameHelper.IsGiftSwitch() ? "(" : "(<img src='ui://o9974uc5cou6b8'/>";
|
||||
var src = GameHelper.IsGiftSwitch() ? "(" : "(<img src='ui://o9974uc5npswda'/>";
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t0.Play(Scroll);
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t1.Play(() =>
|
||||
{
|
||||
@@ -189,7 +195,7 @@ namespace ChillConnect
|
||||
}
|
||||
void setItemUrl(GLoader loader, int urltype)
|
||||
{
|
||||
if (urltype == 0) loader.url = "ui://ZM_Common_01/cards_gold"; //jinbi
|
||||
if (urltype == 0) loader.url = "ui://ZM_Common_01/gem_small"; //jinbi
|
||||
else if (urltype == 1) loader.url = "ui://Common_01/spin_remove"; //yichu
|
||||
else if (urltype == 2) loader.url = "ui://Common_01/spin_undo"; //chehui
|
||||
else if (urltype == 3) loader.url = "ui://Common_01/spin_refresh"; //shuaxin
|
||||
@@ -298,7 +304,7 @@ namespace ChillConnect
|
||||
var src = "(";
|
||||
var rewards = GameHelper.Get102Str((decimal)cash_num * boost_array[rate_idnex % boost_array.Length]);
|
||||
if (!GameHelper.IsGiftSwitch()){
|
||||
src = "(<img src='ui://o9974uc5cou6b8'/>";
|
||||
src = "(<img src='ui://o9974uc5npswda'/>";
|
||||
rewards = GameHelper.Get101Str((decimal)cash_num * boost_array[rate_idnex % boost_array.Length]);
|
||||
}
|
||||
|
||||
@@ -357,7 +363,7 @@ namespace ChillConnect
|
||||
// return;
|
||||
// }
|
||||
|
||||
var src = GameHelper.IsGiftSwitch() ? "(" : "(<img src='ui://o9974uc5cou6b8'/>";
|
||||
var src = GameHelper.IsGiftSwitch() ? "(" : "(<img src='ui://o9974uc5npswda'/>";
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t1.Play(() =>
|
||||
{
|
||||
rate_idnex++;
|
||||
|
||||
Reference in New Issue
Block a user