KLUILifetimeGiftPackageItemView.lua 1.0 KB

12345678910111213141516171819202122232425
  1. ---@class KLUILifetimeGiftPackageItemView:UIKmlLuaViewBase
  2. ---@field root UIKmlLuaControl
  3. ---@field bg UIKmlLuaControl
  4. ---@field titleText UIKmlLuaControl
  5. ---@field FlagImg UIKmlLuaControl
  6. ---@field img6 UIKmlLuaControl
  7. ---@field DiscountText UIKmlLuaControl
  8. ---@field countText UIKmlLuaControl
  9. ---@field timeText UIKmlLuaControl
  10. ---@field scrollview1 UIKmlLuaControl
  11. ---@field layout2 UIKmlLuaControl
  12. ---@field itemContent UIKmlLuaControl
  13. ---@field buyBtn UIKmlLuaControl
  14. ---@field redPoint UIKmlLuaControl
  15. local KLUILifetimeGiftPackageItemView = {}
  16. setmetatable(KLUILifetimeGiftPackageItemView,UIKmlLuaViewBase)
  17. local kmlPath = 'dev/outui/LifetimeGift/Item/KLUILifetimeGiftPackage/KLUILifetimeGiftPackageItemKml'
  18. KLUILifetimeGiftPackageItemView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  19. ---@param parent UIKmlLuaControl
  20. function KLUILifetimeGiftPackageItemView:Init(parent)
  21. self:InitRoot(parent,kmlPath,KLUILifetimeGiftPackageItemView.content)
  22. end
  23. return KLUILifetimeGiftPackageItemView