《新提醒》
先设置在数据里面的值. 判断下.如果数据有刷新或更改. 就从右下角往上跳出一个小窗口. public void ShowNotification(string title, string message) { Ext.Notification.Show(new Notification.Config { Icon = Coolite.Ext.Web.Icon.Information, Title = title, HideDelay = 1000, AlignCfg = new Notification.AlignConfig { ElementAnchor = AnchorPoint.BottomRight, TargetAnchor = AnchorPoint.BottomRight, OffsetX = -5, OffsetY = -40 }, ShowFx = new FadeIn { Options = new Coolite.Ext.Web.Fx.Config { Duration = 1 } }, HideFx = new SwitchOff(), Html = message }); } |