From 259af9624cb7f4735e0efbc85f78d7ddffec6b36 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期三, 12 九月 2018 17:50:30 +0800
Subject: [PATCH] 3488 【前端】【1.0.15】【1.1.0】功能预告优化

---
 System/MainInterfacePanel/FeaturesType1.cs |   27 +++++++++++++++++++++++++--
 1 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/System/MainInterfacePanel/FeaturesType1.cs b/System/MainInterfacePanel/FeaturesType1.cs
index 3adc659..bb9d2c5 100644
--- a/System/MainInterfacePanel/FeaturesType1.cs
+++ b/System/MainInterfacePanel/FeaturesType1.cs
@@ -15,10 +15,11 @@
 
         [SerializeField] Text m_FunctionalLevel;//鍔熻兘绛夌骇
         [SerializeField] Text m_FunctionName;//鍔熻兘鍚�
-        [SerializeField] Image m_FeaturesTypeIcon;//鍔熻兘鍥炬爣
+        [SerializeField] ImageEx m_FeaturesTypeIcon;//鍔熻兘鍥炬爣
         [SerializeField] GameObject m_ImageSelected;
         [SerializeField] Button m_Button;
-
+        [SerializeField] GameObject m_Img_Done;
+        [SerializeField] ImageEx m_DisplayIcon;
         public GameObject ImageSelected
         {
             get { return m_ImageSelected; }
@@ -40,6 +41,28 @@
             m_FunctionName.text = functionForecastConfig.FuncName;
             m_FunctionalLevel.text = functionForecastConfig.DisplayLevel.ToString();
             m_FeaturesTypeIcon.SetSprite(functionForecastConfig.FuncIconKey);
+            if (PlayerDatas.Instance.baseData.LV >= functionForecastConfig.DisplayLevel)
+            {
+                m_FunctionalLevel.color = new Color(141,220,17);
+            }
+            else
+            {
+                m_FunctionalLevel.color = new Color(255, 244, 205);
+            }
+            if (FuncOpen.Instance.IsFuncOpen(funcId))
+            {
+                m_Img_Done.SetActive(true);
+                m_FeaturesTypeIcon.gray = false;
+                m_DisplayIcon.gray = false;
+                m_FunctionName.color = new Color(255,244,205);
+            }
+            else
+            {
+                m_Img_Done.SetActive(false);
+                m_FeaturesTypeIcon.gray = true;
+                m_DisplayIcon.gray = true;
+                m_FunctionName.color = new Color(220, 220, 220);
+            }
         }
     }
 

--
Gitblit v1.8.0