fix:1、UI更换(全部更换完)

This commit is contained in:
2026-04-27 10:11:52 +08:00
parent 7c23d255e6
commit db90a6e485
141 changed files with 994 additions and 1344 deletions
@@ -135,7 +135,7 @@ namespace LoveLegend
btn_sign btnSign = btnSignList[index];;
btnSign.state.selectedIndex = 0;
btnSign.title = signList[index].id + "";
ui.btn_collect.state.selectedIndex = 1;
btnSign.touchable = false;
btnSign.reward_num.text = GameHelper.Get101Str(signList[index].quantity[0]);
@@ -149,6 +149,9 @@ namespace LoveLegend
var isToday = true;
if (signDays > 0)
isToday = GameHelper.InToday(DataMgr.SignState.Value[signDays - 1], 0, true);
ui.btn_collect.state.selectedIndex = index == signDays && !(signDays > 0 && isToday)? 0 : 1;
if (index < signDays)
{
btnSign.state.selectedIndex = 3;
@@ -167,7 +170,6 @@ namespace LoveLegend
btnSign.isCloseClickAnim = true;
// btnSign.status.selectedIndex = btn_sign.State_today;
ui.btn_collect.state.selectedIndex = 0;
ui.btn_collect.SetClick(() =>
{
SetBtnClick(index);