KLShopMallGoodsItemView.lua 808 B

1234567891011121314151617181920
  1. ---@class KLShopMallGoodsItemView:UIKmlLuaViewBase
  2. ---@field txt_goods_title UIKmlLuaControl
  3. ---@field Text_Condition UIKmlLuaControl
  4. ---@field img_goods_icon UIKmlLuaControl
  5. ---@field txt_purchase_limitation UIKmlLuaControl
  6. ---@field Bg UIKmlLuaControl
  7. ---@field img_money_icon UIKmlLuaControl
  8. ---@field txt_price UIKmlLuaControl
  9. ---@field ButtonBg UIKmlLuaControl
  10. local KLShopMallGoodsItemView = {}
  11. setmetatable(KLShopMallGoodsItemView,UIKmlLuaViewBase)
  12. local kmlPath = 'dev/ui/ShopMall/Item/KLShopMallGoods/KLShopMallGoodsItemKml'
  13. KLShopMallGoodsItemView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  14. ---@param parent UIKmlLuaControl
  15. function KLShopMallGoodsItemView:Init(parent)
  16. self:InitRoot(parent,kmlPath,KLShopMallGoodsItemView.content)
  17. end
  18. return KLShopMallGoodsItemView