From eda3fb873e59544ff36301b51e05aef64f87b0f9 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期五, 27 八月 2021 13:21:21 +0800 Subject: [PATCH] Merge branch 'newBranch1' of http://172.16.1.23:6688/r/~wxr/HDL_APP_Project into newBranch1 --- HDL_ON/UI/UI2/4-PersonalCenter/GetSupport/QuestionListPage.cs | 66 +++++++++++++++++++++++++++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/GetSupport/QuestionListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/GetSupport/QuestionListPage.cs new file mode 100644 index 0000000..c6527b6 --- /dev/null +++ b/HDL_ON/UI/UI2/4-PersonalCenter/GetSupport/QuestionListPage.cs @@ -0,0 +1,66 @@ +锘縰sing System; +using Shared; +using HDL_ON.UI.CSS; + +namespace HDL_ON.UI +{ + /// <summary> + /// 闂鍒楄〃椤甸潰 + /// 鍔熻兘闂銆佸満鏅棶棰樸�丄PP浣跨敤杈呭姪 + /// </summary> + public class QuestionListPage : FrameLayout + { + /// <summary> + /// bodyView + /// </summary> + FrameLayout bodyView; + /// <summary> + /// 褰撳墠 + /// </summary> + VerticalScrolViewLayout bodyScrolView; + /// <summary> + /// emptyTipView + /// </summary> + EmptyTipView emptyTipView; + + /// <summary> + /// + /// </summary> + public QuestionListPage() + { + bodyView = this; + } + + /// <summary> + /// 鍔犺浇鏄剧ず缃戦〉 + /// </summary> + /// <param name="titleId"></param> + public void LoadPage(int titleId) + { + new TopViewDiv(bodyView, Language.StringByID(titleId)).LoadTopView(); + + int bodyY = Application.GetRealHeight(64); + bodyScrolView = new VerticalScrolViewLayout() + { + Y = bodyY, + Height = bodyView.Height - bodyY, + BackgroundColor = CSS_Color.MainBackgroundColor, + }; + bodyView.AddChidren(bodyScrolView); + + AddEmptyTipView(); + } + + /// <summary> + /// 娣诲姞鍐呭涓虹┖鎻愮ず椤甸潰 + /// </summary> + void AddEmptyTipView() + { + emptyTipView = new EmptyTipView() + { + Gravity = Gravity.Center + }; + bodyView.AddChidren(emptyTipView); + } + } +} -- Gitblit v1.8.0