JLChen
2020-11-30 9c6bc15e002c5315b8c6426f48e990fe567018f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
using System;
using Shared;
using HDL_ON.UI.CSS;
 
namespace HDL_ON.UI
{
    /// <summary>
    /// 过户账号确认界面
    /// 个人资料
    /// </summary>
    public class TransferUserConfirmPage : FrameLayout
    {
        /// <summary>
        /// 
        /// </summary>
        FrameLayout bodyView;
 
        public TransferUserConfirmPage()
        {
            bodyView = this;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public void LoadPage()
        {
            BackgroundColor = CSS_Color.BackgroundColor;
 
            new TopViewDiv(bodyView, "个人资料").LoadTopView();
 
            var headView = new FrameLayout()
            {
                Y = Application.GetRealHeight(64),
                Height = Application.GetRealHeight(204),
                BackgroundColor = CSS_Color.MainBackgroundColor,
            };
            bodyView.AddChidren(headView);
 
            ImageView myHeadImage = new ImageView()
            {
                Y = Application.GetRealHeight(32),
                Width = Application.GetRealWidth(84),
                Height = Application.GetRealWidth(84),
                Radius = (uint)Application.GetRealWidth(42),
                ImagePath = UserInfo.Current.headImagePagePath,
                Gravity = Gravity.CenterHorizontal,
            };
            headView.AddChidren(myHeadImage);
 
            var btnConfirm = new Button()
            {
                Y = headView.Bottom + Application.GetRealHeight(8),
                Height = Application.GetRealHeight(50),
                TextAlignment = TextAlignment.Center,
                TextColor = CSS_Color.MainColor,
                TextSize = CSS_FontSize.SubheadingFontSize,
                BackgroundColor = CSS_Color.MainBackgroundColor,
                Text = "确认过户"
 
            };
            bodyView.AddChidren(btnConfirm);
 
        }
 
    }
 
}