From 36540bdc906f402f4c55cc7460b6facfd344a793 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期五, 04 八月 2023 14:55:14 +0800
Subject: [PATCH] 2023年08月04日14:55:04

---
 HDL_ON/UI/UI2/FuntionControlView/Aks/GfPage.cs                       |   16 
 HDL_ON/UI/UI2/FuntionControlView/Aks/TyyPage.cs                      |   28 
 HDL_ON/UI/UI2/FuntionControlView/Aks/YkPage.cs                       |    4 
 HDL_ON/HDL_ON.projitems                                              |    8 
 HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs                      |  312 ++++++++++++++
 HDL_ON/UI/UI2/FuntionControlView/Aks/TvPage.cs                       |  213 +++++++++-
 HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/CornerFramLayout.cs  |  148 ++++++
 HDL_ON/UI/UI2/FuntionControlView/Aks/MusicPage.cs                    |   26 
 HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs  |    1 
 HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/NumberFrameLayout.cs |  111 ++++-
 HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs                  |    2 
 HDL_ON/UI/UI2/FuntionControlView/Aks/AksPage.cs                      |   71 ++-
 HDL_ON/UI/UI2/FuntionControlView/Aks/JdhPage.cs                      |  301 ++++++++++++++
 13 files changed, 1,126 insertions(+), 115 deletions(-)

diff --git a/HDL_ON/HDL_ON.projitems b/HDL_ON/HDL_ON.projitems
index b6d9ca2..1e5b09f 100644
--- a/HDL_ON/HDL_ON.projitems
+++ b/HDL_ON/HDL_ON.projitems
@@ -567,7 +567,6 @@
     <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\AksPage.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\CommonView\ButtonFramLayout.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\CommonView\CornerFramLayout.cs" />
-    <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\AksMusicPage.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\CommonView\BaseFramLayout.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\CommonView\MenuFramLayout.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\CommonView\TypeSingleFramLayout.cs" />
@@ -579,10 +578,13 @@
     <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\CommonView\ImageFramlayout.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\CollectPage.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\DetailPage.cs" />
-    <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\GFPage.cs" />
-    <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\TYYPage.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\TvPage.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\CommonView\NumberFrameLayout.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\JdhPage.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\MusicPage.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\GfPage.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\TyyPage.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)UI\UI2\FuntionControlView\Aks\YkqPage.cs" />
   </ItemGroup>
   <ItemGroup>
     <Folder Include="$(MSBuildThisFileDirectory)Entity\Device\" />
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/AksPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/AksPage.cs
index 66d07bd..d339498 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/AksPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/AksPage.cs
@@ -12,6 +12,9 @@
 
 namespace HDL_ON.UI.UI2.FuntionControlView.Aks
 {
+    /// <summary>
+    /// 鍩冨厠鏂富鐣岄潰
+    /// </summary>
     public class AksPage : FrameLayout
     {
         #region 鈻� 鍙橀噺澹版槑___________________________
@@ -202,26 +205,29 @@
             {
                 case IntType.Player:
                     {
-                        AksMusicPage aksMusicPage = new AksMusicPage();
-                        this.vv.AddChidren(aksMusicPage);
-                        aksMusicPage.Show();
-                        aksMusicPage.action += (type) =>
+                        MusicPage musicPage = new MusicPage();
+                        this.vv.AddChidren(musicPage);
+                        musicPage.Show();
+                        musicPage.action += (type) =>
                         {
                             SelectedType();
                         };
                     }
                     break;
-                case IntType.HiFi: {
-                        GFPage gFPage = new GFPage();
-                        this.vv.AddChidren(gFPage);
-                        gFPage.Show();
-                        gFPage.action += (type) =>
+                case IntType.HiFi:
+                    {
+                        GfPage gfPage = new GfPage();
+                        this.vv.AddChidren(gfPage);
+                        gfPage.Show();
+                        gfPage.action += (type) =>
                         {
                             SelectedType();
                         };
 
-                    } break;
-                case IntType.TV: {
+                    }
+                    break;
+                case IntType.TV:
+                    {
 
                         TvPage tvPage = new TvPage();
                         this.vv.AddChidren(tvPage);
@@ -230,18 +236,41 @@
                         {
                             SelectedType();
                         };
-                    } break;
-                case IntType.STB: { } break;
-                case IntType.Projector: {
-                        TYYPage tYYPage = new TYYPage();
-                        this.vv.AddChidren(tYYPage);
-                        tYYPage.Show();
-                        tYYPage.action += (type) =>
+                    }
+                    break;
+                case IntType.STB:
+                    {
+                        JdhPage jdhPage = new JdhPage();
+                        this.vv.AddChidren(jdhPage);
+                        jdhPage.Show();
+                        jdhPage.action += (type) =>
                         {
                             SelectedType();
                         };
-                    } break;
-                case IntType.Control: { } break;
+                    }
+                    break;
+                case IntType.Projector:
+                    {
+                        TyyPage tyyPage = new TyyPage();
+                        this.vv.AddChidren(tyyPage);
+                        tyyPage.Show();
+                        tyyPage.action += (type) =>
+                        {
+                            SelectedType();
+                        };
+                    }
+                    break;
+                case IntType.Control:
+                    {
+                        YkqPage ykqPage = new YkqPage();
+                        this.vv.AddChidren(ykqPage);
+                        ykqPage.Show();
+                        ykqPage.action += (type) =>
+                        {
+                            SelectedType();
+                        };
+                    }
+                    break;
 
             }
 
@@ -313,7 +342,7 @@
             return dic;
         }
         /// <summary>
-        /// 鑾峰彇璁惧
+        /// 鑾峰彇璁惧绫诲瀷
         /// </summary>
         /// <param name="value">(1 = 鎾斁鍣�,2 = 鍔熸斁,3 = 鐢佃,4 = 鏈洪《鐩�,5 = 鎶曞奖浠�,6 = 涓囪兘閬ユ帶鍣�)</param>
         /// <returns></returns>
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs
index 8b1afb0..d23582a 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs
@@ -73,7 +73,7 @@
                 //鍏抽棴鍒锋柊View锛�
                 vv.EndHeaderRefreshing();
             };
-            CornerFramLayout imageFLayout = new CornerFramLayout(343, 20 * 168, 3, 0);
+            CornerFramLayout imageFLayout = new CornerFramLayout(343, 20 * 168, 0);
             vv.AddChidren(imageFLayout);
             imageFLayout.X = Application.GetRealWidth(16);
             imageFLayout.SetList(imageFLayout.GetTestList(20));
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs
index 052c038..4ee20f1 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ButtonFramLayout.cs
@@ -19,7 +19,6 @@
             this.Width = Application.GetRealWidth(width);
             this.Height = Application.GetRealHeight(height);
             this.Radius = (uint)Application.GetRealHeight(cornerValue);
-            this.BackgroundColor = 0XFF457625;
         }
 
         Button btnImage = new Button
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/CornerFramLayout.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/CornerFramLayout.cs
index be71892..443c3e0 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/CornerFramLayout.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/CornerFramLayout.cs
@@ -33,15 +33,13 @@
         /// </summary>
         /// <param name="width">瀹瑰櫒瀹藉害</param>
         /// <param name="height">瀹瑰櫒楂樺害</param>
-        ///<param name="rowNumber">涓�琛屽嚑涓厓绱�</param>
         ///<param name="rowNumber">鍦嗚鍊�</param>
-        public CornerFramLayout(int width, int height, int rowNumber = 0, int radius = 0)
+        public CornerFramLayout(int width, int height, int radius = 0)
         {
             this.BackgroundColor = MusicColor.WhiteColor;
             this.Width = Application.GetRealWidth(width);
             this.Height = Application.GetRealHeight(height);
             this.Radius = (uint)Application.GetRealHeight(radius);
-            this.mRowNumber = rowNumber;
 
 
         }
@@ -95,14 +93,15 @@
 
         /// <summary>
         /// 鍔ㄦ�佸姞杞芥寜閿晫闈�
-        /// (娉ㄦ剰:mRowNumber!=0)
         /// </summary>
