From 08e6fa059769ad8bcd3fc3202040afa6992d221e Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期一, 25 二月 2019 11:01:22 +0800
Subject: [PATCH] Merge branch 'master' into ItemReconstruction

---
 Core/GameEngine/Login/LoginStage.cs                       |    7 
 Core/GameEngine/Model/Config/WeekPartyPointConfig.cs.meta |    2 
 System/Dungeon/DungeonInspireWin.cs                       |    1 
 System/KnapSack/New/BatchWin.cs                           |  144 +++++--------
 System/Dungeon/DungeonAssistPlayerWin.cs                  |   24 +-
 System/Dungeon/TargetBriefInfoWin.cs                      |   26 +
 System/OpenServerActivity/OpenServiceItem.cs              |    2 
 Core/GameEngine/Model/Config/WeekPartyPointConfig.cs      |  395 ++++++++++++++++++-----------------
 8 files changed, 295 insertions(+), 306 deletions(-)

diff --git a/Core/GameEngine/Login/LoginStage.cs b/Core/GameEngine/Login/LoginStage.cs
index 8e9e46b..b061611 100644
--- a/Core/GameEngine/Login/LoginStage.cs
+++ b/Core/GameEngine/Login/LoginStage.cs
@@ -77,8 +77,11 @@
     {
         base.OnLateUpdate();
 
-        CheckClientVersion();
-        CheckClientAssets();
+        if (Application.isMobilePlatform)
+        {
+            CheckClientVersion();
+            CheckClientAssets();
+        }
     }
 
     float checkClientTimer = 0f;
