Browse Source

每日签到,展示套装

zhangyuqian 1 year ago
parent
commit
f7737965ff

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/CommonGame/GetSuitItemVIew.cs

@@ -126,7 +126,7 @@ namespace GFGGame
             }
             // UpdateItem(itemId);
 
-            _dressUpObjUI.ResetSceneObj(70, false, true, null,  false);
+            _dressUpObjUI.ResetSceneObj(115, false, true, null,  false);
             _dressUpObjUI.dressUpObj.PutOnSuitCfg(suitId, false, null, false, false);
             _dressUpObjUI.UpdateWrapper(_ui.m_holder);
         }

+ 8 - 2
GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/DailyWelfareView.cs

@@ -123,12 +123,18 @@ namespace GFGGame
                 item.m_loaIcon.url = "ui://DailyWelfare/hdbn_xslc_" + openCfg.res;
                 item.m_loaTitle.url = "ui://DailyWelfare/hdbn_wz_xslc_" + openCfg.res;
             }
-            if (openCfg.id == 501)
+            else if (openCfg.id == 501)
             {
                 item.m_loaIcon.url = "ui://DailyWelfare/hdbn_xslc_xslgt";
                 item.m_loaTitle.url = "ui://DailyWelfare/hdbn_wz_xslc_xslgt";
             }
-            if (item.target.data == null)
+            else
+            {
+                item.target.visible = false;
+                UI_Button1.ProxyEnd();
+                return;
+            }
+            if (item.target.data == null && openCfg != null)
             {
                 item.target.onClick.Add(OnBtnLimitChargeAddUpClick);
             }

BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_1!a.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_1.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_fui.bytes


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_fui.bytes