From 0c1b0cdf903114c4214f6b9298ecd440972a42b5 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 14 一月 2022 13:13:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/wjc' into wxr0114

---
 HDL_ON/UI/UI2/FuntionControlView/Music/View/MyListView.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/View/MyListView.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/View/MyListView.cs
index c9b4aab..86bf14f 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Music/View/MyListView.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Music/View/MyListView.cs
@@ -91,20 +91,21 @@
         };
         public void frameLayout(FrameLayout frame,A31MusicModel a31MusicModel)
         {
-            switch (a31MusicModel.A31PlayStatus.loop)
+           var mode= a31MusicModel.functionMusic.GetAttrState("mode");
+            switch (mode)
             {
                 //0鍒楄〃寰幆锛�1鍗曟洸寰幆锛�2闅忔満鎾斁;
-                case "0":
+                case "list_cycle":
                     orderIconBtn.UnSelectedImagePath = "MusicIcon/list.png";
                     orderTxetBtn.Text = Language.StringByID(StringId.listMode);
                     break;
 
-                case "1":
+                case "single_cycle/order":
                     orderIconBtn.UnSelectedImagePath = "MusicIcon/single.png";
                     orderTxetBtn.Text = Language.StringByID(StringId.singleMode);
 
                     break;
-                case "2":
+                case "random":
                     orderIconBtn.UnSelectedImagePath = "MusicIcon/random.png";
                     orderTxetBtn.Text = Language.StringByID(StringId.randomMode);
                     break;

--
Gitblit v1.8.0