local UICommonComandView = UIViewClass() function UICommonComandView:OnOpened(context) print(context) self.txt_PlayerGuideDialogue.text = context.commandStr self.name.text = context.name self.job.text = context.titile UTL.Item.SetHeroIconByHeroId(self.img_HeroHead, context.heroId, context.heroAwaken) self:StartRepeatFunc(self.OnUpdateFun, 3, 1) end function UICommonComandView:OnUpdateFun() self:CloseView() end return UICommonComandView