-        public void LoadButtonPage()
+        /// <param name="mRowNumber">涓�琛屽灏戜釜鍏冪礌</param>
+        public void LoadButtonPage(int mRowNumber)
         {
-            if (this.mRowNumber == 0)
+            if (mRowNumber == 0)
             {
                 return;
             }
+            this.mRowNumber = mRowNumber;
             int line = 0;
             int xCount = 0;
             for (int i = 1; i <= this.mList.Count; i++)
@@ -219,16 +218,117 @@
             }
         }
 
+        /// <summary>
+        ///鍔ㄦ�佸姞杞芥暟瀛楁寜閿晫闈�
+        /// </summary>
+        public void LoadNumberButtonPage()
+        {
+            int currnetheightValue = 0;
+            int currnetWidthValue = 0;
+            int heightMaxValue = 84;
+            int widthMaxValue = 78;
+            //鑾峰彇鐩稿涓�涓含搴﹀��
+            int heightDimensionValue = this.Height - Application.GetRealHeight(this.topMargin) - Application.GetRealHeight(this.bottomMargin) - Application.GetRealHeight(heightMaxValue / 2);
+            int widthDimensionValue = this.Width - Application.GetRealWidth(this.leftMargin) - Application.GetRealWidth(this.rightMargin) - Application.GetRealHeight(widthMaxValue / 2);
+            for (int i = 1; i <= this.GetNumberTextList().Count; i++)
+            {
+                var d = this.GetNumberTextList()[i - 1];
+                Button button = new Button
+                {
+                    Y = Application.GetRealHeight(this.topMargin) + Application.GetRealHeight(currnetheightValue),
+                    X = Application.GetRealWidth(this.leftMargin) + Application.GetRealWidth(currnetWidthValue),
+                    Width = Application.GetRealWidth(widthMaxValue),
+                    Height = Application.GetRealHeight(heightMaxValue),
+                    Text = d,
+                    TextSize = TextSize.Text20,
+                    TextColor = MusicColor.TextColor,
+                    TextAlignment = TextAlignment.Center,
+                    IsBold = true,
+                    Tag = d,
+                    BackgroundColor = MusicColor.WhiteColor,
+                    SelectedBackgroundColor = 0xff454635,
+                };
+                this.AddChidren(button);
+
+                currnetWidthValue += widthMaxValue;
+                if (widthDimensionValue < Application.GetRealWidth(currnetWidthValue))
+                {
+                    currnetheightValue += heightMaxValue;
+                    currnetWidthValue = 0;
+                }
+                button.MouseDownEventHandler += (sen, e) =>
+                {
+                    if (button.Tag == null || string.IsNullOrEmpty(button.Tag.ToString()))
+                    {
+                        return;
+                    }
+                    button.IsSelected = true;
+                    selectAction?.Invoke(button.Tag.ToString());
+                };
+                button.MouseUpEventHandler += (sen, e) =>
+                {
+                    button.IsSelected = false;
+                };
+
+                //if (CurrnetSelectIndex != -1 && CurrnetSelectIndex == i)
+                //{
+                //    selectAction?.Invoke((int)buttonFram.Tag);
+                //}
+            }
+        }
 
         /// <summary>
         /// 鍔ㄦ�佸姞杞藉浘鐗囩晫闈�
         /// </summary>
         public void LoadImagePage()
         {
-            if (this.mRowNumber == 0)
+            int currnetheightValue = 0;
+            int currnetWidthValue = 0;
+            int heightMaxValue = ImageFramlayout.heightFrameLayout;
+            int widthMaxValue = ImageFramlayout.widthFrameLayout;
+            //鑾峰彇鐩稿涓�涓含搴﹀��
+            int heightDimensionValue = this.Height - Application.GetRealHeight(this.topMargin) - Application.GetRealHeight(this.bottomMargin) - Application.GetRealHeight(heightMaxValue / 2);
+            int widthDimensionValue = this.Width - Application.GetRealWidth(this.leftMargin) - Application.GetRealWidth(this.rightMargin) - Application.GetRealHeight(widthMaxValue / 2);
+            for (int i = 1; i <= this.mList.Count; i++)
+            {
+                var d = this.mList[i - 1];
+                ImageFramlayout imageFram = new ImageFramlayout();
+                imageFram.AddView(this);
+                imageFram.Tag = d;
+                imageFram.Y = Application.GetRealHeight(this.topMargin) + Application.GetRealHeight(currnetheightValue);
+                imageFram.X = Application.GetRealWidth(currnetWidthValue);
+                imageFram.btnName.Text = d;
+                currnetWidthValue += (widthMaxValue + 8);//8鏄殧闂村��
+                if (widthDimensionValue < Application.GetRealWidth(currnetWidthValue))
+                {
+                    currnetheightValue += (heightMaxValue + 20);//20鏄殧闂村��
+                    currnetWidthValue = 0;
+                }
+
+                imageFram.SetClickListener((fl) =>
+                {
+                    if (imageFram.Tag != null)
+                    {
+                        selectAction?.Invoke(imageFram.Tag.ToString());
+                    }
+                });
+                //if (CurrnetSelectIndex != -1 && CurrnetSelectIndex == i)
+                //{
+                //    selectAction?.Invoke((int)imageFram.Tag);
+                //}
+            }
+        }
+        /// <summary>
+        /// 鍔ㄦ�佸姞杞藉浘鐗囩晫闈�
+        /// </summary>
+        /// <param name="mRowNumber">涓�琛屽灏戜釜鍏冪礌</param>
+        public void LoadImagePage(int mRowNumber)
+        {
+            if (mRowNumber == 0)
             {
                 return;
             }
+            this.mRowNumber = mRowNumber;
             int line = 0;
             int xCount = 0;
             for (int i = 1; i <= this.mList.Count; i++)
@@ -281,6 +381,10 @@
         /// <returns></returns>
         private bool IsLastColumn(int index)
         {
+            if (this.mRowNumber == 0 || this.mList == null || this.mList.Count == 0)
+            {
+                return false;
+            }
             int lineCount = this.mList.Count / this.mRowNumber;//寰楀嚭琛屾暟
             int number = this.mList.Count % this.mRowNumber;
             if (number != 0)
@@ -300,7 +404,6 @@
 
             }
             return false;
-
         }
         /// <summary>
         /// 鏈�鍚庡彸杈归偅涓�涓�
@@ -309,6 +412,10 @@
         /// <returns></returns>
         private bool IsLastRight(int value)
         {
+            if (this.mRowNumber == 0)
+            {
+                return false;
+            }
             if (value % this.mRowNumber == 0)
             {
                 return true;
@@ -352,5 +459,30 @@
 
             button.Width = width;
         }
+
+
+
+        public List<string> GetNumberTextList()
+        {
+            return new List<string>
+            {
+                "1",
+                "2",
+                "3",
+                Language.StringByID(StringId.pindaojia),
+                "4",
+                "5",
+                "6",
+                Language.StringByID(StringId.pindaojian),
+                "7",
+                "8",
+                "9",
+                "-/--",
+                "",//杩欎釜鏄负浜嗗崰浣嶇疆
+                "0"
+
+            };
+
+        }
     }
 }
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/NumberFrameLayout.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/NumberFrameLayout.cs
index b5dea73..2775a50 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/NumberFrameLayout.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/NumberFrameLayout.cs
@@ -8,7 +8,9 @@
         public NumberFrameLayout()
         {
         }
-
+        private uint UpBackgroundColor = MusicColor.WhiteColor;
+        private uint DownBackgroundColor = 0xff454635;
+        private Action<Button> action = null;
         public FrameLayout layout = new FrameLayout
         {
 
@@ -48,9 +50,6 @@
             TextAlignment = TextAlignment.Center,
             IsBold = true,
         };
-
-
-
         Button btn4 = new Button
         {
             Width = Application.GetRealWidth(78),
@@ -134,9 +133,31 @@
             IsBold = true,
         };
 
