/// <summary>
 /// 关闭一个页面所有关联的Popup /Widget
 /// </summary>
 /// <param name="view"></param>
 private void ClosePageConnectView(UIBasePageView view)
 {
     if (view != null)
     {
         view.HideWindow(UIParameterArgs.Create());
         UIBasePopupView.RemoveWillPopupView(view);                                           //关闭当前界面所包含的弹窗(没有弹出的)
         UIBasePopupView.CloseConnectPopupView(view);                                         //关闭当前界面所包含的弹窗 (已经弹出的)
         UIBaseWidgetView.CloseAttachWidget(view.transform, false, UIParameterArgs.Create()); //关闭关联的Widget
     }
 }
        /// <summary>
        /// 显示Widget
        /// </summary>
        /// <param name="view"></param>
        /// <param name="parentTrans"></param>
        /// <param name="showTime"></param>
        /// <param name="isSingleton"></param>
        /// <param name="parameter"></param>
        private void ShowWidgetView(UIBaseWidgetView view, Transform parentTrans, float showTime, bool isSingleton, UIParameterArgs parameter)
        {
            if (view.rectransform.parent != parentTrans)
            {
                view.rectransform.SetParent(parentTrans);
            }
            view.rectransform.ResetRectTransProperty();

            UIParameterArgs parameter1 = UIParameterArgs.Create(parentTrans, showTime, isSingleton);

            view.ShowWindow(Helper.Instance.MegerUIParameter(parameter1, parameter));
        }