guodong 1 жил өмнө
parent
commit
ecff05eaa9
23 өөрчлөгдсөн 862 нэмэгдсэн , 2 устгасан
  1. 8 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount.meta
  2. 71 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_Button19.cs
  3. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_Button19.cs.meta
  4. 71 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_ComTextCondition.cs
  5. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_ComTextCondition.cs.meta
  6. 71 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_ComTextProtocal.cs
  7. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_ComTextProtocal.cs.meta
  8. 144 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_DeleteAccountUI.cs
  9. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_DeleteAccountUI.cs.meta
  10. 6 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/RoleInfo/UI_SettingUI.cs
  11. 8 0
      GameClient/Assets/Game/HotUpdate/Views/DeleteAccount.meta
  12. 166 0
      GameClient/Assets/Game/HotUpdate/Views/DeleteAccount/DeleteAccountView.cs
  13. 11 0
      GameClient/Assets/Game/HotUpdate/Views/DeleteAccount/DeleteAccountView.cs.meta
  14. 7 2
      GameClient/Assets/Game/HotUpdate/Views/RoleInfo/SettingView.cs
  15. BIN
      GameClient/Assets/ResIn/UI/Common/Common_fui.bytes
  16. 8 0
      GameClient/Assets/ResIn/UI/DeleteAccount.meta
  17. BIN
      GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_atlas0!a.png
  18. 120 0
      GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_atlas0!a.png.meta
  19. BIN
      GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_atlas0.png
  20. 120 0
      GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_atlas0.png.meta
  21. BIN
      GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_fui.bytes
  22. 7 0
      GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_fui.bytes.meta
  23. BIN
      GameClient/Assets/ResIn/UI/RoleInfo/RoleInfo_fui.bytes

