wjc
2023-08-15 0c216014c649090d765902301cbfc9157f8f1ee4
2023年08月15日16:19:37
7个文件已修改
48 ■■■■■ 已修改文件
HDL_ON/UI/UI2/FuntionControlView/Aks/AksCommonMethod.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeMultiFramLayout.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/FuntionControlView/Aks/JdhPage.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/FuntionControlView/Aks/TyyPage.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/FuntionControlView/Aks/YkPage.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/FuntionControlView/Aks/AksCommonMethod.cs
@@ -113,6 +113,11 @@
            {
                return;
            }
            if (CollectList.Count == 0)
            {
                CollectList.Add(movieLibrary);
                return;
            }
            for (int i = 0; i < CollectList.Count; i++)
            {
                if (CollectList[i].movieId == movieLibrary.movieId)
HDL_ON/UI/UI2/FuntionControlView/Aks/CollectPage.cs
@@ -17,12 +17,12 @@
            this.remoteControl = remoteControlEntity;
            //读缓存数据
            var collectList = AksCommonMethod.Current.CollectList;
            this.mMovieLibraryList.AddRange(collectList);
            this.mMovieCollectList .AddRange(collectList);
        }
        /// <summary>
        /// 影片列表
        /// 影片收藏列表
        /// </summary>
        private List<MovieLibrary> mMovieLibraryList=new List<MovieLibrary>();
        private List<MovieLibrary> mMovieCollectList =new List<MovieLibrary>();
        /// <summary>
        /// 当前的遥控器对象
        /// </summary>
@@ -90,18 +90,19 @@
                return;
            }
            vv.RemoveAll();
            int count = this.mMovieLibraryList == null ? 0 : this.mMovieLibraryList.Count;
            int count = this.mMovieCollectList  == null ? 0 : this.mMovieCollectList .Count;
            imageFLayout = new CornerFramLayout(343, count * 168, 0);
            vv.AddChidren(imageFLayout);
            imageFLayout.X = Application.GetRealWidth(16);
            imageFLayout.LoadImagePage(this.mMovieLibraryList);
            imageFLayout.LoadImagePage(this.mMovieCollectList );
            imageFLayout.AdjustRealHeight(16);
            vv.BeginHeaderRefreshingAction += () =>
            {
                //关闭刷新View;
                vv.EndHeaderRefreshing();
                mMovieLibraryList.Clear();
                //强制更新
                mMovieCollectList .Clear();
                ReadData();
            };
            imageFLayout.selectImageAction += (movieLibrary) =>
@@ -114,9 +115,11 @@
                    detailPage.Show();
                    detailPage.action += (isUpdate) =>
                    {
                        //是否要更新
                        if (isUpdate)
                        {
                            this.mMovieLibraryList = AksCommonMethod.Current.CollectList;
                            this.mMovieCollectList = AksCommonMethod.Current.CollectList;
                            InitMiddle();
                        }
                    };
