18 lines
675 B
Lua
18 lines
675 B
Lua
|
local XUiBtnKeyItem = require("XUi/XUiSet/ChildItem/XUiBtnKeyItem")
|
||
|
local XUiNotCustomKeyItemHandle = XClass(XUiBtnKeyItem, "XUiNotCustomKeyItemHandle")
|
||
|
|
||
|
function XUiNotCustomKeyItemHandle:Ctor()
|
||
|
self.BtnClear.gameObject:SetActiveEx(false)
|
||
|
end
|
||
|
|
||
|
function XUiNotCustomKeyItemHandle:Refresh(data, cb, resetTextOnly, curOperationType)
|
||
|
self.Super.Refresh(self, data, cb, resetTextOnly, curOperationType)
|
||
|
self.GroupRecommend.gameObject:SetActiveEx(false)
|
||
|
end
|
||
|
|
||
|
function XUiNotCustomKeyItemHandle:SetRecommendText(operationKey)
|
||
|
self.Super.SetRecommendText(self, operationKey)
|
||
|
self.GroupRecommend.gameObject:SetActiveEx(false)
|
||
|
end
|
||
|
|
||
|
return XUiNotCustomKeyItemHandle
|