diff --git a/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerHightLadderPanel.lua b/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerHightLadderPanel.lua index 1a6abc6bec..e011ffc041 100644 --- a/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerHightLadderPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerHightLadderPanel.lua @@ -266,6 +266,12 @@ function this.ShowSingleData(go,data,i) Util.GetGameObject(go, "sdBtn/Text"):SetActive(not data.hadProud) Util.GetGameObject(go, "sdBtn/dianzanImage/Text"):GetComponent("Text").text = data.worshipTime dianzanImage:SetActive(data.hadProud) + if data.hadProud then + sdBtn:GetComponent("Image").sprite = this.spLoader:LoadSprite("r_hero_button_001") + else + sdBtn:GetComponent("Image").sprite = this.spLoader:LoadSprite("f_feishengshi_huanganniu") + end + Util.AddOnceClick(sdBtn,function() if not data.hadProud then