local DreamTaskPanel = class("DreamTaskPanel", BasePanel) DreamTaskPanel._sUIResRootPath = "UI_Activity/" DreamTaskPanel._tbDefine = { { sPrefabPath = "10102/Task.prefab", sCtrlName = "Game.UI.ActivityTheme.TaskCommon.TaskCommonCtrl_01" } } local tbImgDbType = {SizeDelta = 1, FillAmount = 2} function DreamTaskPanel:Awake() local tbParam = self:GetPanelParam() if type(tbParam) == "table" and tbParam[3] == nil then tbParam[3] = tbImgDbType.SizeDelta end end return DreamTaskPanel