-        ButtonFramLayout pdjiaFramLayout = new ButtonFramLayout();
+        Button btn_jia = new Button
+        {
+            Width = Application.GetRealWidth(78),
+            Height = Application.GetRealHeight(84),
+            TextID = StringId.pindaojia,
+            TextSize = TextSize.Text20,
+            TextColor = MusicColor.TextColor,
+            TextAlignment = TextAlignment.Center,
+            IsBold = true,
 
-        ButtonFramLayout pdjianFramLayout = new ButtonFramLayout(); 
+
+        };
+
+        Button btn_jian = new Button
+        {
+            Width = Application.GetRealWidth(78),
+            Height = Application.GetRealHeight(84),
+            TextID = StringId.pindaojian,
+            TextSize = TextSize.Text20,
+            TextColor = MusicColor.TextColor,
+            TextAlignment = TextAlignment.Center,
+            IsBold = true,
+
+
+        };
 
         /// <summary>
         /// 娣诲姞甯冨眬
@@ -156,8 +177,8 @@
             layout.AddChidren(btn9);
             layout.AddChidren(btn0);
             layout.AddChidren(btn);
-            layout.AddChidren(pdjiaFramLayout);
-            layout.AddChidren(pdjianFramLayout);
+            layout.AddChidren(btn_jia);
+            layout.AddChidren(btn_jian);
 
             btn1.Y = Application.GetRealHeight(16);
             btn1.X = Application.GetRealWidth(16);
@@ -165,14 +186,8 @@
             btn2.X = btn1.Right;
             btn3.Y = Application.GetRealHeight(16);
             btn3.X = btn2.Right;
-            pdjiaFramLayout.AddImageView();
-            pdjiaFramLayout.AddNameView();
-            pdjiaFramLayout.Y = Application.GetRealHeight(16);
-            pdjiaFramLayout.GetImageButton().Height = Application.GetRealHeight(32);
-            pdjiaFramLayout.GetImageButton().Width = Application.GetRealWidth(32);
-            pdjiaFramLayout.GetImageButton().UnSelectedImagePath = "AksIcon/pindao1.png";
-            pdjiaFramLayout.GetNameButton().TextID = StringId.pindaojia;
-            pdjiaFramLayout.X = btn3.Right;
+            btn_jia.Y = Application.GetRealHeight(16);
+            btn_jia.X = btn3.Right;
 
             btn4.Y = btn1.Bottom;
             btn4.X = Application.GetRealWidth(16);
@@ -180,14 +195,8 @@
             btn5.X = btn4.Right;
             btn6.Y = btn3.Bottom;
             btn6.X = btn5.Right;
-            pdjianFramLayout.AddImageView();
-            pdjianFramLayout.AddNameView();
-            pdjianFramLayout.Y = pdjiaFramLayout.Bottom;
-            pdjianFramLayout.GetImageButton().Height = Application.GetRealHeight(32);
-            pdjianFramLayout.GetImageButton().Width = Application.GetRealWidth(32);
-            pdjianFramLayout.GetImageButton().UnSelectedImagePath = "AksIcon/pindao2.png";
-            pdjianFramLayout.GetNameButton().TextID = StringId.pindaojian;
-            pdjianFramLayout.X = btn6.Right;
+            btn_jian.Y = btn_jia.Bottom;
+            btn_jian.X = btn6.Right;
 
             btn7.Y = btn6.Bottom;
             btn7.X = Application.GetRealWidth(16);
@@ -195,14 +204,64 @@
             btn8.X = btn7.Right;
             btn9.Y = btn6.Bottom;
             btn9.X = btn8.Right;
-            btn.Y = pdjianFramLayout.Bottom;
+            btn.Y = btn_jian.Bottom;
             btn.X = btn9.Right;
 
             btn0.Y = btn8.Bottom;
             btn0.X = Application.GetRealWidth(16 + 78);
 
+            btn1.MouseDownEventHandler += (sen, e) => ClickListener(btn1);
+
+            btn2.MouseDownEventHandler += (sen, e) => ClickListener(btn2);
+
+            btn3.MouseDownEventHandler += (sen, e) => ClickListener(btn3);
+
+            btn4.MouseDownEventHandler += (sen, e) => ClickListener(btn4);
+
+            btn5.MouseDownEventHandler += (sen, e) => ClickListener(btn5);
+
+            btn6.MouseDownEventHandler += (sen, e) => ClickListener(btn6);
+
+            btn7.MouseDownEventHandler += (sen, e) => ClickListener(btn7);
+
+            btn8.MouseDownEventHandler += (sen, e) => ClickListener(btn8);
+
+            btn9.MouseDownEventHandler += (sen, e) => ClickListener(btn9);
+
+            btn0.MouseDownEventHandler += (sen, e) => ClickListener(btn0);
+
+            btn.MouseDownEventHandler += (sen, e) => ClickListener(btn);
+
+            btn_jia.MouseDownEventHandler += (sen, e) => ClickListener(btn_jia);
+
+            btn_jian.MouseDownEventHandler += (sen, e) => ClickListener(btn_jian);
+
+
         }
-       
+
+        private void ClickListener(Button button)
+        {
+            if (button == null)
+            {
+                return;
+            }
+            button.BackgroundColor = DownBackgroundColor;
+            action?.Invoke(button);
+            button.MouseUpEventHandler += (sen, e) =>
+            {
+                button.BackgroundColor = UpBackgroundColor;
+            };
+        }
+
+
+        /// <summary>
+        /// 浜嬩欢鐩戝惉鏂规硶
+        /// </summary>
+        /// <param name="action">鍥炶皟(鐐瑰嚮鎺т欢瀵硅薄</param>
+        public void SetClickListener(Action<Button> action)
+        {
+            this.action = action;
+        }
 
     }
 }
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/GFPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/GfPage.cs
similarity index 91%
rename from HDL_ON/UI/UI2/FuntionControlView/Aks/GFPage.cs
rename to HDL_ON/UI/UI2/FuntionControlView/Aks/GfPage.cs
index 10ace71..e50696e 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/GFPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/GfPage.cs
@@ -9,9 +9,9 @@
     /// <summary>
 	/// 鍔熸斁鐣岄潰
 	/// </summary>
