From 45d125829f883afc0a538bf74c75763569afa4c0 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 25 十二月 2024 15:19:26 +0800
Subject: [PATCH] 0312 优化界面

---
 System/MainInterfacePanel/OffLineOnHookModel.cs |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/System/MainInterfacePanel/OffLineOnHookModel.cs b/System/MainInterfacePanel/OffLineOnHookModel.cs
index 7888b5b..db4c8e6 100644
--- a/System/MainInterfacePanel/OffLineOnHookModel.cs
+++ b/System/MainInterfacePanel/OffLineOnHookModel.cs
@@ -74,20 +74,28 @@
             mCTJGInfoClass.QuickAwardCount = info.QuickAwardCount;
             if (info.AwardType == 1)
             {
-                string showStr = string.Empty;
-                showStr += Language.Get("L2013", Language.Get("L2012"), info.Exp + (ulong)info.ExpPoint * Constants.ExpPointValue) + "</r>";
+                List<Item> itemList = new List<Item>();
+                itemList.Add(new Item()
+                {
+                    id = GeneralDefine.expDisplayId,
+                    countEx = info.Exp + (ulong)info.ExpPoint * Constants.ExpPointValue,
+                });
+
                 for (int i = 0; i < info.MoneyLen; i++)
                 {
-                    showStr += Language.Get("L2013", Language.Get("MoneyType_" + info.MoneyList[i].MoneyType), info.MoneyList[i].MoneyValue) + "</r>";
+                    itemList.Add(new Item()
+                    {
+                        id = GeneralDefine.moneyDisplayIds[info.MoneyList[i].MoneyType],
+                        countEx = info.MoneyList[i].MoneyValue,
+                    });
                 }
 
-                List<Item> itemList = new List<Item>();
                 for (int i = 0; i < info.ItemLen; i++)
                 {
                     itemList.Add(new Item((int)info.ItemList[i].ItemID, info.ItemList[i].Count));
                 }
 
-                ItemLogicUtility.Instance.ShowGetItemRichText(itemList, showStr, 8);
+                ItemLogicUtility.Instance.ShowGetItem(itemList, "", 0);
             }
             else
             {

--
Gitblit v1.8.0