12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using LitJson;
- public class ShowCommentData
- {
- public int id;
- public string content;
- public AccountData accountData;
- public ShowCommentData(JsonData data)
- {
- id = (int) data["id"];
- content = (string) data["content"];
- long playerId = long.Parse((string) data["user_id"]);
- string nickname = (string) data["nickname"];
- accountData = new AccountData(nickname, playerId.ToString());
- }
- }
- public class ShowComment : BaseComment
- {
- public override void Visit()
- {
- FashionShowCommentPanel.HidePanel();
- FashionShowEditPage.HidePanel();
- FashionShowEditPage.HidePanel();
- DelayCall.Call(1f, () =>
- {
- //FashionShowHomePage.HideSidePanel();
- FashionShowHomePage.HidePanel();
- });
- //TweenVec tweenVec = FashionShowEditPage.Panel.GetTweenVec();
- //tweenVec.AddEventOnetime(EventType.BackwardFinish, () =>
- //{
- // FashionShowHomePage.HideSidePanel();
- // FashionShowHomePage.HidePanel();
- //});
- base.Visit();
- }
- }
|