| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 | 
							- using UnityEngine;
 
- using FairyGUI;
 
- using UI.Notice;
 
- namespace GFGGame
 
- {
 
-     public class NoticeSystemShowView : BaseWindow
 
-     {
 
-         private UI_NoticeSystemShowUI _ui;
 
-         public override void Dispose()
 
-         {
 
-             if (_ui != null)
 
-             {
 
-                 _ui.Dispose();
 
-                 _ui = null;
 
-             }
 
-             base.Dispose();
 
-         }
 
-         protected override void Init()
 
-         {
 
-             base.Init();
 
-             packageName = UI_NoticeSystemShowUI.PACKAGE_NAME;
 
-             _ui = UI_NoticeSystemShowUI.Create();
 
-             this.viewCom = _ui.target;
 
-             isfullScreen = true;
 
-             this.clickBlankToClose = false;
 
-             // this.modal = true;
 
-             // viewAnimationType = EnumViewAnimationType.None;
 
-         }
 
-         protected override void OnInit()
 
-         {
 
-             base.OnInit();
 
-             _ui.m_btnBack.onClick.Add(GoBackFrom);
 
-             _ui.m_btnBg.onClick.Add(GoBackFrom);
 
-         }
 
-         protected override void OnShown()
 
-         {
 
-             base.OnShown();
 
-             NoticeInfo noticeInfo = this.viewData as NoticeInfo;
 
-             _ui.m_txtTitle.text = noticeInfo.title;
 
-             _ui.m_ComContent.m_txtContent.text = noticeInfo.content;
 
-         }
 
-         protected override void OnHide()
 
-         {
 
-             base.OnHide();
 
-         }
 
-         private void GoBackFrom()
 
-         {
 
-             ViewManager.GoBackFrom(typeof(NoticeSystemShowView).Name);
 
-         }
 
-     }
 
- }
 
 
  |