From 9d65c293924e4edbbc8c6c6091f55d7fc49c23eb Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 06 七月 2021 13:15:46 +0800
Subject: [PATCH] 乐橙子账号token
---
HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferingResidencePage.cs | 80 ++++++++++++++++++++-------------------
1 files changed, 41 insertions(+), 39 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferingResidencePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferingResidencePage.cs
index aa6e574..20484cb 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferingResidencePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/Transfer/TransferingResidencePage.cs
@@ -48,31 +48,34 @@
//娓呯┖bodyFrame
this.ClearBodyFrame();
- //浣忓畢鐨勫浘鏍�
- var btnHouseIcon = new PicViewControl(93, 93);
- btnHouseIcon.Y = Application.GetRealHeight(127);
- btnHouseIcon.X = Application.GetRealWidth(48);
- btnHouseIcon.BackgroundColor = CSS_Color.MainColor;
- bodyFrameLayout.AddChidren(btnHouseIcon);
- //浣忓畢鍚嶅瓧 (浠ヤ腑闂翠负鍩哄噯,宸﹀彸闂磋窛16)
- var btnHouseName = new NormalViewControl(bodyFrameLayout.Width / 2 - Application.GetRealWidth(16 * 2), Application.GetRealHeight(48), false);
- btnHouseName.X = Application.GetRealWidth(16);
- btnHouseName.Y = btnHouseIcon.Bottom + Application.GetRealHeight(10);
- btnHouseName.IsBold = true;
- btnHouseName.IsMoreLines = true;
- btnHouseName.TextAlignment = TextAlignment.TopCenter;
- btnHouseName.TextSize = CSS_FontSize.SubheadingFontSize;
- btnHouseName.Text = Entity.DB_ResidenceData.Instance.CurrentRegion.homeName;
- bodyFrameLayout.AddChidren(btnHouseName);
+ //涓讳汉鐨勫浘鏍�
+ var btnAdminIcon = new ImageView();
+ btnAdminIcon.Y = Application.GetRealHeight(112);
+ btnAdminIcon.X = Application.GetRealWidth(48);
+ btnAdminIcon.Height = this.GetPictrueRealSize(70);
+ btnAdminIcon.Width = this.GetPictrueRealSize(70);
+ btnAdminIcon.Radius = (uint)this.GetPictrueRealSize(70) / 2;
+ btnAdminIcon.ImagePath = UserInfo.Current.headImagePagePath;
+ bodyFrameLayout.AddChidren(btnAdminIcon);
+ //涓讳汉鍚嶅瓧 (浠ヤ腑闂翠负鍩哄噯,宸﹀彸闂磋窛16)
+ var btnAdminName = new NormalViewControl((btnAdminIcon.Right + btnAdminIcon.X) - HdlControlResourse.XXLeft * 2, Application.GetRealHeight(48), false);
+ btnAdminName.X = HdlControlResourse.XXLeft;
+ btnAdminName.Y = btnAdminIcon.Bottom + Application.GetRealHeight(10);
+ btnAdminName.IsBold = true;
+ btnAdminName.IsMoreLines = true;
+ btnAdminName.TextAlignment = TextAlignment.TopCenter;
+ btnAdminName.TextSize = CSS_FontSize.SubheadingFontSize;
+ btnAdminName.Text = string.IsNullOrEmpty(UserInfo.Current.userName) == true ? UserInfo.Current.AccountString : UserInfo.Current.userName;
+ bodyFrameLayout.AddChidren(btnAdminName);
//澶村儚
var imageByte = ImageUtlis.Current.ReadFile(this.accountResult.MemberHeadIcon);
var btnUserIcon = new ImageView();
- btnUserIcon.Y = btnHouseIcon.Y;
- btnUserIcon.X = bodyFrameLayout.Width - Application.GetRealWidth(48) - this.GetPictrueRealSize(93);
- btnUserIcon.Height = this.GetPictrueRealSize(93);
- btnUserIcon.Width = this.GetPictrueRealSize(93);
- btnUserIcon.Radius = (uint)this.GetPictrueRealSize(93) / 2;
+ btnUserIcon.Y = btnAdminIcon.Y;
+ btnUserIcon.X = bodyFrameLayout.Width - Application.GetRealWidth(48) - this.GetPictrueRealSize(70);
+ btnUserIcon.Height = this.GetPictrueRealSize(70);
+ btnUserIcon.Width = this.GetPictrueRealSize(70);
+ btnUserIcon.Radius = (uint)this.GetPictrueRealSize(70) / 2;
if (imageByte != null && imageByte.Length > 0)
{
btnUserIcon.ImageBytes = imageByte;
@@ -84,9 +87,9 @@
bodyFrameLayout.AddChidren(btnUserIcon);
//鏄电О (浠ヤ腑闂翠负鍩哄噯,宸﹀彸闂磋窛50)
- var btnName = new NormalViewControl(btnHouseName.Width, btnHouseName.Height, false);
- btnName.X = bodyFrameLayout.Width - btnHouseName.X - btnHouseName.Width;
- btnName.Y = btnHouseName.Y;
+ var btnName = new NormalViewControl(btnAdminName.Width, btnAdminName.Height, false);
+ btnName.X = bodyFrameLayout.Width - btnAdminName.X - btnAdminName.Width;
+ btnName.Y = btnAdminName.Y;
btnName.IsBold = true;
btnName.IsMoreLines = true;
btnName.TextAlignment = TextAlignment.TopCenter;
@@ -95,11 +98,11 @@
bodyFrameLayout.AddChidren(btnName);
//寮�鍚繛鎺ョ殑鍋囨兂鍔ㄧ敾鏁堟灉绾跨▼
- this.StartConcetionAnimeteThread(btnHouseIcon.Right + Application.GetRealWidth(10));
+ this.StartConcetionAnimeteThread(btnAdminIcon.Right + Application.GetRealWidth(16));
//缁堟
var btnCancel = new BottomClickButton();
- btnCancel.Y = Application.GetRealHeight(392);
+ btnCancel.Y = Application.GetRealHeight(519);
btnCancel.TextID = StringId.Terminate;
bodyFrameLayout.AddChidren(btnCancel);
btnCancel.ButtonClickEvent += (sender, e) =>
@@ -109,7 +112,6 @@
//鍒濆鍖栨秷鎭帶浠�
this.InitMsgControl();
-
}
#endregion
@@ -123,23 +125,23 @@
{
//鐢熸垚鐐瑰彿鍥炬牱
int pointXX = XX;
- int pointWidth = Application.GetRealWidth(6);
- int pointSpace = Application.GetRealWidth(5);
- for (int i = 0; i < 7; i++)
+ int pointWidth = Application.GetRealWidth(4);
+ int pointSpace = Application.GetRealWidth(9);
+ for (int i = 0; i < 9; i++)
{
- var btnPoint = new NormalViewControl(pointWidth, Application.GetRealHeight(4), false);
- btnPoint.Radius = (uint)Application.GetRealHeight(4) / 2;
- btnPoint.BackgroundColor = 0xffd5d5d5;
- btnPoint.Y = Application.GetRealHeight(170);
+ var btnPoint = new NormalViewControl(pointWidth, pointWidth, false);
+ btnPoint.Radius = (uint)pointWidth / 2;
+ btnPoint.BackgroundColor = CSS_Color.PromptingColor1;
+ btnPoint.Y = Application.GetRealHeight(144);
btnPoint.X = pointXX;
bodyFrameLayout.AddChidren(btnPoint);
- pointXX = btnPoint.Right + Application.GetRealWidth(5);
+ pointXX = btnPoint.Right + pointSpace;
}
var listPoint = new List<int>();
//璺冲姩鐨勯棿璺�
int jumpSpace = pointWidth + pointSpace;
- for (int i = 0; i < 7; i++)
+ for (int i = 0; i < 9; i++)
{
//X杞�+Index*(鍥炬爣澶у皬+闂磋窛)
listPoint.Add(XX + i * jumpSpace);
@@ -147,9 +149,9 @@
var btnRound = new IconViewControl(8);
btnRound.Radius = (uint)btnRound.IconSize / 2;
- btnRound.BackgroundColor = CSS_Color.AuxiliaryColor2;
+ btnRound.BackgroundColor = CSS_Color.MainColor;
btnRound.X = listPoint[0] - (btnRound.IconSize - pointWidth) / 2;
- btnRound.Y = Application.GetRealHeight(169);
+ btnRound.Y = Application.GetRealHeight(142);
bodyFrameLayout.AddChidren(btnRound);
HdlThreadLogic.Current.RunThread(() =>
@@ -258,7 +260,7 @@
//姝e湪杩囨埛缁欑敤鎴�,璇风◢鍚�...
var btnMsg = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(20), false);
- btnMsg.Y = Application.GetRealHeight(300);
+ btnMsg.Y = Application.GetRealHeight(288);
btnMsg.TextAlignment = TextAlignment.Center;
btnMsg.TextSize = CSS_FontSize.PromptFontSize_FirstLevel;
btnMsg.Text = msg;
--
Gitblit v1.8.0