From 351bdda734832d821a9764b0cde8be5d83c4ec50 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期四, 01 十二月 2022 09:56:25 +0800 Subject: [PATCH] 2022年12月01日09:56:23 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterColor.cs | 160 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 160 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterColor.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterColor.cs new file mode 100644 index 0000000..a5f200d --- /dev/null +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/UserCenterColor.cs @@ -0,0 +1,160 @@ +锘縰sing System; +namespace Shared.Phone.UserCenter +{ + /// <summary> + /// 涓汉涓績鐨勯鑹� + /// </summary> + public class UserCenterColor + { + /// <summary> + /// The m current. + /// </summary> + private static uColor m_Current = null; + /// <summary> + /// 涓汉涓績鐨勯鑹� + /// </summary> + /// <value>The current.</value> + public static uColor Current + { + get + { + if (m_Current == null) + { + m_Current = new uColor(); + } + return m_Current; + } + } + + /// <summary> + /// 鏇存敼鎸囧畾棰滆壊鍙橀噺鐨勫�� + /// </summary> + /// <param name="fildName">Fild name.</param> + /// <param name="colorValue">Color value.</param> + public void EditorColor(string fildName, uint colorValue) + { + if (m_Current == null) + { + m_Current = new uColor(); + } + Type type = m_Current.GetType(); + + type.InvokeMember(fildName, System.Reflection.BindingFlags.SetField, null, m_Current, new object[] { colorValue }); + } + } + + /// <summary> + /// 涓汉涓績鐨勫叏閮ㄩ鑹� + /// </summary> + public class uColor + { + /// <summary> + /// 鈽員opFrameLayout鐨勮儗鏅壊(0xfff9f9f9) + /// </summary> + public uint TopFrameLayout = 0xfff9f9f9; + /// <summary> + /// 鈽咮odyFrameLayout鐨勮儗鏅壊(0xfff5f6fa) + /// </summary> + public uint BodyFrameLayout = 0xfff5f6fa; + /// <summary> + /// 鈽嗘寜閽殑鍒濆鑳屾櫙鑹�(榛戣壊 0xff232323) + /// </summary> + public uint ClickButtonDefultColor = 0xff232323; + /// <summary> + /// 鈽嗘寜閽寜涓嬬姸鎬佺殑鑳屾櫙鑹�(鐏拌壊 0xff656565) + /// </summary> + public uint ButtonClickStatuColor = 0xff656565; + /// <summary> + /// 鈽嗙櫧鑹�,涓昏鐢ㄤ簬FrameLayout鐨勮儗鏅�(0xffffffff) + /// </summary> + public uint White = 0xffffffff; + /// <summary> + /// 鈽嗛�忔槑(0x00000000) + /// </summary> + public uint Transparent = 0x00000000; + /// <summary> + /// 鈽嗘甯告枃鏈瓧浣撻鑹�(0xff333333) + /// </summary> + public uint TextColor1 = 0xff333333; + /// <summary> + /// 鈽嗙壒娈婃甯告枃鏈瓧浣撻鑹�2(0xff000000) + /// </summary> + public uint TextColor2 = 0xff000000; + /// <summary> + /// 鈽嗙壒娈婃甯告枃鏈瓧浣撻鑹�3,杩欎釜鏄櫧鑹�(0xffffffff) + /// </summary> + public uint TextColor3 = 0xffffffff; + /// <summary> + /// 鈽嗙壒娈婃甯告枃鏈瓧浣撻鑹�4(0xff232323) + /// </summary> + public uint TextColor4 = 0xff232323; + /// <summary> + /// 鈽嗚搴曠嚎鐨勯鑹�(0x66cccccc) + /// </summary> + public uint ButtomLine = 0x66cccccc; + /// <summary> + /// 鈽嗚緭鍏ユ鎻愮ず淇℃伅鐨勫瓧浣撻鑹�(0xffcccccc) + /// </summary> + public uint TextTipColor = 0xffcccccc; + /// <summary> + /// 鈽嗚繛鎺ュ姩鐢婚偅涓悆鐨勮儗鏅壊(0xfffc744b) + /// </summary> + public uint ConcetionRoundColor = 0xfffc744b; + /// <summary> + /// 鈽嗛粦鑹茶儗鏅�(0xff232323) + /// </summary> + public uint BlackBackGround = 0xff232323; + /// <summary> + /// 鈽嗚緭鍏ユ杈规鐨勯鑹�(0xffcccccc) + /// </summary> + public uint TextFrameColor = 0xffcccccc; + /// <summary> + /// 鈽嗚緭鍏ユ杈规閫変腑鐨勯鑹�(0xfffc744b) + /// </summary> + public uint TextFrameSelectColor = 0xfffc744b; + /// <summary> + /// 鈽嗗ご閮ㄦ爣棰樼殑瀛椾綋棰滆壊(0xff030303) + /// </summary> + public uint TopLayoutTitleText = 0xff030303; + /// <summary> + /// 鈽嗙伆鑹插瓧浣撻鑹�(0xff999999) + /// </summary> + public uint TextGrayColor1 = 0xff999999; + /// <summary> + /// 鈽嗙伆鑹插瓧浣撻鑹�2(0xffcccccc) + /// </summary> + public uint TextGrayColor2 = 0xffcccccc; + /// <summary> + /// 鈽嗙伆鑹插瓧浣撻鑹�3(0xff666666) + /// </summary> + public uint TextGrayColor3 = 0xff666666; + /// <summary> + /// 鈽嗗脊绐楀瀷鐢婚潰鐨勮儗鏅壊(0x80000000) + /// </summary> + public uint DialogBackColor = 0x80000000; + /// <summary> + /// 鈽嗘鑹茬殑鏂囨湰棰滆壊(0xfffc744b) + /// </summary> + public uint TextOrangeColor = 0xfffc744b; + /// <summary> + /// 鈽嗚鎺т欢閫夋嫨鐘舵�佹椂鐨勮儗鏅壊(0xfffbfbfb) + /// </summary> + public uint RowSelectBackColor = 0xfffbfbfb; + /// <summary> + /// 鈽嗛敊璇彁绀虹殑棰滆壊(0xfff75858) + /// </summary> + public uint ErrorColor = 0xfff75858; + /// <summary> + /// 鍥剧墖閬僵鐨勯鑹� + /// </summary> + public uint PictrueZhezhaoColor = 0x12000000; + /// <summary> + /// 鐏拌壊(0xff6b6b6b) 鍏朵粬鍦版柟浼间箮鍦ㄧ敤,寤鸿涓嶈浣跨敤 + /// </summary> + public uint Gray = 0xff6b6b6b; + /// <summary> + /// 绾㈣壊(0xfff62f48) 鍏朵粬鍦版柟浼间箮鍦ㄧ敤,寤鸿涓嶈浣跨敤 + /// </summary> + public uint Red = 0xfff62f48; + } +} -- Gitblit v1.8.0