-    public class GFPage : BaseFramLayout
+    public class GfPage : BaseFramLayout
     {
-        public GFPage()
+        public GfPage()
         {
         }
 
@@ -23,7 +23,7 @@
         {
             //鍒濆鍖朥I
             this.InitUI();
-            //鍒濆鍖栦簨浠�
+            //鍒濆鍖栦簨浠剁洃鍚櫒
             this.EventListener();
             //璇诲彇鏁版嵁
             this.ReadData();
@@ -41,7 +41,7 @@
             {
                 Console.WriteLine("1");
             };
-
+            //鏃跺簭鍣�
             typeMultiFramLayout.SetLeftFlClickListener((f) =>
             {
                 SxqPage sxqPage = new SxqPage();
@@ -50,7 +50,7 @@
                 sxqPage.Show();
 
             });
-
+            //璁惧鍒囨崲
             typeMultiFramLayout.SetRightFlClickListener((f) =>
             {
                 Console.WriteLine("4");
@@ -75,16 +75,16 @@
             };
             this.AddChidren(btnTitle);
 
-            cornerFram = new CornerFramLayout(343, 452, 4, 17);
+            cornerFram = new CornerFramLayout(343, 452, 17);
             cornerFram.X = Application.GetRealWidth(16);
             cornerFram.Y = btnTitle.Bottom + Application.GetRealHeight(16);
             this.AddChidren(cornerFram);
             cornerFram.SetList(cornerFram.GetTestList(17));
             cornerFram.SetMargin(16, 0, 16, 0);
-            cornerFram.LoadButtonPage();
+            cornerFram.LoadButtonPage(4);
 
 
-            CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 72, 0, 17);
+            CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 72, 17);
             cornerBottomFram.X = Application.GetRealWidth(16);
             cornerBottomFram.Y = cornerFram.Bottom + Application.GetRealHeight(16);
             cornerBottomFram.BackgroundColor = MusicColor.WhiteColor;
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/JdhPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/JdhPage.cs
new file mode 100644
index 0000000..074db3e
--- /dev/null
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/JdhPage.cs
@@ -0,0 +1,301 @@
+锘縰sing System;
+using System.Collections.Generic;
+using HDL_ON.UI.Music;
+using HDL_ON.UI.UI2.FuntionControlView.Aks.CommonView;
+using Shared;
+using static HDL_ON.UI.UI2.FuntionControlView.Aks.AksPage;
+namespace HDL_ON.UI.UI2.FuntionControlView.Aks
+{
+    /// <summary>
+    /// 鏈洪《鐩掔晫闈�
+    /// </summary>
+    public class JdhPage:BaseFramLayout
+    {
+        public JdhPage()
+        {
+        }
+
+        
+        public Action<IntType> action;
+        /// <summary>
+        /// 鏈�涓婇潰鍔熻兘閿鍣�
+        /// </summary>
+        CornerFramLayout cornerTopFram;
+        /// <summary>
+        /// 鏁板瓧鎸夐敭瀹瑰櫒
+        /// </summary>
+        CornerFramLayout numberFrame;
+        /// <summary>
+        /// 鑿滃崟瀹瑰櫒
+        /// </summary>
+        MenuFramLayout menuFram;
+        /// <summary>
+        /// 鍒囨崲璁惧瀹瑰櫒
+        /// </summary>
+        TypeMultiFramLayout typeMultiFramLayout;
+
+
+        public void Show()
+        {
+            //鍒濆鍖朥I
+            this.InitUI();
+            //鍒濆鍖栦簨浠剁洃鍚櫒
+            this.EventListener();
+            //璇诲彇鏁版嵁
+            this.ReadData();
+
+        }
+
+        private void ReadData()
+        {
+
+        }
+        /// <summary>
+        /// 浜嬩欢鐩戝惉鍣�
+        /// </summary>
+        private void EventListener()
+        {
+            //鍔熻兘閿帶鍒�
+            cornerTopFram.selectAction += (value) =>
+            {
+                Console.WriteLine("1");
+            };
+            //鏁板瓧閿帶鍒�
+            numberFrame.selectAction += (s) =>
+            {
+                Console.WriteLine("鎵撳嵃====" + s);
+            };
+            //鑿滃崟涓婃寜閿�
+            menuFram.SetTopClickListener((b) =>
+            {
+
+                Console.WriteLine("5");
+            });
+            //鑿滃崟涓嬫寜閿�
+            menuFram.SetBottomClickListener((b) =>
+            {
+                Console.WriteLine("6");
+            });
+            //鑿滃崟宸︽寜閿�
+            menuFram.SetLeftClickListener((b) =>
+            {
+                Console.WriteLine("7");
+            });
+            //鑿滃崟鍙虫寜閿�
+            menuFram.SetRightClickListener((b) =>
+            {
+                Console.WriteLine("8");
+            });
+            //鑿滃崟ok鎸夐敭
+            menuFram.SetOkClickListener((b) =>
+            {
+                Console.WriteLine("9");
+            });
+            //鏃跺簭鍣�
+            typeMultiFramLayout.SetLeftFlClickListener((f) =>
+            {
+                SxqPage sxqPage = new SxqPage();
+                MainPage.BasePageView.AddChidren(sxqPage);
+                MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+                sxqPage.Show();
+
+            });
+            //璁惧鍒囨崲
+            typeMultiFramLayout.SetRightFlClickListener((f) =>
+            {
+                Console.WriteLine("4");
+                action?.Invoke(IntType.STB);
+            });
+
+        }
+
+        private void InitUI()
+        {
+            this.BackgroundColor = MusicColor.ViewColor;
+            Button btnTitle = new Button
+            {
+                Y = Application.GetRealHeight(16),
+                X = Application.GetRealWidth(16),
+                Height = Application.GetRealHeight(22),
+                Width = Application.GetRealWidth(200),
+                TextAlignment = TextAlignment.CenterLeft,
+                TextColor = MusicColor.TextColor,
+                TextSize = TextSize.Text16,
+                TextID = StringId.dianshi,
+            };
+            this.AddChidren(btnTitle);
+
+            cornerTopFram = new CornerFramLayout(343, 452, 17);
+            cornerTopFram.X = Application.GetRealWidth(16);
+            cornerTopFram.Y = btnTitle.Bottom + Application.GetRealHeight(16);
+            this.AddChidren(cornerTopFram);
+            cornerTopFram.SetList(cornerTopFram.GetTestList(17));
+            cornerTopFram.SetMargin(16, 0, 16, 0);
+            cornerTopFram.LoadButtonPage(new List<int> { 5, 6 });
+
+            #region  ----棰戦亾 鎺у埗----
+            FrameLayout middLayout = new FrameLayout
+            {
+                Y = cornerTopFram.Bottom,
+                Height = Application.GetRealHeight(61),
+            };
+            this.AddChidren(middLayout);
+
+            FrameLayout leftLayout = new FrameLayout
+            {
+                X = Application.GetRealWidth(105),
+                Y = Application.GetRealHeight(16),
+                Height = Application.GetRealHeight(29),
+                Width = Application.GetRealWidth(32),
+
+            };
+            middLayout.AddChidren(leftLayout);
+
+
+            Button leftBtnTitle = new Button
+            {
+                Height = Application.GetRealHeight(22),
+                Width = leftLayout.Width,
+                TextAlignment = TextAlignment.Center,
+                TextColor = MusicColor.TextColor,
+                SelectedTextColor = MusicColor.MusicTxet14SelectedColor,
+                TextSize = TextSize.Text16,
+                TextID = StringId.pindao,
+            };
+            leftLayout.AddChidren(leftBtnTitle);
+
+
+            Button leftBtnLine = new Button
+            {
+                Y = leftBtnTitle.Bottom + Application.GetRealHeight(4),
+                Height = Application.GetRealHeight(2),
+                Width = leftBtnTitle.GetTextWidth(),
+                BackgroundColor = MusicColor.TextColor,
+                SelectedBackgroundColor = MusicColor.MusicTxet14SelectedColor,
+                Gravity = Gravity.CenterHorizontal,
+            };
+            leftLayout.AddChidren(leftBtnLine);
+            //棰戦亾鐐瑰嚮鎺т欢
+            FrameLayout clickLeftLayout = new FrameLayout
+            {
+                Height = leftLayout.Height,
+                Width = leftLayout.Width,
+            };
+            leftLayout.AddChidren(clickLeftLayout);
+
+
+            FrameLayout rightLayout = new FrameLayout
+            {
+                X = leftLayout.Right + Application.GetRealWidth(100),
+                Y = leftLayout.Y,
+                Height = leftLayout.Height,
+                Width = leftLayout.Width,
+            };
+            middLayout.AddChidren(rightLayout);
+
+
+            Button rightBtnTitle = new Button
+            {
+                Height = Application.GetRealHeight(22),
+                Width = rightLayout.Width,
+                TextAlignment = TextAlignment.Center,
+                TextColor = MusicColor.TextColor,
+                SelectedTextColor = MusicColor.MusicTxet14SelectedColor,
+                TextSize = TextSize.Text16,
+                TextID = StringId.kongzhi,
+            };
+            rightLayout.AddChidren(rightBtnTitle);
+
+            Button rightBtnLine = new Button
+            {
+                Y = rightBtnTitle.Bottom + Application.GetRealHeight(4),
+                Height = Application.GetRealHeight(2),
+                Width = rightBtnTitle.GetTextWidth(),
+                BackgroundColor = MusicColor.TextColor,
+                SelectedBackgroundColor = MusicColor.MusicTxet14SelectedColor,
+                Gravity = Gravity.CenterHorizontal,
+            };
+            rightLayout.AddChidren(rightBtnLine);
+
+            //鐢佃鐐瑰嚮鎺т欢
+            FrameLayout clickRightLayout = new FrameLayout
+            {
+                Height = leftLayout.Height,
+                Width = leftLayout.Width,
+            };
+            rightLayout.AddChidren(clickRightLayout);
+
+
+
+            #endregion
+
+
+            //鏁板瓧鎸夐敭瀹瑰櫒
+            numberFrame = new CornerFramLayout(343, 368, 17);
+            numberFrame.X = Application.GetRealWidth(16);
+            numberFrame.Y = middLayout.Bottom + Application.GetRealHeight(16);
+            numberFrame.BackgroundColor = MusicColor.WhiteColor;
+            numberFrame.SetMargin(16, 0, 16, 0);
+            numberFrame.LoadNumberButtonPage();
+            this.AddChidren(numberFrame);
+
+
+            //鑿滃崟瀹瑰櫒
+            CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 292, 17);
+            cornerBottomFram.X = Application.GetRealWidth(16);
+            cornerBottomFram.Y = middLayout.Bottom + Application.GetRealHeight(16);
+            cornerBottomFram.BackgroundColor = MusicColor.WhiteColor;
+            this.AddChidren(cornerBottomFram);
+
+            menuFram = new MenuFramLayout();
+            menuFram.Y = Application.GetRealHeight(24);
+            menuFram.AddView(cornerBottomFram);
+
+            typeMultiFramLayout = new TypeMultiFramLayout();
+            typeMultiFramLayout.multiFramLayout.Y = menuFram.Bottom + Application.GetRealHeight(32);
+            typeMultiFramLayout.AddView(cornerBottomFram);
+            typeMultiFramLayout.btnBottonRightName.TextID = StringId.dianshi;
+
+            //鍒濆鍊�
+            leftBtnTitle.IsSelected = true;
+            leftBtnLine.IsSelected = true;
+            leftBtnLine.Visible = true;
+            rightBtnTitle.IsSelected = false;
+            rightBtnLine.IsSelected = false;
+            rightBtnLine.Visible = false;
+            numberFrame.Visible = true;
+            cornerBottomFram.Visible = false;
+
+            //棰戦亾鐐瑰嚮浜嬩欢
+            clickLeftLayout.MouseDownEventHandler += (sen, e) =>
+            {
+                leftBtnTitle.IsSelected = true;
+                leftBtnLine.IsSelected = true;
+                leftBtnLine.Visible = true;
+                rightBtnTitle.IsSelected = false;
+                rightBtnLine.IsSelected = false;
+                rightBtnLine.Visible = false;
+                numberFrame.Visible = true;
+                cornerBottomFram.Visible = false;
+                this.AdjustRealHeight(16);
+
+            };
+            //鎺у埗鐐瑰嚮浜嬩欢
+            clickRightLayout.MouseDownEventHandler += (sen, e) =>
+            {
+                leftBtnTitle.IsSelected = false;
+                leftBtnLine.IsSelected = false;
+                leftBtnLine.Visible = false;
+                rightBtnTitle.IsSelected = true;
+                rightBtnLine.IsSelected = true;
+                rightBtnLine.Visible = true;
+                numberFrame.Visible = false;
+                cornerBottomFram.Visible = true;
+                this.AdjustRealHeight(-60);
+
+            };
+
+            this.AdjustRealHeight(16);
+        }
+    }
+}
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/AksMusicPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/MusicPage.cs
similarity index 92%
rename from HDL_ON/UI/UI2/FuntionControlView/Aks/AksMusicPage.cs
rename to HDL_ON/UI/UI2/FuntionControlView/Aks/MusicPage.cs
index 7f8b85a..da805cf 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/AksMusicPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/MusicPage.cs
@@ -4,17 +4,18 @@
 using HDL_ON.UI.UI2.FuntionControlView.Aks.CommonView;
 using Shared;
 using static HDL_ON.UI.UI2.FuntionControlView.Aks.AksPage;
