From 63baf7cea63de6ff884d4d7a2e30587ce94547bf Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 08 二月 2023 17:09:50 +0800
Subject: [PATCH] 测试账号备份
---
HDL_ON/UI/UI2/FuntionControlView/Music/View/MyListView.cs | 11 ++++++-----
1 files changed, 6 insertions(+), 5 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..fb6a925 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 ValueProperty.list_cycle:
orderIconBtn.UnSelectedImagePath = "MusicIcon/list.png";
orderTxetBtn.Text = Language.StringByID(StringId.listMode);
break;
- case "1":
+ case ValueProperty.single_cycle:
orderIconBtn.UnSelectedImagePath = "MusicIcon/single.png";
- orderTxetBtn.Text = Language.StringByID(StringId.singleMode);
+ orderTxetBtn.Text = Language.StringByID(StringId.singleCycleMode);
break;
- case "2":
+ case ValueProperty.random:
orderIconBtn.UnSelectedImagePath = "MusicIcon/random.png";
orderTxetBtn.Text = Language.StringByID(StringId.randomMode);
break;
--
Gitblit v1.8.0