| | |
| | | { |
| | | X = Application.GetRealWidth(10) + btnMsgIcon.Right, |
| | | Width = Application.GetRealWidth(240), |
| | | Text = "无", |
| | | Text = "...", |
| | | TextColor = CSS_Color.MainBackgroundColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | |
| | | #endregion |
| | | |
| | | LoadEvent_ChangeShowedFunctionType(); |
| | | |
| | | // 查询未读消息并显示 |
| | | GetUnreadPushMessages(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | BackgroundImagePath = (scene as Scene).ImagePath, |
| | | }; |
| | | rowView.AddChidren(functionView); |
| | | |
| | | //2020-12-03 修改图片加载方法 |
| | | ImageUtlis.Current.LoadLocalOrNetworkImages((scene as Scene).ImagePath, functionView); |
| | | |
| | | LoadSceneFunctionDiv( functionView, scene); |
| | | index++; |
| | |
| | | Action refreshAction = () => { |
| | | btnName.Text = scene.name; |
| | | btnZone.Text = scene.GetRoomListName(); |
| | | view.BackgroundImagePath = (scene as Scene).ImagePath; |
| | | //view.BackgroundImagePath = (scene as Scene).ImagePath; |
| | | //2020-12-03 修改图片加载方法 |
| | | ImageUtlis.Current.LoadLocalOrNetworkImages((scene as Scene).ImagePath, view); |
| | | }; |
| | | var aep = new SceneEditPage(scene as Scene, backAction); |
| | | MainPage.BasePageView.AddChidren(aep); |