ios快捷登录
This commit is contained in:
1 parent
a625db3ebe
commit
c12df53c18
14 files changed
+2179
-606
No files matched your search
@@ -16,7 +16,13 @@ public class UserInfoController : PFUIPanel
|
||||
{
|
||||
this.transform.localPosition = new Vector3(0, 0, 0);
|
||||
Button exitBtn = this.transform.Find("InfoPanel").Find("Button").GetComponent<Button>();
|
||||
|
||||
UIManager.AddEvent(transform.Find("InfoButton").gameObject, EventTriggerType.PointerClick, b =>
|
||||
{
|
||||
UIManager.ShowAppleInfoModal(() =>
|
||||
{
|
||||
Load();
|
||||
});
|
||||
});
|
||||
UIManager.AddEvent(exitBtn.gameObject, EventTriggerType.PointerClick, (b) =>
|
||||
{
|
||||
UIManager.ShowPrePanel();
|
||||
@@ -101,10 +107,11 @@ public class UserInfoController : PFUIPanel
|
||||
Debug.Log(user.CanCreateRace);
|
||||
Utils.DisplayHead(infoPanel.Find("Avatar").GetComponent<RawImage>(), user.WxHeadImg);
|
||||
|
||||
transform.Find("InfoButton").gameObject.SetActive(string.IsNullOrEmpty(user.Phone));
|
||||
infoPanel.Find("Status").Find("Country").GetComponent<RawImage>().texture
|
||||
= UIManager.Instance.loginRegOptions.GetCountryImageByName(user.Country);
|
||||
infoPanel.Find("Status").Find("Wx").gameObject.SetActive(
|
||||
!string.IsNullOrEmpty(user.Unionid));
|
||||
//infoPanel.Find("Status").Find("Wx").gameObject.SetActive(
|
||||
// !string.IsNullOrEmpty(user.Unionid));
|
||||
infoPanel.Find("IdText").GetComponent<Text>().text = $"ID:{user.Id.ToString("000000")}";
|
||||
infoPanel.Find("NameText").GetComponent<Text>().text = $"{user.Nickname}";
|
||||
infoPanel.Find("EmailText").GetComponent<Text>().text = $"{user.Phone}";
|
||||
|
||||
Reference in new issue
Block a user