diff --git a/Assets/ManagedResources/~Lua/Modules/Practice/PracticeImprintPanel.lua b/Assets/ManagedResources/~Lua/Modules/Practice/PracticeImprintPanel.lua index 2ea12a3987..464cbc5a1f 100644 --- a/Assets/ManagedResources/~Lua/Modules/Practice/PracticeImprintPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Practice/PracticeImprintPanel.lua @@ -153,9 +153,16 @@ function PracticeImprint:SetSingleImprint(_go,_imprintId) Util.AddOnceClick(maskBtn,function () --未解锁的不可查看 - if not serverData then - PopupTipPanel.ShowTip(string.format("%s解锁",configData.Unlock)) - return + if configData.UnlockView then + if configData.UnlockView == 0 then + PopupTipPanel.ShowTip(string.format("暂未开放...")) + return + end + else + if not serverData then + PopupTipPanel.ShowTip(string.format("%s解锁",configData.Unlock)) + return + end end if serverData then--如果没有解锁 点击查看不能影响后面红点 PlayerPrefs.SetInt(PlayerManager.uid.."Imprint"..configData.Id,1)