local UIHeroMatch1v1InBattleRound = UIViewClass() local SHOW_TIME = DataSheetManager.ConstData:GetDataByID("HeroMatch1v1Interface2").IntValue function UIHeroMatch1v1InBattleRound:OnOpened(context) UIUtils.SetLabel(self.txt_Round, context.matchRoundDes) UIUtils.SetLabel(self.txt_Fight, context.curRoundDes) self:StartRepeatFunc(self.ClosePanel, SHOW_TIME, 1) end function UIHeroMatch1v1InBattleRound:ClosePanel() self:CloseView() end return UIHeroMatch1v1InBattleRound