@@ -130,7 +133,7 @@
        /// </summary>
        private void ReadData()
        {
            if (mMovieLibraryList.Count > 0)
            if (mMovieCollectList .Count > 0)
            {
                CommonMethod.Current.MainThread(() =>
                {
@@ -144,12 +147,14 @@
            {
                try
                {
                    this.mMovieLibraryList = SendMethod.Current.GetcollectPage(this.remoteControl.deviceId, this.remoteControl.rcId, pageNo, SendMethod.pageSize);
                    for (int i = 0; i < this.mMovieLibraryList.Count; i++)
                    this.mMovieCollectList  = SendMethod.Current.GetcollectPage(this.remoteControl.deviceId, this.remoteControl.rcId, pageNo, SendMethod.pageSize);
                    for (int i = 0; i < this.mMovieCollectList .Count; i++)
                    {
                        var mMovieLibrary = this.mMovieLibraryList[i];
                        var mMovieLibrary = this.mMovieCollectList [i];
                        var bytes = SendMethod.Current.GetImage(mMovieLibrary.posterUrl);
                        mMovieLibrary.imageBytes = bytes;
                        //缓存数据
                        AksCommonMethod.Current.AddCollectMovie(mMovieLibrary);
                    }
                }
                catch { }
HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeMultiFramLayout.cs
@@ -135,7 +135,7 @@
        {
            EventHandler<MouseEventArgs> UpClick = (sender, e) =>
            {
                leftFramLayout.BackgroundColor = this.UpBackgroundColor;
                //leftFramLayout.BackgroundColor = this.UpBackgroundColor;
               
                //弹起来还原背景颜色
            };
@@ -147,7 +147,7 @@
            EventHandler<MouseEventArgs> DownClick = (sender, e) =>
            {
                //按下去改变背景颜色
                leftFramLayout.BackgroundColor = this.DownBackgroundColor;
                //leftFramLayout.BackgroundColor = this.DownBackgroundColor;
                action?.Invoke(leftFramLayout);
            };
            leftFramLayout.MouseDownEventHandler += DownClick;
HDL_ON/UI/UI2/FuntionControlView/Aks/JdhPage.cs
@@ -136,7 +136,7 @@
                TextAlignment = TextAlignment.CenterLeft,
                TextColor = MusicColor.TextColor,
                TextSize = TextSize.Text16,
                TextID = StringId.touyingyi,
                TextID = StringId.jidinghe,
            };
            this.AddChidren(btnTitle);
@@ -268,7 +268,7 @@
            typeMultiFramLayout = new TypeMultiFramLayout();
            typeMultiFramLayout.multiFramLayout.Y = menuFram.Bottom + Application.GetRealHeight(32);
            typeMultiFramLayout.AddView(cornerBottomFram);
            typeMultiFramLayout.btnBottonRightName.TextID = StringId.shixuqi;
            typeMultiFramLayout.btnBottonRightName.TextID = StringId.jidinghe;
            //初始值
            leftBtnTitle.IsSelected = true;
HDL_ON/UI/UI2/FuntionControlView/Aks/TyyPage.cs
@@ -110,7 +110,7 @@
            });
        }
        private void InitUI()
        {
            this.BackgroundColor = MusicColor.ViewColor;
HDL_ON/UI/UI2/FuntionControlView/Aks/YkPage.cs
@@ -227,7 +227,7 @@
        }
        /// <summary>
        /// 页面处理逻辑
        /// 页面数据处理逻辑
        /// </summary>
        /// <param name="newList">新列表数据</param>
        private void DataTreating(List<MovieLibrary> newList)
HDL_ON/UI/UI2/FuntionControlView/Aks/YkqPage.cs
@@ -993,7 +993,7 @@
            kuaituiFL.AddImageView();
            kuaituiFL.AddTextButtonView();
            kuaituiFL.GetImageButton().UnSelectedImagePath = "AksIcon/ykq_kuaitui.png";
            kuaituiFL.GetImageButton().SelectedImagePath = "AksIcon/ykq_kuaitui_selected.png";
            kuaituiFL.GetImageButton().SelectedImagePath = "AksIcon/ykq_kuaijin_selected.png";
            kuaituiFL.GetTextButton().Text = "快退";
            kuaituiFL.AddClickView();
@@ -1019,7 +1019,7 @@
            kusinjinFL.AddImageView();
            kusinjinFL.AddTextButtonView();
            kusinjinFL.GetImageButton().UnSelectedImagePath = "AksIcon/ykq_kuaijin.png";
            kusinjinFL.GetImageButton().SelectedImagePath = "AksIcon/ykq_kuaijin_selected.png";
            kusinjinFL.GetImageButton().SelectedImagePath = "AksIcon/ykq_kuaitui_selected.png";
            kusinjinFL.GetTextButton().Text = "快进";
            kusinjinFL.AddClickView();