-
 namespace HDL_ON.UI.UI2.FuntionControlView.Aks
 {
     /// <summary>
     /// 鎾斁鍣ㄧ晫闈�
     /// </summary>
-    public class AksMusicPage : BaseFramLayout
+    public class MusicPage : BaseFramLayout
     {
-        public AksMusicPage()
+        public MusicPage()
         {
         }
+
+
 
         public Action<IntType> action;
         CornerFramLayout cornerFram;
@@ -41,9 +42,9 @@
         private void EventListener()
         {
             cornerFram.selectAction += (value) =>
-              {
-                  Console.WriteLine("1");
-              };
+            {
+                Console.WriteLine("1");
+            };
 
             typeSingleFramLayout.SetClickListener((f) =>
             {
@@ -59,9 +60,9 @@
                 Console.WriteLine("5");
             });
             menuFram.SetBottomClickListener((b) =>
-             {
-                 Console.WriteLine("6");
-             });
+            {
+                Console.WriteLine("6");
+            });
             menuFram.SetLeftClickListener((b) =>
             {
                 Console.WriteLine("7");
@@ -108,16 +109,16 @@
             };
             this.AddChidren(btnTitle);
 
-            cornerFram = new CornerFramLayout(343, 452, 4,17);
+            cornerFram = new CornerFramLayout(343, 452, 17);
             cornerFram.X = Application.GetRealWidth(16);
             cornerFram.Y = btnTitle.Bottom + Application.GetRealHeight(16);
             this.AddChidren(cornerFram);
             cornerFram.SetList(cornerFram.GetTestList(16));
             cornerFram.SetMargin(16, 0, 16, 0);
-            cornerFram.LoadButtonPage();
+            cornerFram.LoadButtonPage(4);
 
 
-            CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 364, 0,17);
+            CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 364, 17);
             cornerBottomFram.X = Application.GetRealWidth(16);
             cornerBottomFram.Y = cornerFram.Bottom + Application.GetRealHeight(16);
             cornerBottomFram.BackgroundColor = MusicColor.WhiteColor;
@@ -141,5 +142,6 @@
         }
 
 
+
     }
 }
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/TvPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/TvPage.cs
index 527709b..316ad5b 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/TvPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/TvPage.cs
@@ -15,16 +15,30 @@
         {
         }
         public Action<IntType> action;
+        /// <summary>
+        /// 鏈�涓婇潰鍔熻兘閿鍣�
+        /// </summary>
         CornerFramLayout cornerTopFram;
+        /// <summary>
+        /// 鏁板瓧鎸夐敭瀹瑰櫒
+        /// </summary>
+        CornerFramLayout numberFrame;
+        /// <summary>
+        /// 鑿滃崟瀹瑰櫒
+        /// </summary>
         MenuFramLayout menuFram;
+        /// <summary>
+        /// 鍒囨崲璁惧瀹瑰櫒
+        /// </summary>
         TypeMultiFramLayout typeMultiFramLayout;
