/// <summary>
    /// 实例化Text Item
    /// </summary>
    /// <param name="_Data">表数据</param>
    /// <param name="_ActivityOverviewData">服务器数据</param>
    private void GreatTextItem(GameactivityTemplate _Data, ActivityOverviewData _ActivityOverviewData)
    {
        for (int k = 0; k < m_TextItemParent.transform.childCount; k++)
        {
            if (m_TextItemParent.transform.GetChild(k).gameObject.name == "item(Clone)")
            {
                Destroy(m_TextItemParent.transform.GetChild(k).gameObject);
            }
        }

        GameObject _TextItem = Instantiate(m_TextItem) as GameObject;

        _TextItem.transform.SetParent(m_TextItemParent.transform, true);
        _TextItem.transform.localScale    = new Vector3(1, 1, 1);
        _TextItem.transform.localPosition = new Vector3(0, 0, 0);
        _TextItem.gameObject.SetActive(true);
        _TextItem.GetComponent <TextItem>().SetTextData(GameUtils.getString(_Data.getContentdes()));

        //右界面显示的内容(标题;时间;按钮字)
        //显示已经完成的条件(花了多少金币;完成多少任务--- 按钮上面的字)
        m_TitleText.text = GameUtils.getString(_Data.getTitledes());
        string dt1 = GameUtils.ConvertStringToDate(_Data.getBeginday());
        string dt2 = GameUtils.ConvertStringToDate(_Data.getDeadline());

        m_TimeText.text = dt1 + "-" + dt2;

        TotalNumStyleText(_Data.getType(), _Data.getParameter2(), _ActivityOverviewData.m_allactivitynum, _ActivityOverviewData.m_activitynum);
    }
    /// <summary>
    /// 读取表数据 找到开启的活动的ID
    /// </summary>
    public void ReadTableDateFindOpenActivity()
    {
        foreach (int k in DataTemplate.GetInstance().m_GameactivityTable.GetDataKeys())
        {
            GameactivityTemplate _gt = (GameactivityTemplate)DataTemplate.GetInstance().m_GameactivityTable.getTableData(k);

            DateTime _date = m_ObjectSelf.ServerDateTime;
            DateTime dt1   = GameUtils.ConvertStringToDateTime(_gt.getBeginday());
            DateTime dt2   = GameUtils.ConvertStringToDateTime(_gt.getDeadline());

            if (_date > dt1 && _date < dt2)
            {
                m_OpenActivityID.Add(k);
            }
        }
        //Debug.Log("m_OpenActivityID.Count : " + m_OpenActivityID.Count);
    }