From cf3d4880046912f8b46c9e54769986a179faa26c Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 08 四月 2021 18:01:13 +0800 Subject: [PATCH] 2021-04-08 1.更新音箱功能 --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs index 6096b8e..0b28ac8 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs @@ -1,4 +1,5 @@ 锘縰sing System; +using System.Collections.Generic; using HDL_ON.DAL.Server; using HDL_ON.Entity; using Shared; @@ -23,6 +24,7 @@ LoadEvent_SkipResdentialManagePage(); LoadEvent_GoMemberManagement(); LoadEvent_SkipbtnAddFunctionPage(); + LoadEvent_SkipSmartSpeakerPage(); } } @@ -299,6 +301,39 @@ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; }; } + + /// <summary> + /// 璺宠浆鏅鸿兘闊崇椤甸潰 + /// </summary> + void LoadEvent_SkipSmartSpeakerPage() + { + btnSmartSpeakerText.MouseUpEventHandler = (sender, e) => + { + + //var page = new SmartSpeakerListPage(); + //MainPage.BasePageView.AddChidren(page); + //page.LoadPage(); + //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + + var mList = new List<string>(); + mList.Add("骞夸笢"); + mList.Add("婀栧崡"); + mList.Add("骞胯タ"); + + var mList2 = new List<List<string>>(); + mList2.Add(new List<string> { "骞垮窞", "娣卞湷", "涓滆帪", "浣涘北", "鎯犲窞" }); + mList2.Add(new List<string> { "闀挎矙", "宀抽槼", "鏍床", "鏍床" }); + mList2.Add(new List<string> { "妗傛灄", "鍗楀畞", "鐜夋灄" }); + //PickerView.ShowOneList(mList, null); + + PickerView.ShowSecondary(mList, mList2, (selectIndex1, selectIndex2) => + { + System.Console.WriteLine("selectIndex锛�" + mList[selectIndex1] + " - " + mList2[selectIndex1][selectIndex2]); + + //textView.Text = "selectIndex锛�" + mList[selectIndex1] + " - " + mList2[selectIndex1][selectIndex2]; + }, 1, 3, "璇烽�夋嫨0", "纭0", "鍙栨秷0"); + }; + } #endregion -- Gitblit v1.8.0