diff --git a/Core/GameEngine/Model/Config/WeekPartyPointConfig.cs b/Core/GameEngine/Model/Config/WeekPartyPointConfig.cs
index 149660d..b5db9cb 100644
--- a/Core/GameEngine/Model/Config/WeekPartyPointConfig.cs
+++ b/Core/GameEngine/Model/Config/WeekPartyPointConfig.cs
@@ -1,33 +1,34 @@
-锘�//--------------------------------------------------------
-//    [Author]:           Fish
-//    [  Date ]:           Thursday, February 14, 2019
-//--------------------------------------------------------
-
-using System.Collections.Generic;
-using System.IO;
-using System.Threading;
-using System;
-using UnityEngine;
-
-[XLua.LuaCallCSharp]
-public partial class WeekPartyPointConfig
-{
-
+锘�//--------------------------------------------------------
+//    [Author]:           Fish
+//    [  Date ]:           Monday, February 25, 2019
+//--------------------------------------------------------
+
+using System.Collections.Generic;
+using System.IO;
+using System.Threading;
+using System;
+using UnityEngine;
+
+[XLua.LuaCallCSharp]
+public partial class WeekPartyPointConfig
+{
+
     public readonly int Id;
 	public readonly string ImageType1;
 	public readonly string ImageType2;
 	public readonly string name;
-
-	public WeekPartyPointConfig()
-    {
-    }
-
-    public WeekPartyPointConfig(string input)
-    {
-        try
-        {
-            var tables = input.Split('\t');
-
+	public readonly float Zoom;
+
+	public WeekPartyPointConfig()
+    {
+    }
+
+    public WeekPartyPointConfig(string input)
+    {
+        try
+        {
+            var tables = input.Split('\t');
+
             int.TryParse(tables[0],out Id); 
 
 			ImageType1 = tables[1];
@@ -35,174 +36,176 @@
 			ImageType2 = tables[2];
 
 			name = tables[3];
-        }
-        catch (Exception ex)
-        {
-            DebugEx.Log(ex);
-        }
-    }
 
-    static Dictionary<string, WeekPartyPointConfig> configs = new Dictionary<string, WeekPartyPointConfig>();
-    public static WeekPartyPointConfig Get(string id)
-    {   
-		if (!inited)
-        {
-            Debug.Log("WeekPartyPointConfig 杩樻湭瀹屾垚鍒濆鍖栥��");
-            return null;
-        }
-		
-        if (configs.ContainsKey(id))
-        {
-            return configs[id];
-        }
-
-        WeekPartyPointConfig config = null;
-        if (rawDatas.ContainsKey(id))
-        {
-            config = configs[id] = new WeekPartyPointConfig(rawDatas[id]);
-            rawDatas.Remove(id);
-        }
-
-        return config;
-    }
-
-	public static WeekPartyPointConfig Get(int id)
-    {
-        return Get(id.ToString());
-    }
-
-    public static List<string> GetKeys()
-    {
-        var keys = new List<string>();
-        keys.AddRange(configs.Keys);
-        keys.AddRange(rawDatas.Keys);
-        return keys;
-    }
-
-    public static List<WeekPartyPointConfig> GetValues()
-    {
-        var values = new List<WeekPartyPointConfig>();
-        values.AddRange(configs.Values);
-
-        var keys = new List<string>(rawDatas.Keys);
-        foreach (var key in keys)
-        {
-            values.Add(Get(key));
-        }
-
-        return values;
-    }
-
-	public static bool Has(string id)
-    {
-        return configs.ContainsKey(id) || rawDatas.ContainsKey(id);
-    }
-
-	public static bool Has(int id)
-    {
-        return Has(id.ToString());
-    }
-
-	public static bool inited { get; private set; }
-    protected static Dictionary<string, string> rawDatas = new Dictionary<string, string>();
-    public static void Init(bool sync=false)
-    {
-	    inited = false;
-		var path = string.Empty;
-        if (AssetSource.refdataFromEditor)
-        {
-            path = ResourcesPath.CONFIG_FODLER +"/WeekPartyPoint.txt";
-        }
-        else
-        {
-            path = AssetVersionUtility.GetAssetFilePath("config/WeekPartyPoint.txt");
-        }
-
-		var tempConfig = new WeekPartyPointConfig();
-        var preParse = tempConfig is IConfigPostProcess;
-
-        if (sync)
-        {
-            var lines = File.ReadAllLines(path);
-            if (!preParse)
-            {
-                rawDatas = new Dictionary<string, string>(lines.Length - 3);
-            }
-            for (int i = 3; i < lines.Length; i++)
-            {
-				try 
-				{
-					var line = lines[i];
-					var index = line.IndexOf("\t");
-					if (index == -1)
-					{
-						continue;
-					}
-					var id = line.Substring(0, index);
-
-					if (preParse)
-					{
-						var config = new WeekPartyPointConfig(line);
-						configs[id] = config;
-						(config as IConfigPostProcess).OnConfigParseCompleted();
-					}
-					else
-					{
-						rawDatas[id] = line;
-					}
-				}
-				catch (System.Exception ex)
-                {
-                    Debug.LogError(ex);
-                }
-            }
-			inited = true;
-        }
-        else
-        {
-            ThreadPool.QueueUserWorkItem((object _object) =>
-            {
-                var lines = File.ReadAllLines(path);
-				if (!preParse)
-				{
-					rawDatas = new Dictionary<string, string>(lines.Length - 3);
-				}
-                for (int i = 3; i < lines.Length; i++)
-                {
-					try 
-					{
-					   var line = lines[i];
-						var index = line.IndexOf("\t");
-						if (index == -1)
-						{
-							continue;
-						}
-						var id = line.Substring(0, index);
-
-						if (preParse)
-						{
-							var config = new WeekPartyPointConfig(line);
-							configs[id] = config;
-							(config as IConfigPostProcess).OnConfigParseCompleted();
-						}
-						else
-						{
-							rawDatas[id] = line;
-						}
-					}
-					catch (System.Exception ex)
-                    {
-                        Debug.LogError(ex);
-                    }
-                }
-
-                inited = true;
-            });
-        }
-    }
-
-}
-
-
-
-
+			float.TryParse(tables[4],out Zoom); 
+        }
+        catch (Exception ex)
+        {
+            DebugEx.Log(ex);
+        }
+    }
+
+    static Dictionary<string, WeekPartyPointConfig> configs = new Dictionary<string, WeekPartyPointConfig>();
+    public static WeekPartyPointConfig Get(string id)
+    {   
+		if (!inited)
+        {
+            Debug.Log("WeekPartyPointConfig 杩樻湭瀹屾垚鍒濆鍖栥��");
+            return null;
+        }
+		
+        if (configs.ContainsKey(id))
+        {
+            return configs[id];
+        }
+
+        WeekPartyPointConfig config = null;
+        if (rawDatas.ContainsKey(id))
+        {
+            config = configs[id] = new WeekPartyPointConfig(rawDatas[id]);
+            rawDatas.Remove(id);
+        }
+
+        return config;
+    }
+
+	public static WeekPartyPointConfig Get(int id)
+    {
+        return Get(id.ToString());
+    }
+
+    public static List<string> GetKeys()
+    {
+        var keys = new List<string>();
+        keys.AddRange(configs.Keys);
+        keys.AddRange(rawDatas.Keys);
+        return keys;
+    }
+
+    public static List<WeekPartyPointConfig> GetValues()
+    {
+        var values = new List<WeekPartyPointConfig>();
+        values.AddRange(configs.Values);
+
+        var keys = new List<string>(rawDatas.Keys);
+        foreach (var key in keys)
+        {
+            values.Add(Get(key));
+        }
+
+        return values;
+    }
+
+	public static bool Has(string id)
+    {
+        return configs.ContainsKey(id) || rawDatas.ContainsKey(id);
+    }
+
+	public static bool Has(int id)
+    {
+        return Has(id.ToString());
+    }
+
+	public static bool inited { get; private set; }
+    protected static Dictionary<string, string> rawDatas = new Dictionary<string, string>();
+    public static void Init(bool sync=false)
+    {
+	    inited = false;
+		var path = string.Empty;
+        if (AssetSource.refdataFromEditor)
+        {
+            path = ResourcesPath.CONFIG_FODLER +"/WeekPartyPoint.txt";
+        }
+        else
+        {
+            path = AssetVersionUtility.GetAssetFilePath("config/WeekPartyPoint.txt");
+        }
+
+		var tempConfig = new WeekPartyPointConfig();
+        var preParse = tempConfig is IConfigPostProcess;
+
+        if (sync)
+        {
+            var lines = File.ReadAllLines(path);
+            if (!preParse)
+            {
+                rawDatas = new Dictionary<string, string>(lines.Length - 3);
+            }
+            for (int i = 3; i < lines.Length; i++)
+            {
+				try 
+				{
+					var line = lines[i];
+					var index = line.IndexOf("\t");
+					if (index == -1)
+					{
+						continue;
+					}
+					var id = line.Substring(0, index);
+
+					if (preParse)
+					{
+						var config = new WeekPartyPointConfig(line);
+						configs[id] = config;
+						(config as IConfigPostProcess).OnConfigParseCompleted();
+					}
+					else
+					{
+						rawDatas[id] = line;
+					}
+				}
+				catch (System.Exception ex)
+                {
+                    Debug.LogError(ex);
+                }
+            }
+			inited = true;
+        }
+        else
+        {
+            ThreadPool.QueueUserWorkItem((object _object) =>
+            {
+                var lines = File.ReadAllLines(path);
+				if (!preParse)
+				{
+					rawDatas = new Dictionary<string, string>(lines.Length - 3);
+				}
+                for (int i = 3; i < lines.Length; i++)
+                {
+					try 
+					{
+					   var line = lines[i];
+						var index = line.IndexOf("\t");
+						if (index == -1)
+						{
+							continue;
+						}
+						var id = line.Substring(0, index);
+
+						if (preParse)
+						{
+							var config = new WeekPartyPointConfig(line);
+							configs[id] = config;
+							(config as IConfigPostProcess).OnConfigParseCompleted();
+						}
+						else
+						{
+							rawDatas[id] = line;
+						}
+					}
+					catch (System.Exception ex)
+                    {
+                        Debug.LogError(ex);
+                    }
+                }
+
+                inited = true;
+            });
+        }
+    }
+
+}
+
+
+
+
diff --git a/Core/GameEngine/Model/Config/WeekPartyPointConfig.cs.meta b/Core/GameEngine/Model/Config/WeekPartyPointConfig.cs.meta
index b512857..2eca71e 100644
--- a/Core/GameEngine/Model/Config/WeekPartyPointConfig.cs.meta
+++ b/Core/GameEngine/Model/Config/WeekPartyPointConfig.cs.meta
@@ -1,6 +1,6 @@
 fileFormatVersion: 2
 guid: f723363b44064444fb15fc4cafbaa0d5
