From 4d37b48f1d27239c6a8f6bae50e9ce0798ebf0d2 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期五, 02 十一月 2018 14:42:11 +0800
Subject: [PATCH] 4435 子 【开发】【1.2.0】功能预告界面修改,新增可领取奖励 / 【前端】【1.2.0】功能预告界面修改,新增可领取奖励

---
 System/MainInterfacePanel/FeatureNoticeTip.cs |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/System/MainInterfacePanel/FeatureNoticeTip.cs b/System/MainInterfacePanel/FeatureNoticeTip.cs
index 3fe4c10..afa3c21 100644
--- a/System/MainInterfacePanel/FeatureNoticeTip.cs
+++ b/System/MainInterfacePanel/FeatureNoticeTip.cs
@@ -18,6 +18,8 @@
         [SerializeField] Text _NameText;//鏍囬鍚�
         [SerializeField] Text _Information;//淇℃伅鍐呭
         [SerializeField] GameObject m_FeatureNoticeTipObj;
+        [SerializeField] Text m_Information_reward;//鏈夊鍔卞彲棰嗗彇
+        FeatureNoticeModel featureNoticeModel { get { return ModelCenter.Instance.GetModel<FeatureNoticeModel>(); } }
         public GameObject FeatureNoticeTipObj
         {
             get { return m_FeatureNoticeTipObj; }
@@ -40,10 +42,21 @@
                     return;
                 }
             }
+            if (featureNoticeModel.redPointStre1.state == RedPointState.Simple)//棰勫憡瀹屾瘯杩樻湁濂栧姳鑳介鍙�
+            {
+                _FunctionIcon.SetSprite("PersonBossIcon");
+                m_Information_reward.gameObject.SetActive(true);
+                _NameText.gameObject.SetActive(false);
+                _Information.gameObject.SetActive(false);
+                return;
+            }
             return;
         }
         void OpenPanel(int ID)
         {
+            m_Information_reward.gameObject.SetActive(false);
+            _NameText.gameObject.SetActive(true);
+            _Information.gameObject.SetActive(true);
             _FunctionIcon.SetSprite(Config.Instance.Get<FunctionForecastConfig>(ID).FuncIconKey);
             _NameText.text = Config.Instance.Get<FunctionForecastConfig>(ID).Describe;
             FuncOpenLVConfig funcoPenConfig = Config.Instance.Get<FuncOpenLVConfig>(ID);

--
Gitblit v1.8.0