+
 
         public void Show()
         {
             //鍒濆鍖朥I
             this.InitUI();
-            //鍒濆鍖栦簨浠�
-            //this.EventListener();
+            //鍒濆鍖栦簨浠剁洃鍚櫒
+            this.EventListener();
             //璇诲彇鏁版嵁
             this.ReadData();
 
@@ -34,36 +48,48 @@
         {
 
         }
-
+        /// <summary>
+        /// 浜嬩欢鐩戝惉鍣�
+        /// </summary>
         private void EventListener()
         {
+            //鍔熻兘閿帶鍒�
             cornerTopFram.selectAction += (value) =>
             {
                 Console.WriteLine("1");
             };
-
+            //鏁板瓧閿帶鍒�
+            numberFrame.selectAction += (s) =>
+            {
+                Console.WriteLine("鎵撳嵃====" + s);
+            };
+            //鑿滃崟涓婃寜閿�
             menuFram.SetTopClickListener((b) =>
             {
 
                 Console.WriteLine("5");
             });
+            //鑿滃崟涓嬫寜閿�
             menuFram.SetBottomClickListener((b) =>
             {
                 Console.WriteLine("6");
             });
+            //鑿滃崟宸︽寜閿�
             menuFram.SetLeftClickListener((b) =>
             {
                 Console.WriteLine("7");
             });
+            //鑿滃崟鍙虫寜閿�
             menuFram.SetRightClickListener((b) =>
             {
                 Console.WriteLine("8");
             });
+            //鑿滃崟ok鎸夐敭
             menuFram.SetOkClickListener((b) =>
             {
                 Console.WriteLine("9");
             });
-
+            //鏃跺簭鍣�
             typeMultiFramLayout.SetLeftFlClickListener((f) =>
             {
                 SxqPage sxqPage = new SxqPage();
@@ -72,7 +98,7 @@
                 sxqPage.Show();
 
             });
-
+            //璁惧鍒囨崲
             typeMultiFramLayout.SetRightFlClickListener((f) =>
             {
                 Console.WriteLine("4");
@@ -97,7 +123,7 @@
             };
             this.AddChidren(btnTitle);
 
-            cornerTopFram = new CornerFramLayout(343, 452, 4, 17);
+            cornerTopFram = new CornerFramLayout(343, 452, 17);
             cornerTopFram.X = Application.GetRealWidth(16);
             cornerTopFram.Y = btnTitle.Bottom + Application.GetRealHeight(16);
             this.AddChidren(cornerTopFram);
@@ -105,28 +131,167 @@
             cornerTopFram.SetMargin(16, 0, 16, 0);
             cornerTopFram.LoadButtonPage(new List<int> { 5, 6 });
 
+            #region  ----棰戦亾 鎺у埗----
+            FrameLayout middLayout = new FrameLayout
+            {
+                Y = cornerTopFram.Bottom,
+                Height = Application.GetRealHeight(61),
+            };
+            this.AddChidren(middLayout);
+
+            FrameLayout leftLayout = new FrameLayout
+            {
+                X = Application.GetRealWidth(105),
+                Y = Application.GetRealHeight(16),
+                Height = Application.GetRealHeight(29),
+                Width = Application.GetRealWidth(32),
+
+            };
+            middLayout.AddChidren(leftLayout);
 
 
-            NumberFrameLayout numberFrame = new NumberFrameLayout();
-            numberFrame.layout.X = Application.GetRealWidth(16);
-            numberFrame.layout.Y = cornerTopFram.Bottom + Application.GetRealHeight(16);
-            numberFrame.AddView(this);
+            Button leftBtnTitle = new Button
+            {
+                Height = Application.GetRealHeight(22),
+                Width = leftLayout.Width,
+                TextAlignment = TextAlignment.Center,
+                TextColor = MusicColor.TextColor,
+                SelectedTextColor = MusicColor.MusicTxet14SelectedColor,
+                TextSize = TextSize.Text16,
+                TextID = StringId.pindao,
+            };
+            leftLayout.AddChidren(leftBtnTitle);
 
-            //CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 292, 0, 17);
-            //cornerBottomFram.X = Application.GetRealWidth(16);
-            //cornerBottomFram.Y = cornerTopFram.Bottom + Application.GetRealHeight(16);
-            //cornerBottomFram.BackgroundColor = MusicColor.WhiteColor;
-            //cornerBottomFram.Radius = (uint)Application.GetRealHeight(17);
-            //this.AddChidren(cornerBottomFram);
 
-            //menuFram = new MenuFramLayout();
-            //menuFram.Y = Application.GetRealHeight(24);
-            //menuFram.AddView(cornerBottomFram);
+            Button leftBtnLine = new Button
+            {
+                Y = leftBtnTitle.Bottom + Application.GetRealHeight(4),
+                Height = Application.GetRealHeight(2),
+                Width = leftBtnTitle.GetTextWidth(),
+                BackgroundColor = MusicColor.TextColor,
+                SelectedBackgroundColor = MusicColor.MusicTxet14SelectedColor,
+                Gravity = Gravity.CenterHorizontal,
+            };
+            leftLayout.AddChidren(leftBtnLine);
+            //棰戦亾鐐瑰嚮鎺т欢
+            FrameLayout clickLeftLayout = new FrameLayout
+            {
+                Height = leftLayout.Height,
+                Width = leftLayout.Width,
+            };
+            leftLayout.AddChidren(clickLeftLayout);
 
-            //typeMultiFramLayout = new TypeMultiFramLayout();
-            //typeMultiFramLayout.multiFramLayout.Y = menuFram.Bottom + Application.GetRealHeight(32);
-            //typeMultiFramLayout.AddView(cornerBottomFram);
-            //typeMultiFramLayout.btnBottonRightName.TextID =StringId.dianshi;
+
+            FrameLayout rightLayout = new FrameLayout
+            {
+                X = leftLayout.Right + Application.GetRealWidth(100),
+                Y = leftLayout.Y,
+                Height = leftLayout.Height,
+                Width = leftLayout.Width,
+            };
+            middLayout.AddChidren(rightLayout);
+
+
+            Button rightBtnTitle = new Button
+            {
+                Height = Application.GetRealHeight(22),
+                Width = rightLayout.Width,
+                TextAlignment = TextAlignment.Center,
+                TextColor = MusicColor.TextColor,
+                SelectedTextColor = MusicColor.MusicTxet14SelectedColor,
+                TextSize = TextSize.Text16,
+                TextID = StringId.kongzhi,
+            };
+            rightLayout.AddChidren(rightBtnTitle);
+
+            Button rightBtnLine = new Button
+            {
+                Y = rightBtnTitle.Bottom + Application.GetRealHeight(4),
+                Height = Application.GetRealHeight(2),
+                Width = rightBtnTitle.GetTextWidth(),
+                BackgroundColor = MusicColor.TextColor,
+                SelectedBackgroundColor = MusicColor.MusicTxet14SelectedColor,
+                Gravity = Gravity.CenterHorizontal,
+            };
+            rightLayout.AddChidren(rightBtnLine);
+
+            //鐢佃鐐瑰嚮鎺т欢
+            FrameLayout clickRightLayout = new FrameLayout
+            {
+                Height = leftLayout.Height,
+                Width = leftLayout.Width,
+            };
+            rightLayout.AddChidren(clickRightLayout);
+
+
+
+            #endregion
+
+
+            //鏁板瓧鎸夐敭瀹瑰櫒
+            numberFrame = new CornerFramLayout(343, 368, 17);
+            numberFrame.X = Application.GetRealWidth(16);
+            numberFrame.Y = middLayout.Bottom + Application.GetRealHeight(16);
+            numberFrame.BackgroundColor = MusicColor.WhiteColor;
+            numberFrame.SetMargin(16,0,16,0);
+            numberFrame.LoadNumberButtonPage();
+            this.AddChidren(numberFrame);
+          
+
+            //鑿滃崟瀹瑰櫒
+            CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 292, 17);
+            cornerBottomFram.X = Application.GetRealWidth(16);
+            cornerBottomFram.Y = middLayout.Bottom + Application.GetRealHeight(16);
+            cornerBottomFram.BackgroundColor = MusicColor.WhiteColor;
+            this.AddChidren(cornerBottomFram);
+
+            menuFram = new MenuFramLayout();
+            menuFram.Y = Application.GetRealHeight(24);
+            menuFram.AddView(cornerBottomFram);
+
+            typeMultiFramLayout = new TypeMultiFramLayout();
+            typeMultiFramLayout.multiFramLayout.Y = menuFram.Bottom + Application.GetRealHeight(32);
+            typeMultiFramLayout.AddView(cornerBottomFram);
+            typeMultiFramLayout.btnBottonRightName.TextID = StringId.dianshi;
+
+            //鍒濆鍊�
+            leftBtnTitle.IsSelected = true;
+            leftBtnLine.IsSelected = true;
+            leftBtnLine.Visible = true;
+            rightBtnTitle.IsSelected = false;
+            rightBtnLine.IsSelected = false;
+            rightBtnLine.Visible = false;
+            numberFrame.Visible = true;
+            cornerBottomFram.Visible = false;
+
+            //棰戦亾鐐瑰嚮浜嬩欢
+            clickLeftLayout.MouseDownEventHandler += (sen, e) =>
+            {
+                leftBtnTitle.IsSelected = true;
+                leftBtnLine.IsSelected = true;
+                leftBtnLine.Visible = true;
+                rightBtnTitle.IsSelected = false;
+                rightBtnLine.IsSelected = false;
+                rightBtnLine.Visible = false;
+                numberFrame.Visible = true;
+                cornerBottomFram.Visible = false;
+                this.AdjustRealHeight(16);
+
+            };
+            //鎺у埗鐐瑰嚮浜嬩欢
+            clickRightLayout.MouseDownEventHandler += (sen, e) =>
+            {
+                leftBtnTitle.IsSelected = false;
+                leftBtnLine.IsSelected = false;
+                leftBtnLine.Visible = false;
+                rightBtnTitle.IsSelected = true;
+                rightBtnLine.IsSelected = true;
+                rightBtnLine.Visible = true;
+                numberFrame.Visible = false;
+                cornerBottomFram.Visible = true;
+                this.AdjustRealHeight(-60);
+
+            };
 
             this.AdjustRealHeight(16);
         }
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/TYYPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/TyyPage.cs
similarity index 88%
rename from HDL_ON/UI/UI2/FuntionControlView/Aks/TYYPage.cs
rename to HDL_ON/UI/UI2/FuntionControlView/Aks/TyyPage.cs
index 53eb48d..15c0d28 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/TYYPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/TyyPage.cs
@@ -9,12 +9,11 @@
     /// <summary>
     /// 鎶曞奖浠晫闈�
     /// </summary>
-    public class TYYPage : BaseFramLayout
+    public class TyyPage : BaseFramLayout
     {
-        public TYYPage()
+        public TyyPage()
         {
         }
-
         public Action<IntType> action;
         CornerFramLayout cornerTopFram;
         MenuFramLayout menuFram;
@@ -24,7 +23,7 @@
         {
             //鍒濆鍖朥I
             this.InitUI();
-            //鍒濆鍖栦簨浠�
+            //鍒濆鍖栦簨浠剁洃鍚櫒
             this.EventListener();
             //璇诲彇鏁版嵁
             this.ReadData();
@@ -35,36 +34,47 @@
         {
 
         }
-
+        /// <summary>
+        /// 浜嬩欢鐩戝惉鍣�
+        /// </summary>
         private void EventListener()
         {
+
+
+
+            //鍔熻兘閿帶鍒�
             cornerTopFram.selectAction += (value) =>
             {
                 Console.WriteLine("1");
             };
 
+            //鑿滃崟涓婃寜閿�
             menuFram.SetTopClickListener((b) =>
             {
 
                 Console.WriteLine("5");
             });
+            //鑿滃崟涓嬫寜閿�
             menuFram.SetBottomClickListener((b) =>
             {
                 Console.WriteLine("6");
             });
+            //鑿滃崟宸︽寜閿�
             menuFram.SetLeftClickListener((b) =>
             {
                 Console.WriteLine("7");
             });
+            //鑿滃崟鍙虫寜閿�
             menuFram.SetRightClickListener((b) =>
             {
                 Console.WriteLine("8");
             });
+            //鑿滃崟ok鎸夐敭
             menuFram.SetOkClickListener((b) =>
             {
                 Console.WriteLine("9");
             });
-
+            //鏃跺簭鍣�
             typeMultiFramLayout.SetLeftFlClickListener((f) =>
             {
                 SxqPage sxqPage = new SxqPage();
@@ -73,7 +83,7 @@
                 sxqPage.Show();
 
             });
-
+            //璁惧鍒囨崲
             typeMultiFramLayout.SetRightFlClickListener((f) =>
             {
                 Console.WriteLine("4");
@@ -98,7 +108,7 @@
             };
             this.AddChidren(btnTitle);
 
-            cornerTopFram = new CornerFramLayout(343, 452, 4, 17); 
+            cornerTopFram = new CornerFramLayout(343, 452, 17);
             cornerTopFram.X = Application.GetRealWidth(16);
             cornerTopFram.Y = btnTitle.Bottom + Application.GetRealHeight(16);
             this.AddChidren(cornerTopFram);
@@ -107,7 +117,7 @@
             cornerTopFram.LoadButtonPage(new List<int> { 3, 4, 5 });
 
 
-            CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 292, 0, 17);
+            CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 292, 17);
             cornerBottomFram.X = Application.GetRealWidth(16);
             cornerBottomFram.Y = cornerTopFram.Bottom + Application.GetRealHeight(16);
             cornerBottomFram.BackgroundColor = MusicColor.WhiteColor;
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/YkPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/YkPage.cs
index cf704b6..cdbfed9 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/YkPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/YkPage.cs
@@ -37,7 +37,7 @@
             //鍒濆鍖朥I
             this.InitTop();
             this.InitMiddle();
-            //鍒濆鍖栦簨浠�
+            //鍒濆鍖栦簨浠剁洃鍚櫒
             this.EventListener();
             //璇诲彇鏁版嵁
 
@@ -134,7 +134,7 @@
             };
 
 
-            CornerFramLayout imageFLayout = new CornerFramLayout(343, 20 * 168, 3, 0);
+            CornerFramLayout imageFLayout = new CornerFramLayout(343, 20 * 168, 0);
             vv.AddChidren(imageFLayout);
             imageFLayout.X = Application.GetRealWidth(16);
             imageFLayout.SetList(imageFLayout.GetTestList(20));
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs
new file mode 100644
index 0000000..808dbea
--- /dev/null
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs
@@ -0,0 +1,312 @@
+锘縰sing System;
+using System.Collections.Generic;
+using HDL_ON.UI.Music;
+using HDL_ON.UI.UI2.FuntionControlView.Aks.CommonView;
+using Shared;
+using static HDL_ON.UI.UI2.FuntionControlView.Aks.AksPage;
+namespace HDL_ON.UI.UI2.FuntionControlView.Aks
+{
+    /// <summary>
+    ///閬ユ帶鍣ㄧ晫闈�
+    /// </summary>
+    public class YkqPage : BaseFramLayout
+    {
+        public YkqPage()
+        {
+        }
+        public Action<IntType> action;
+        /// <summary>
+        /// 鏈�涓婇潰鍔熻兘閿鍣�
+        /// </summary>
+        CornerFramLayout cornerTopFram;
+        /// <summary>
+        /// 鏁板瓧鎸夐敭瀹瑰櫒
+        /// </summary>
+        CornerFramLayout numberFrame;
+        /// <summary>
+        /// 鑿滃崟瀹瑰櫒
+        /// </summary>
+        MenuFramLayout menuFram;
+        /// <summary>
+        /// 鍒囨崲璁惧瀹瑰櫒
+        /// </summary>
+        TypeMultiFramLayout typeMultiFramLayout;
+
+
+        public void Show()
+        {
+            //鍒濆鍖朥I
+            this.InitUI();
+            //鍒濆鍖栦簨浠剁洃鍚櫒
+            this.EventListener();
+            //璇诲彇鏁版嵁
+            this.ReadData();
+
+        }
+
+        private void ReadData()
+        {
+
+        }
+        /// <summary>
+        /// 浜嬩欢鐩戝惉鍣�
+        /// </summary>
+        private void EventListener()
+        {
+            //鍔熻兘閿帶鍒�
+            cornerTopFram.selectAction += (value) =>
+            {
+                Console.WriteLine("1");
+            };
+            //鏁板瓧閿帶鍒�
+            numberFrame.selectAction += (s) =>
+            {
+                Console.WriteLine("鎵撳嵃====" + s);
+            };
+            //鑿滃崟涓婃寜閿�
+            menuFram.SetTopClickListener((b) =>
+            {
+
+                Console.WriteLine("5");
+            });
+            //鑿滃崟涓嬫寜閿�
+            menuFram.SetBottomClickListener((b) =>
+            {
+                Console.WriteLine("6");
+            });
+            //鑿滃崟宸︽寜閿�
+            menuFram.SetLeftClickListener((b) =>
+            {
+                Console.WriteLine("7");
+            });
+            //鑿滃崟鍙虫寜閿�
+            menuFram.SetRightClickListener((b) =>
+            {
+                Console.WriteLine("8");
+            });
+            //鑿滃崟ok鎸夐敭
+            menuFram.SetOkClickListener((b) =>
+            {
+                Console.WriteLine("9");
+            });
+            //鏃跺簭鍣�
+            typeMultiFramLayout.SetLeftFlClickListener((f) =>
+            {
+                SxqPage sxqPage = new SxqPage();
+                MainPage.BasePageView.AddChidren(sxqPage);
+                MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+                sxqPage.Show();
+
+            });
+            //璁惧鍒囨崲
+            typeMultiFramLayout.SetRightFlClickListener((f) =>
+            {
+                Console.WriteLine("4");
+                action?.Invoke(IntType.TV);
+            });
+
+        }
+
+        private void InitUI()
+        {
+            this.BackgroundColor = MusicColor.ViewColor;
+            Button btnTitle = new Button
+            {
+                Y = Application.GetRealHeight(16),
+                X = Application.GetRealWidth(16),
+                Height = Application.GetRealHeight(22),
+                Width = Application.GetRealWidth(200),
+                TextAlignment = TextAlignment.CenterLeft,
+                TextColor = MusicColor.TextColor,
+                TextSize = TextSize.Text16,
+                TextID = StringId.xuniyaokongqi,
+            };
+            this.AddChidren(btnTitle);
+
+            FrameLayout layout = new FrameLayout {
+                Y = btnTitle.Bottom + Application.GetRealHeight(16),
+                X=Application.GetRealWidth(71),
+                Width=Application.GetRealWidth(232),
+                Radius=(uint)Application.GetRealHeight(17),
+                BackgroundColor= 0xff19181E,
+            };
+            this.AddChidren(layout);
+
+
+
+
+
+            cornerTopFram = new CornerFramLayout(343, 452, 17);
+            cornerTopFram.X = Application.GetRealWidth(16);
+            cornerTopFram.Y = btnTitle.Bottom + Application.GetRealHeight(16);
+            this.AddChidren(cornerTopFram);
+            cornerTopFram.SetList(cornerTopFram.GetTestList(17));
+            cornerTopFram.SetMargin(16, 0, 16, 0);
+            cornerTopFram.LoadButtonPage(new List<int> { 5, 6 });
+
+            #region  ----棰戦亾 鎺у埗----
+            FrameLayout middLayout = new FrameLayout
+            {
+                Y = cornerTopFram.Bottom,
+                Height = Application.GetRealHeight(61),
+            };
+            this.AddChidren(middLayout);
+
+            FrameLayout leftLayout = new FrameLayout
+            {
+                X = Application.GetRealWidth(105),
+                Y = Application.GetRealHeight(16),
+                Height = Application.GetRealHeight(29),
+                Width = Application.GetRealWidth(32),
+
+            };
+            middLayout.AddChidren(leftLayout);
+
+
+            Button leftBtnTitle = new Button
+            {
+                Height = Application.GetRealHeight(22),
+                Width = leftLayout.Width,
+                TextAlignment = TextAlignment.Center,
+                TextColor = MusicColor.TextColor,
+                SelectedTextColor = MusicColor.MusicTxet14SelectedColor,
+                TextSize = TextSize.Text16,
+                TextID = StringId.pindao,
+            };
+            leftLayout.AddChidren(leftBtnTitle);
+
+
+            Button leftBtnLine = new Button
+            {
+                Y = leftBtnTitle.Bottom + Application.GetRealHeight(4),
+                Height = Application.GetRealHeight(2),
+                Width = leftBtnTitle.GetTextWidth(),
+                BackgroundColor = MusicColor.TextColor,
+                SelectedBackgroundColor = MusicColor.MusicTxet14SelectedColor,
+                Gravity = Gravity.CenterHorizontal,
+            };
+            leftLayout.AddChidren(leftBtnLine);
+            //棰戦亾鐐瑰嚮鎺т欢
+            FrameLayout clickLeftLayout = new FrameLayout
+            {
+                Height = leftLayout.Height,
+                Width = leftLayout.Width,
+            };
+            leftLayout.AddChidren(clickLeftLayout);
+
+
+            FrameLayout rightLayout = new FrameLayout
+            {
+                X = leftLayout.Right + Application.GetRealWidth(100),
+                Y = leftLayout.Y,
+                Height = leftLayout.Height,
+                Width = leftLayout.Width,
+            };
+            middLayout.AddChidren(rightLayout);
+
+
+            Button rightBtnTitle = new Button
+            {
+                Height = Application.GetRealHeight(22),
+                Width = rightLayout.Width,
+                TextAlignment = TextAlignment.Center,
+                TextColor = MusicColor.TextColor,
+                SelectedTextColor = MusicColor.MusicTxet14SelectedColor,
+                TextSize = TextSize.Text16,
+                TextID = StringId.kongzhi,
+            };
+            rightLayout.AddChidren(rightBtnTitle);
+
+            Button rightBtnLine = new Button
+            {
+                Y = rightBtnTitle.Bottom + Application.GetRealHeight(4),
+                Height = Application.GetRealHeight(2),
+                Width = rightBtnTitle.GetTextWidth(),
+                BackgroundColor = MusicColor.TextColor,
+                SelectedBackgroundColor = MusicColor.MusicTxet14SelectedColor,
+                Gravity = Gravity.CenterHorizontal,
+            };
+            rightLayout.AddChidren(rightBtnLine);
+
+            //鐢佃鐐瑰嚮鎺т欢
+            FrameLayout clickRightLayout = new FrameLayout
+            {
+                Height = leftLayout.Height,
+                Width = leftLayout.Width,
+            };
+            rightLayout.AddChidren(clickRightLayout);
+
+
+
+            #endregion
+
+
+            //鏁板瓧鎸夐敭瀹瑰櫒
+            numberFrame = new CornerFramLayout(343, 368, 17);
+            numberFrame.X = Application.GetRealWidth(16);
+            numberFrame.Y = middLayout.Bottom + Application.GetRealHeight(16);
+            numberFrame.BackgroundColor = MusicColor.WhiteColor;
+            numberFrame.SetMargin(16, 0, 16, 0);
+            numberFrame.LoadNumberButtonPage();
+            this.AddChidren(numberFrame);
+
+
+            //鑿滃崟瀹瑰櫒
+            CornerFramLayout cornerBottomFram = new CornerFramLayout(343, 292, 17);
+            cornerBottomFram.X = Application.GetRealWidth(16);
+            cornerBottomFram.Y = middLayout.Bottom + Application.GetRealHeight(16);
+            cornerBottomFram.BackgroundColor = MusicColor.WhiteColor;
+            this.AddChidren(cornerBottomFram);
+
+            menuFram = new MenuFramLayout();
+            menuFram.Y = Application.GetRealHeight(24);
+            menuFram.AddView(cornerBottomFram);
+
+            typeMultiFramLayout = new TypeMultiFramLayout();
+            typeMultiFramLayout.multiFramLayout.Y = menuFram.Bottom + Application.GetRealHeight(32);
+            typeMultiFramLayout.AddView(cornerBottomFram);
+            typeMultiFramLayout.btnBottonRightName.TextID = StringId.dianshi;
+
+            //鍒濆鍊�
+            leftBtnTitle.IsSelected = true;
+            leftBtnLine.IsSelected = true;
+            leftBtnLine.Visible = true;
+            rightBtnTitle.IsSelected = false;
+            rightBtnLine.IsSelected = false;
+            rightBtnLine.Visible = false;
+            numberFrame.Visible = true;
+            cornerBottomFram.Visible = false;
+
+            //棰戦亾鐐瑰嚮浜嬩欢
+            clickLeftLayout.MouseDownEventHandler += (sen, e) =>
+            {
+                leftBtnTitle.IsSelected = true;
+                leftBtnLine.IsSelected = true;
+                leftBtnLine.Visible = true;
+                rightBtnTitle.IsSelected = false;
+                rightBtnLine.IsSelected = false;
+                rightBtnLine.Visible = false;
+                numberFrame.Visible = true;
+                cornerBottomFram.Visible = false;
+                this.AdjustRealHeight(16);
+
+            };
+            //鎺у埗鐐瑰嚮浜嬩欢
+            clickRightLayout.MouseDownEventHandler += (sen, e) =>
+            {
+                leftBtnTitle.IsSelected = false;
+                leftBtnLine.IsSelected = false;
+                leftBtnLine.Visible = false;
+                rightBtnTitle.IsSelected = true;
+                rightBtnLine.IsSelected = true;
+                rightBtnLine.Visible = true;
+                numberFrame.Visible = false;
+                cornerBottomFram.Visible = true;
+                this.AdjustRealHeight(-60);
+
+            };
+
+            this.AdjustRealHeight(16);
+        }
+    }
+}

--
Gitblit v1.8.0