-timeCreated: 1550121884
+timeCreated: 1551060842
 licenseType: Pro
 MonoImporter:
   serializedVersion: 2
diff --git a/System/Dungeon/DungeonAssistPlayerWin.cs b/System/Dungeon/DungeonAssistPlayerWin.cs
index 4236389..2a2dbd2 100644
--- a/System/Dungeon/DungeonAssistPlayerWin.cs
+++ b/System/Dungeon/DungeonAssistPlayerWin.cs
@@ -32,7 +32,7 @@
             goldRefreshBtn.AddListener(ClickRefresh);
             oneKeyHelpBtn.AddListener(ClickOneKeyAssist);
             freeRefreshBtn.AddListener(ClickRefresh);
-       
+
         }
 
         protected override void OnPreOpen()
@@ -44,7 +44,7 @@
 
         protected override void OnAfterOpen()
         {
-           
+            WindowCenter.Instance.Open<MainInterfaceWin>();
         }
 
         protected override void OnPreClose()
@@ -57,7 +57,7 @@
 
         protected override void OnAfterClose()
         {
-           
+
         }
         #endregion
 
@@ -87,10 +87,10 @@
             if (playerInfos == null) return;
 
             assistPlayerCtrl.Refresh();
-            for(int i = 0; i < playerInfos.Count; i++)
+            for (int i = 0; i < playerInfos.Count; i++)
             {
                 var info = playerInfos[i];
-                assistPlayerCtrl.AddCell(ScrollerDataType.Header,info.PlayerID);
+                assistPlayerCtrl.AddCell(ScrollerDataType.Header, info.PlayerID);
             }
             assistPlayerCtrl.Restart();
         }
