From 863304fc65fec403917dc686d02bb9272eda757c Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期五, 15 二月 2019 15:15:47 +0800
Subject: [PATCH] 6233 【前端】【1.6】精彩活动界面改版
---
System/OpenServerActivity/OpenActivityRankTypeCell.cs | 95 +++++++++++++++++++++--------------------------
1 files changed, 42 insertions(+), 53 deletions(-)
diff --git a/System/OpenServerActivity/OpenActivityRankTypeCell.cs b/System/OpenServerActivity/OpenActivityRankTypeCell.cs
index d1adebb..70228e1 100644
--- a/System/OpenServerActivity/OpenActivityRankTypeCell.cs
+++ b/System/OpenServerActivity/OpenActivityRankTypeCell.cs
@@ -1,53 +1,42 @@
-锘縰sing System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.UI;
-
-namespace Snxxz.UI
-{
- public class OpenActivityRankTypeCell : CellView
- {
- [SerializeField] RedpointBehaviour m_Redpoint;
- public RedpointBehaviour redpoint
- {
- get
- {
- return m_Redpoint;
- }
- }
- [SerializeField] Text m_TitleTxt;
- public Text titleTxt
- {
- get
- {
- return m_TitleTxt;
- }
- }
- [SerializeField] Button m_FunctionBtn;
- public Button functionBtn
- {
- get
- {
- return m_FunctionBtn;
- }
- }
- [SerializeField] Image m_FuncIcon;
- public Image functionIcon
- {
- get
- {
- return m_FuncIcon;
- }
- }
- [SerializeField] FunctionButtonConfig m_AlternativeConfig;
- public FunctionButtonConfig alternativeConfig { get { return m_AlternativeConfig; } set { m_AlternativeConfig = value; } }
-
- public void ChangeState(TitleBtnState _state)
- {
- functionIcon.SetSprite(alternativeConfig.GetIconKey(_state));
- m_TitleTxt.color = alternativeConfig.GetFontColor(_state);
- m_TitleTxt.fontSize = alternativeConfig.GetFontSize(_state);
- }
- }
-}
-
+锘縰sing System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using UnityEngine.UI;
+
+namespace Snxxz.UI
+{
+ public class OpenActivityRankTypeCell : CellView
+ {
+ [SerializeField] RedpointBehaviour m_Redpoint;
+ public RedpointBehaviour redpoint
+ {
+ get
+ {
+ return m_Redpoint;
+ }
+ }
+ [SerializeField] Text m_TitleTxt;
+ public Text titleTxt
+ {
+ get
+ {
+ return m_TitleTxt;
+ }
+ }
+ [SerializeField] Button m_FunctionBtn;
+ public Button functionBtn
+ {
+ get
+ {
+ return m_FunctionBtn;
+ }
+ }
+ [SerializeField] Transform m_ContainerSelect;
+
+ public void SetSelect(bool select)
+ {
+ m_ContainerSelect.gameObject.SetActive(select);
+ }
+ }
+}
+
--
Gitblit v1.8.0