From c1d681f496f2e1c53f88472d803e3c95fab521af Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期四, 29 七月 2021 09:46:16 +0800
Subject: [PATCH] 萤石测试通过
---
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