+ 8 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: f06a1ebc5f296894ab3c5ec820f16341
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_Button19.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.DeleteAccount
+{
+    public partial class UI_Button19
+    {
+        public GButton target;
+        public Controller m_ColorType;
+        public const string URL = "ui://foz986b69xh85";
+        public const string PACKAGE_NAME = "DeleteAccount";
+        public const string RES_NAME = "Button19";
+        private static UI_Button19 _proxy;
+
+        public static UI_Button19 Create(GObject gObject = null)
+        {
+            var ui = new UI_Button19();
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_Button19 Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_Button19();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GButton)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_ColorType = comp.GetController("ColorType");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_ColorType = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_Button19.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 53a89f1332382bc4583d5dd60e94518c
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_ComTextCondition.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.DeleteAccount
+{
+    public partial class UI_ComTextCondition
+    {
+        public GComponent target;
+        public GRichTextField m_txtContent;
+        public const string URL = "ui://foz986b69xh81";
+        public const string PACKAGE_NAME = "DeleteAccount";
+        public const string RES_NAME = "ComTextCondition";
+        private static UI_ComTextCondition _proxy;
+
+        public static UI_ComTextCondition Create(GObject gObject = null)
+        {
+            var ui = new UI_ComTextCondition();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_ComTextCondition Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_ComTextCondition();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_txtContent = (GRichTextField)comp.GetChild("txtContent");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_txtContent = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_ComTextCondition.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: cacb5157689ee2b449e7698cb7758ba1
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_ComTextProtocal.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.DeleteAccount
+{
+    public partial class UI_ComTextProtocal
+    {
+        public GComponent target;
+        public GRichTextField m_txtContent;
+        public const string URL = "ui://foz986b69xh8b";
+        public const string PACKAGE_NAME = "DeleteAccount";
+        public const string RES_NAME = "ComTextProtocal";
+        private static UI_ComTextProtocal _proxy;
+
+        public static UI_ComTextProtocal Create(GObject gObject = null)
+        {
+            var ui = new UI_ComTextProtocal();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_ComTextProtocal Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_ComTextProtocal();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_txtContent = (GRichTextField)comp.GetChild("txtContent");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_txtContent = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_ComTextProtocal.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4bdfdc5b3208d994d885a541ff3de3f1
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 144 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_DeleteAccountUI.cs

@@ -0,0 +1,144 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.DeleteAccount
+{
+    public partial class UI_DeleteAccountUI
+    {
+        public GComponent target;
+        public Controller m_c1;
+        public GComponent m_bg;
+        public GButton m_btnBack;
+        public UI_ComTextCondition m_txtComp;
+        public GButton m_btnAgree;
+        public GTextField m_txtAgree;
+        public UI_Button19 m_btnNext;
+        public GGroup m_groupAgree1;
+        public UI_Button19 m_btnSure;
+        public UI_Button19 m_btnCancel;
+        public GTextInput m_inputIDNumber;
+        public GTextInput m_inputName;
+        public GTextField m_txtRoleName;
+        public GTextField m_txtAccount;
+        public GTextField m_txtLvl;
+        public GGroup m_groupSure;
+        public UI_Button19 m_btnQuit;
+        public GGroup m_groupResult;
+        public UI_ComTextProtocal m_txtComp_2;
+        public GButton m_btnAgree2;
+        public GTextField m_txtAgree2;
+        public UI_Button19 m_btnNext2;
+        public GGroup m_groupAgree2;
+        public const string URL = "ui://foz986b69xh80";
+        public const string PACKAGE_NAME = "DeleteAccount";
+        public const string RES_NAME = "DeleteAccountUI";
+        private static UI_DeleteAccountUI _proxy;
+
+        public static UI_DeleteAccountUI Create(GObject gObject = null)
+        {
+            var ui = new UI_DeleteAccountUI();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_DeleteAccountUI Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_DeleteAccountUI();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_c1 = comp.GetController("c1");
+            m_bg = (GComponent)comp.GetChild("bg");
+            m_btnBack = (GButton)comp.GetChild("btnBack");
+            m_txtComp = (UI_ComTextCondition)UI_ComTextCondition.Create(comp.GetChild("txtComp"));
+            m_btnAgree = (GButton)comp.GetChild("btnAgree");
+            m_txtAgree = (GTextField)comp.GetChild("txtAgree");
+            m_btnNext = (UI_Button19)UI_Button19.Create(comp.GetChild("btnNext"));
+            m_groupAgree1 = (GGroup)comp.GetChild("groupAgree1");
+            m_btnSure = (UI_Button19)UI_Button19.Create(comp.GetChild("btnSure"));
+            m_btnCancel = (UI_Button19)UI_Button19.Create(comp.GetChild("btnCancel"));
+            m_inputIDNumber = (GTextInput)comp.GetChild("inputIDNumber");
+            m_inputName = (GTextInput)comp.GetChild("inputName");
+            m_txtRoleName = (GTextField)comp.GetChild("txtRoleName");
+            m_txtAccount = (GTextField)comp.GetChild("txtAccount");
+            m_txtLvl = (GTextField)comp.GetChild("txtLvl");
+            m_groupSure = (GGroup)comp.GetChild("groupSure");
+            m_btnQuit = (UI_Button19)UI_Button19.Create(comp.GetChild("btnQuit"));
+            m_groupResult = (GGroup)comp.GetChild("groupResult");
+            m_txtComp_2 = (UI_ComTextProtocal)UI_ComTextProtocal.Create(comp.GetChild("txtComp"));
+            m_btnAgree2 = (GButton)comp.GetChild("btnAgree2");
+            m_txtAgree2 = (GTextField)comp.GetChild("txtAgree2");
+            m_btnNext2 = (UI_Button19)UI_Button19.Create(comp.GetChild("btnNext2"));
+            m_groupAgree2 = (GGroup)comp.GetChild("groupAgree2");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_c1 = null;
+            m_bg = null;
+            m_btnBack = null;
+            m_txtComp.Dispose();
+            m_txtComp = null;
+            m_btnAgree = null;
+            m_txtAgree = null;
+            m_btnNext.Dispose();
+            m_btnNext = null;
+            m_groupAgree1 = null;
+            m_btnSure.Dispose();
+            m_btnSure = null;
+            m_btnCancel.Dispose();
+            m_btnCancel = null;
+            m_inputIDNumber = null;
+            m_inputName = null;
+            m_txtRoleName = null;
+            m_txtAccount = null;
+            m_txtLvl = null;
+            m_groupSure = null;
+            m_btnQuit.Dispose();
+            m_btnQuit = null;
+            m_groupResult = null;
+            m_txtComp_2.Dispose();
+            m_txtComp_2 = null;
+            m_btnAgree2 = null;
+            m_txtAgree2 = null;
+            m_btnNext2.Dispose();
+            m_btnNext2 = null;
+            m_groupAgree2 = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DeleteAccount/UI_DeleteAccountUI.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: c0b3a56895437a14a82d2111b8af3b08
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 6 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/RoleInfo/UI_SettingUI.cs

@@ -22,6 +22,8 @@ namespace UI.RoleInfo
         public GRichTextField m_gameProtectAgree;
         public GRichTextField m_privacyAgree;
         public GRichTextField m_childrenAgree;
+        public GRichTextField m_txtDeleteAccount;
+        public GGroup m_groupAccount;
         public UI_Button19 m_btnLogout;
         public UI_Button20 m_btnGiftCode;
         public GButton m_btnExchange;
@@ -88,6 +90,8 @@ namespace UI.RoleInfo
             m_gameProtectAgree = (GRichTextField)comp.GetChild("gameProtectAgree");
             m_privacyAgree = (GRichTextField)comp.GetChild("privacyAgree");
             m_childrenAgree = (GRichTextField)comp.GetChild("childrenAgree");
+            m_txtDeleteAccount = (GRichTextField)comp.GetChild("txtDeleteAccount");
+            m_groupAccount = (GGroup)comp.GetChild("groupAccount");
             m_btnLogout = (UI_Button19)UI_Button19.Create(comp.GetChild("btnLogout"));
             m_btnGiftCode = (UI_Button20)UI_Button20.Create(comp.GetChild("btnGiftCode"));
             m_btnExchange = (GButton)comp.GetChild("btnExchange");
@@ -113,6 +117,8 @@ namespace UI.RoleInfo
             m_gameProtectAgree = null;
             m_privacyAgree = null;
             m_childrenAgree = null;
+            m_txtDeleteAccount = null;
+            m_groupAccount = null;
             m_btnLogout.Dispose();
             m_btnLogout = null;
             m_btnGiftCode.Dispose();

+ 8 - 0
GameClient/Assets/Game/HotUpdate/Views/DeleteAccount.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 2ed5a75b8cafccc42b457fc97c3253e1
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 166 - 0
GameClient/Assets/Game/HotUpdate/Views/DeleteAccount/DeleteAccountView.cs

@@ -0,0 +1,166 @@
+using FairyGUI;
+using ET;
+using UI.DeleteAccount;
+using UnityEngine;
+
+namespace GFGGame
+{
+    public class DeleteAccountView : BaseWindow
+    {
+        private UI_DeleteAccountUI _ui;
+
+        private const int IndexText1 = 0;
+        private const int IndexText2 = 1;
+        private const int IndexInfo = 2;
+        private const int IndexResult = 3;
+
+
+        public override void Dispose()
+        {
+            base.Dispose();
+        }
+
+        protected override void OnInit()
+        {
+            base.OnInit();
+            packageName = UI_DeleteAccountUI.PACKAGE_NAME;
+            _ui = UI_DeleteAccountUI.Create();
+            this.viewCom = _ui.target;
+            isfullScreen = true;
+            isReturnView = true;
+            _ui.m_c1.onChanged.Add(OnPageChanged);
+            _ui.m_btnBack.onClick.Add(OnClickBtnBack);
+            _ui.m_btnNext.target.onClick.Add(OnClickBtnNext);
+            _ui.m_btnNext2.target.onClick.Add(OnClickBtnNext2);
+            _ui.m_btnSure.target.onClick.Add(OnClickBtnSure);
+            _ui.m_btnCancel.target.onClick.Add(OnClickBtnCancel);
+            _ui.m_btnQuit.target.onClick.Add(OnClickBtnQuit);
+        }
+
+        protected override void OnShown()
+        {
+            base.OnShown();
+            _ui.m_c1.selectedIndex = IndexText1;
+           
+        }
+
+        protected override void OnHide()
+        {
+            base.OnHide();
+            _ui.m_btnAgree.selected = false;
+            _ui.m_btnAgree2.selected = false;
+            _ui.m_inputIDNumber.text = "";
+            _ui.m_inputName.text = "";
+        }
+
+        private void OnPageChanged()
+        {
+            switch(_ui.m_c1.selectedIndex)
+            {
+                case 0:
+                    UpdatePageText1();
+                    break;
+                case 1:
+                    UpdatePageText2();
+                    break;
+                case 2:
+                    UpdatePageInfo();
+                    break;
+                case 3:
+                    UpdatePageResult();
+                    break;
+            }
+        }
+
+        private void UpdatePageText1()
+        {
+            
+        }
+
+        private void UpdatePageText2()
+        {
+
+        }
+
+        private void UpdatePageInfo()
+        {
+            AccountInfoComponent accountInfoComponent = GameGlobal.zoneScene.GetComponent<AccountInfoComponent>();
+            _ui.m_txtAccount.text = accountInfoComponent.Account;
+            _ui.m_txtRoleName.text = RoleDataManager.roleName;
+            _ui.m_txtLvl.text = RoleDataManager.lvl +"";
+        }
+
+        private void UpdatePageResult()
+        {
+
+        }
+
+        private void OnClickBtnBack(EventContext context)
+        {
+            if (_ui.m_c1.selectedIndex == IndexText1)
+            {
+                this.Hide();
+            }
+            else if (_ui.m_c1.selectedIndex == IndexText2)
+            {
+                _ui.m_c1.selectedIndex = IndexText1;
+            }
+            else if (_ui.m_c1.selectedIndex == IndexInfo)
+            {
+                _ui.m_c1.selectedIndex = IndexText2;
+            }
+            else if (_ui.m_c1.selectedIndex == IndexResult)
+            {
+                _ui.m_c1.selectedIndex = IndexInfo;
+            }
+        }
+
+        private void OnClickBtnCancel(EventContext context)
+        {
+            this.Hide();
+        }
+
+        private void OnClickBtnQuit(EventContext context)
+        {
+            Application.Quit();
+        }
+
+        private void OnClickBtnSure(EventContext context)
+        {
+            string realName = _ui.m_inputName.text;
+            string idNumberStr = _ui.m_inputIDNumber.text;
+            if (realName.Length <= 0)
+            {
+                PromptController.Instance.ShowFloatTextPrompt("请输入真实姓名");
+                return;
+            }
+            if (idNumberStr.Length <= 0)
+            {
+                PromptController.Instance.ShowFloatTextPrompt("请输入身份证号");
+                return;
+            }
+            _ui.m_c1.selectedIndex = IndexResult;
+        }
+
+        private void OnClickBtnNext2(EventContext context)
+        {
+            if(!_ui.m_btnAgree2.selected)
+            {
+                PromptController.Instance.ShowFloatTextPrompt("请先认真阅读删除账号协议并勾选同意。");
+                return;
+            }
+            _ui.m_c1.selectedIndex = IndexInfo;
+        }
+
+        private void OnClickBtnNext(EventContext context)
+        {
+            if (!_ui.m_btnAgree.selected)
+            {
+                PromptController.Instance.ShowFloatTextPrompt("请先认真阅读删除账号条件并勾选同意。");
+                return;
+            }
+            _ui.m_c1.selectedIndex = IndexText2;
+        }
+
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/Views/DeleteAccount/DeleteAccountView.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4480c145dc552894abf8c343beca9922
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 7 - 2
GameClient/Assets/Game/HotUpdate/Views/RoleInfo/SettingView.cs

@@ -1,6 +1,4 @@
 using UI.RoleInfo;
-using System.Text.RegularExpressions;
-using UnityEngine;
 using FairyGUI;
 
 namespace GFGGame
@@ -62,6 +60,9 @@ namespace GFGGame
             _ui.m_gameProtectAgree.onClick.Add(OnGameProtectAgreeClick);
             _ui.m_privacyAgree.onClick.Add(OnPrivacyAgreeClick);
             _ui.m_childrenAgree.onClick.Add(OnChildrenAgreeClick);
+            _ui.m_txtDeleteAccount.onClick.Add(OnClickTxtDeleteAccount);
+
+            _ui.m_groupAccount.visible = false;
         }
 
         protected override void OnShown()
@@ -229,6 +230,10 @@ namespace GFGGame
             FullScreenTextController.Show("event:c");
         }
 
+        private void OnClickTxtDeleteAccount()
+        {
+            ViewManager.Show<DeleteAccountView>();
+        }
 
     }
 }

BIN
GameClient/Assets/ResIn/UI/Common/Common_fui.bytes


+ 8 - 0
GameClient/Assets/ResIn/UI/DeleteAccount.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 8abd22d50ac799342a8fbdc2884d834c
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_atlas0!a.png


+ 120 - 0
GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_atlas0!a.png.meta

@@ -0,0 +1,120 @@
+fileFormatVersion: 2
+guid: e61cde18ec7a1b545a70f56132a34694
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 11
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 0
+    sRGBTexture: 1
+    linearTexture: 0
+    fadeOut: 0
+    borderMipMap: 0
+    mipMapsPreserveCoverage: 0
+    alphaTestReferenceValue: 0.5
+    mipMapFadeDistanceStart: 1
+    mipMapFadeDistanceEnd: 3
+  bumpmap:
+    convertToNormalMap: 0
+    externalNormalMap: 0
+    heightScale: 0.25
+    normalMapFilter: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 1
+    wrapV: 1
+    wrapW: 1
+  nPOTScale: 0
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 1
+  spriteExtrude: 1
+  spriteMeshType: 1
+  alignment: 0
+  spritePivot: {x: 0.5, y: 0.5}
+  spritePixelsToUnits: 100
+  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+  spriteGenerateFallbackPhysicsShape: 1
+  alphaUsage: 1
+  alphaIsTransparency: 1
+  spriteTessellationDetail: -1
+  textureType: 8
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: iPhone
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: 50
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 1
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: Android
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: 50
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 1
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 5e97eb03825dee720800000000000000
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+  spritePackingTag: 
+  pSDRemoveMatte: 0
+  pSDShowRemoveMatteOption: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_atlas0.png


+ 120 - 0
GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_atlas0.png.meta

@@ -0,0 +1,120 @@
+fileFormatVersion: 2
+guid: dfaa9dfca1bdd0746bc8e5849c249ecd
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 11
+  mipmaps:
+    mipMapMode: 0
+    enableMipMap: 0
+    sRGBTexture: 1
+    linearTexture: 0
+    fadeOut: 0
+    borderMipMap: 0
+    mipMapsPreserveCoverage: 0
+    alphaTestReferenceValue: 0.5
+    mipMapFadeDistanceStart: 1
+    mipMapFadeDistanceEnd: 3
+  bumpmap:
+    convertToNormalMap: 0
+    externalNormalMap: 0
+    heightScale: 0.25
+    normalMapFilter: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 1
+    aniso: 1
+    mipBias: 0
+    wrapU: 1
+    wrapV: 1
+    wrapW: 1
+  nPOTScale: 0
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 1
+  spriteExtrude: 1
+  spriteMeshType: 1
+  alignment: 0
+  spritePivot: {x: 0.5, y: 0.5}
+  spritePixelsToUnits: 100
+  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+  spriteGenerateFallbackPhysicsShape: 1
+  alphaUsage: 1
+  alphaIsTransparency: 1
+  spriteTessellationDetail: -1
+  textureType: 8
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  platformSettings:
+  - serializedVersion: 3
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: iPhone
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: 50
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 1
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 3
+    buildTarget: Android
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: 50
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 1
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    physicsShape: []
+    bones: []
+    spriteID: 5e97eb03825dee720800000000000000
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+  spritePackingTag: 
+  pSDRemoveMatte: 0
+  pSDShowRemoveMatteOption: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_fui.bytes


+ 7 - 0
GameClient/Assets/ResIn/UI/DeleteAccount/DeleteAccount_fui.bytes.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 94c23877e510f8945a790047ac5fdd26
+TextScriptImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
GameClient/Assets/ResIn/UI/RoleInfo/RoleInfo_fui.bytes