87 lines
2.7 KiB
C#
87 lines
2.7 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class UIHome_BY_SafeBoxPanel : SubUIBase
|
|
{
|
|
|
|
public enum SafeBoxPenel {
|
|
手机绑定=1,
|
|
手机换绑=2,
|
|
存取=3,
|
|
记录=4,
|
|
修复密码=5
|
|
}
|
|
//存储面板
|
|
[Header("面板")]
|
|
public Button btn_Close_Switch; //safeboxpanel 1 2 3 4关闭 5返回保险主页面 这里待定先用简单的直接关
|
|
public Dictionary<SafeBoxPenel,GameObject> dic_SafeBoxPanel=new Dictionary<SafeBoxPenel, GameObject> ();
|
|
public SafeBoxPenel currPaenl;
|
|
public GameObject phoneParent;
|
|
public GameObject bxxParent;
|
|
public GameObject selectParent;
|
|
public GameObject safeBoxPanel_Type1;
|
|
public GameObject safeBoxPanel_Type2;
|
|
public GameObject safeBoxPanel_Type3;
|
|
public GameObject safeBoxPanel_Type4;
|
|
public GameObject safeBoxPanel_Type5;
|
|
[Header("绑定手机")]
|
|
public Button btn_YZM;
|
|
public Button btn_EnterYZM;
|
|
public TMP_InputField input_PhoneNum;
|
|
public TMP_InputField input_YZM;
|
|
[Header("绑定手机_设置密码")]
|
|
public Button btn_EnterPassword;
|
|
public TMP_InputField input_Password;
|
|
public TMP_InputField input_PasswordRes;
|
|
[Header("键盘")]
|
|
public Button btn_KeyBoard_0;
|
|
public Button btn_KeyBoard_1;
|
|
public Button btn_KeyBoard_2;
|
|
public Button btn_KeyBoard_3;
|
|
public Button btn_KeyBoard_4;
|
|
public Button btn_KeyBoard_5;
|
|
public Button btn_KeyBoard_6;
|
|
public Button btn_KeyBoard_7;
|
|
public Button btn_KeyBoard_8;
|
|
public Button btn_KeyBoard_9;
|
|
public Button btn_KeyBoard_Retype;
|
|
public Button btn_KeyBoard_Enter;
|
|
[Header("保险箱主页面")]
|
|
public Toggle toggle_Save;
|
|
public Toggle toggle_Take;
|
|
public Toggle toggle_Record;
|
|
|
|
public Button btn_forgetPassword;
|
|
public TextMeshProUGUI txt_CurrCoins;
|
|
public TextMeshProUGUI txt_SaveCoins;
|
|
public TextMeshProUGUI txt_OpenatrCoins;
|
|
public TMP_InputField input_SecondLevelPassword;
|
|
public Button btn_SecondLevelPasswordForget;
|
|
[Header("记录")]
|
|
public Transform tra_Content;
|
|
public GameObject obj_LinePrefab;//这里没有写脚本 child 0时间1类型2数量
|
|
[Header("修复密码")]
|
|
public Button btn_XFMMYZM;
|
|
public TMP_InputField input_XFMMYZM;
|
|
public TMP_InputField input_XFMMNewPassword;
|
|
public TMP_InputField input_XFMMNewRetypePassword;
|
|
/// <summary>
|
|
/// 这里判断是否已经绑定手机号
|
|
/// </summary>
|
|
protected override void OnInit()
|
|
{
|
|
base.OnInit();
|
|
}
|
|
public override void Awake()
|
|
{
|
|
btn_Close_Switch.onClick.AddListener(() =>
|
|
{
|
|
uIManager.Hide(UIPanel.SafeBoxPanel);
|
|
});
|
|
|
|
}
|
|
}
|