@@ -113,13 +113,13 @@
             bool isFree = assistModel.TryGetFreeRefresh(out remainNum);
             freeRefreshBtn.gameObject.SetActive(isFree);
             goldRefreshBtn.gameObject.SetActive(!isFree);
-            if(isFree)
+            if (isFree)
             {
-                freeRefreshText.text = Language.Get("DungeonAssist129",remainNum);
+                freeRefreshText.text = Language.Get("DungeonAssist129", remainNum);
             }
             else
             {
-                goldRefreshCostMoneyText.text = assistModel.refreshCostMoney.ToString(); 
+                goldRefreshCostMoneyText.text = assistModel.refreshCostMoney.ToString();
                 goldRefreshRemianNumText.text = Language.Get("DungeonAssist129", remainNum);
             }
             UpdateGoldRefreshBtn();
@@ -129,7 +129,7 @@
         {
             int remainNum = 0;
             bool isFree = assistModel.TryGetFreeRefresh(out remainNum);
-            if(isFree || remainNum > 0)
+            if (isFree || remainNum > 0)
             {
                 goldRefreshImg.material = MaterialUtility.GetUIDefaultGraphicMaterial();
             }
@@ -141,7 +141,7 @@
 
         private void UpdateTime(float time)
         {
-            if(time > 0)
+            if (time > 0)
             {
                 oneKeyHelpText.text = Language.Get("DungeonAssist128", time);
             }
@@ -164,13 +164,13 @@
             isRefresh = false;
             int remainNum = 0;
             bool isFree = assistModel.TryGetFreeRefresh(out remainNum);
-            if(isFree)
+            if (isFree)
             {
                 assistModel.SendAssistRefresh();
             }
             else
             {
-                if(remainNum > 0)
+                if (remainNum > 0)
                 {
                     ulong haveBindGold = UIHelper.GetMoneyCnt(2);
                     if (haveBindGold < (ulong)assistModel.refreshCostMoney)
diff --git a/System/Dungeon/DungeonInspireWin.cs b/System/Dungeon/DungeonInspireWin.cs
index 4b66511..3f2ad8d 100644
--- a/System/Dungeon/DungeonInspireWin.cs
+++ b/System/Dungeon/DungeonInspireWin.cs
@@ -103,6 +103,7 @@
         protected override void OnPreClose()
         {
             model.dungeonInspireLvEvent -= DungeonEncourageEvent;
+            WindowCenter.Instance.Open<MainInterfaceWin>();
         }
 
         protected override void OnAfterClose()
diff --git a/System/Dungeon/TargetBriefInfoWin.cs b/System/Dungeon/TargetBriefInfoWin.cs
index 90d7cc4..04b3266 100644
--- a/System/Dungeon/TargetBriefInfoWin.cs
+++ b/System/Dungeon/TargetBriefInfoWin.cs
@@ -325,7 +325,13 @@
 
                 if (bossInfo.instanceId != 0)
                 {
-                    ShowBossLifeBar(bossInfo, true);
+                    var dataMapId = MapUtility.GetDataMapId();
+                    if (dataMapId != DemonJarModel.DEMONJAR_MAPID
+                        && dataMapId != JadeDynastyBossModel.JADEDYNASTY_MAP
+                        && dataMapId != JadeDynastyTowerModel.DATA_MAPID)
+                    {
+                        ShowBossLifeBar(bossInfo, true);
+                    }
                 }
                 else
                 {
@@ -346,13 +352,19 @@
                 }
                 else
                 {
-                    if (bossInfo.npcId != TargetBriefInfo.bossInfo.npcId)
+                    var dataMapId = MapUtility.GetDataMapId();
+                    if (dataMapId != DemonJarModel.DEMONJAR_MAPID
+                        && dataMapId != JadeDynastyBossModel.JADEDYNASTY_MAP
+                        && dataMapId != JadeDynastyTowerModel.DATA_MAPID)
                     {
-                        ShowBossLifeBar(TargetBriefInfo.bossInfo, true);
-                    }
-                    else
-                    {
-                        RefreshBossLifeBar(TargetBriefInfo.bossInfo);
+                        if (bossInfo.npcId != TargetBriefInfo.bossInfo.npcId)
+                        {
+                            ShowBossLifeBar(TargetBriefInfo.bossInfo, true);
+                        }
+                        else
+                        {
+                            RefreshBossLifeBar(TargetBriefInfo.bossInfo);
+                        }
                     }
                 }
 
diff --git a/System/KnapSack/New/BatchWin.cs b/System/KnapSack/New/BatchWin.cs
index db08774..e4d502a 100644
--- a/System/KnapSack/New/BatchWin.cs
+++ b/System/KnapSack/New/BatchWin.cs
@@ -16,80 +16,45 @@
     public class BatchWin : Window
     {
         #region 鎴愬憳鍙橀噺
-        private Text _itemName;
-        private Slider _splitSlider;
-        private Text _number;
-        private Button _addBtn;
-        private Button _reduceBtn;
-        private Button _splitBtn;
-        private Button _closeBtn;
-        private ItemCell _itemCell;
+        private Text m_ItemName;
+        private Slider m_SplitSlider;
+        private Text m_Number;
+        private Button m_AddBtn;
+        private Button m_ReduceBtn;
+        private Button m_SplitBtn;
+        private Button m_CloseBtn;
+        private ItemCell m_ItemCell;
         #endregion
 
-        ItemTipsModel _itemTipsModel;
-        ItemTipsModel itemTipsModel
-        {
-            get
-            {
-                return _itemTipsModel ?? (_itemTipsModel = ModelCenter.Instance.GetModel<ItemTipsModel>());
-            }
-        }
-
-        PlayerPackModel _playerPack;
-        PlayerPackModel playerPack
-        {
-            get { return _playerPack ?? (_playerPack = ModelCenter.Instance.GetModel<PlayerPackModel>()); }
-        }
-
-        PlayerBuffDatas _buffModel;
-        PlayerBuffDatas Buffmodel
-        {
-            get
-            {
-                return _buffModel ?? (_buffModel = ModelCenter.Instance.GetModel<PlayerBuffDatas>());
-            }
-        }
+        ItemTipsModel itemTipsModel { get { return ModelCenter.Instance.GetModel<ItemTipsModel>(); } }
+        PlayerPackModel playerPack { get { return ModelCenter.Instance.GetModel<PlayerPackModel>(); } }
+        PlayerBuffDatas Buffmodel { get { return ModelCenter.Instance.GetModel<PlayerBuffDatas>(); } }
 
         private ItemModel itemModel;
         #region Built-in
         protected override void BindController()
         {
-            _itemName = transform.Find("ItemNameText").GetComponent<Text>();
-            _number = transform.Find("SplitSlider/Background/Fill/SplitIcon/NumBG/NumText").GetComponent<Text>();
-            _splitSlider = transform.Find("SplitSlider").GetComponent<Slider>();
-            _addBtn = transform.Find("Addbtn").GetComponent<Button>();
-            _splitBtn = transform.Find("Usebtn").GetComponent<Button>();
-            _reduceBtn = transform.Find("Reducebtn").GetComponent<Button>();
-            _closeBtn = transform.Find("Closebtn").GetComponent<Button>();
-            _itemCell = transform.Find("ItemCell").GetComponent<ItemCell>();
+            m_ItemName = this.transform.Find("ItemNameText").GetComponent<Text>();
+            m_Number = this.transform.Find("SplitSlider/Background/Fill/SplitIcon/NumBG/NumText").GetComponent<Text>();
+            m_SplitSlider = this.transform.Find("SplitSlider").GetComponent<Slider>();
+            m_AddBtn = this.transform.Find("Addbtn").GetComponent<Button>();
+            m_SplitBtn = this.transform.Find("Usebtn").GetComponent<Button>();
+            m_ReduceBtn = this.transform.Find("Reducebtn").GetComponent<Button>();
+            m_CloseBtn = this.transform.Find("Closebtn").GetComponent<Button>();
+            m_ItemCell = this.transform.Find("ItemCell").GetComponent<ItemCell>();
         }
 
         protected override void AddListeners()
         {
-            _splitSlider.onValueChanged.RemoveAllListeners();
-            _addBtn.onClick.RemoveAllListeners();
-            _reduceBtn.onClick.RemoveAllListeners();
-            _splitBtn.onClick.RemoveAllListeners();
-            _closeBtn.onClick.RemoveAllListeners();
-
-            _splitSlider.onValueChanged.AddListener(
-
-             delegate
-             {
-                 OnSplitValueChange();
-             }
-
-             );
-
-            _addBtn.onClick.AddListener(OnClickAddBtn);
-            _reduceBtn.onClick.AddListener(OnClickReduceBtn);
-            _splitBtn.onClick.AddListener(OnClickBatchUseBtn);
-            _closeBtn.onClick.AddListener(OnClickCloseBtn);
+            m_SplitSlider.SetListener((float value) => { OnSplitValueChange(); });
+            m_AddBtn.SetListener(OnClickAddBtn);
+            m_ReduceBtn.SetListener(OnClickReduceBtn);
+            m_SplitBtn.SetListener(OnClickBatchUseBtn);
+            m_CloseBtn.SetListener(OnClickCloseBtn);
         }
 
         protected override void OnPreOpen()
         {
-            //OpenBatchWin(itemInfoModel.CurItemModel);
             OpenBatchWin();
         }
 
@@ -103,7 +68,7 @@
 
         protected override void OnAfterClose()
         {
-
+            WindowCenter.Instance.Open<MainInterfaceWin>();
         }
         #endregion
 
@@ -111,14 +76,17 @@
         {
             itemModel = playerPack.GetItemByGuid(BatchUseModel.Instance.guid);
             if (itemModel == null)
+            {
                 return;
+            }
+
             InitPanel();
         }
 
-        public void InitPanel()
+        void InitPanel()
         {
             ulong maxValue = 0;
-            if(BatchUseModel.Instance.maxValue <= 0)
+            if (BatchUseModel.Instance.maxValue <= 0)
             {
                 playerPack.IsReachUseLimit(itemModel.guid, out maxValue);
             }
@@ -126,44 +94,44 @@
             {
                 maxValue = (ulong)BatchUseModel.Instance.maxValue;
             }
-          
-            ItemCellModel cellModel = new ItemCellModel(itemModel.itemId, false, (ulong)maxValue, itemModel.isBind, 
-             itemModel.guid,itemModel.packType, false);
-            _itemCell.Init(cellModel);
-            _itemCell.countText.text = maxValue.ToString();
-            _itemName.text = itemModel.config.ItemName;
-            _splitSlider.minValue = 1;
-            _splitSlider.maxValue = maxValue;
-            if(itemModel.config.BatchUse == 1)
+
+            var cellModel = new ItemCellModel(itemModel.itemId, false, (ulong)maxValue, itemModel.isBind,
+             itemModel.guid, itemModel.packType, false);
+            m_ItemCell.Init(cellModel);
+            m_ItemCell.countText.text = maxValue.ToString();
+            m_ItemName.text = itemModel.config.ItemName;
+            m_SplitSlider.minValue = 1;
+            m_SplitSlider.maxValue = maxValue;
+            if (itemModel.config.BatchUse == 1)
             {
-                _splitSlider.value = _splitSlider.minValue;
+                m_SplitSlider.value = m_SplitSlider.minValue;
             }
-            else if(itemModel.config.BatchUse == 2)
+            else if (itemModel.config.BatchUse == 2)
             {
-                _splitSlider.value = _splitSlider.maxValue;
+                m_SplitSlider.value = m_SplitSlider.maxValue;
             }
-           
-            _number.text = Mathf.Ceil(_splitSlider.value).ToString();
+
+            m_Number.text = Mathf.Ceil(m_SplitSlider.value).ToString();
         }
 
         public void OnSplitValueChange()
         {
-            _number.text = Mathf.Ceil(_splitSlider.value).ToString();
+            m_Number.text = Mathf.Ceil(m_SplitSlider.value).ToString();
         }
 
         public void OnClickAddBtn()
         {
-            if (_splitSlider.value < _splitSlider.maxValue)
+            if (m_SplitSlider.value < m_SplitSlider.maxValue)
             {
-                _splitSlider.value++;
+                m_SplitSlider.value++;
             }
         }
 
         public void OnClickReduceBtn()
         {
-            if (_splitSlider.value > _splitSlider.minValue)
+            if (m_SplitSlider.value > m_SplitSlider.minValue)
             {
-                _splitSlider.value--;
+                m_SplitSlider.value--;
             }
         }
 
@@ -178,25 +146,25 @@
                 {
                     if (isOk)
                     {
-                        ItemOperateUtility.Instance.UseItem(itemModel.itemPlace, (ushort)Mathf.Ceil(_splitSlider.value), BatchUseModel.Instance.extraPrams);
+                        ItemOperateUtility.Instance.UseItem(itemModel.itemPlace, (ushort)Mathf.Ceil(m_SplitSlider.value), BatchUseModel.Instance.extraPrams);
                     }
                 }
                 );
-               
+
             }
-            else if(itemModel.config.Type == (int)ItemType.Box)
+            else if (itemModel.config.Type == (int)ItemType.Box)
             {
-                ModelCenter.Instance.GetModel<BoxGetItemModel>().CheckOpenBoxCondi(itemModel.guid,itemModel.itemId, (ushort)Mathf.Ceil(_splitSlider.value));
+                ModelCenter.Instance.GetModel<BoxGetItemModel>().CheckOpenBoxCondi(itemModel.guid, itemModel.itemId, (ushort)Mathf.Ceil(m_SplitSlider.value));
             }
             else
             {
-                ItemOperateUtility.Instance.UseItem(itemModel.itemPlace, (ushort)Mathf.Ceil(_splitSlider.value), BatchUseModel.Instance.extraPrams);
+                ItemOperateUtility.Instance.UseItem(itemModel.itemPlace, (ushort)Mathf.Ceil(m_SplitSlider.value), BatchUseModel.Instance.extraPrams);
             }
-         
+
             OnClickCloseBtn();
         }
 
-        public void OnClickCloseBtn()
+        void OnClickCloseBtn()
         {
             Close();
         }
diff --git a/System/OpenServerActivity/OpenServiceItem.cs b/System/OpenServerActivity/OpenServiceItem.cs
index 2b40a1a..e2201c3 100644
--- a/System/OpenServerActivity/OpenServiceItem.cs
+++ b/System/OpenServerActivity/OpenServiceItem.cs
@@ -37,6 +37,8 @@
                     m_ImageShow.SetSprite(weekPartPointConfig.ImageType2);
                 }
                 m_ImageShow.SetNativeSize();
+                var RectTrans = m_ImageShow.transform.GetComponent<RectTransform>();
+                RectTrans.localScale = new Vector3(weekPartPointConfig.Zoom, weekPartPointConfig.Zoom, 1);
             }
             int Point = model.GetPoint(day);           
             m_TextPoint.text = Language.Get("OSA_3", item.NeedPoint);

--
Gitblit v1.8.0