Ver código fonte

关闭手机入口

lvjincheng 3 anos atrás
pai
commit
08b70b18db

+ 0 - 1
Assets/HeartRateBand/Views/HRB_UserInfo.cs

@@ -10,7 +10,6 @@ public class HRB_UserInfo
     public int avatarID = 0;
     public string nickname = "Player";
     public int gender = 1;
-    public string phone = "";
     public string birthday = "";
     public string country = "";
     public string state = "";

+ 0 - 7
Assets/HeartRateBand/Views/Me/HRB_MeView.cs

@@ -105,9 +105,6 @@ public class HRB_MeView : JCUnityLib.ViewBase, MenuBackInterface
             if (i == 1) {
                 inputField.text = HRB_UserInfo.current.nickname;
             }
-            else if (i == 2) {
-                inputField.text = HRB_UserInfo.current.phone;
-            }
             else if (i == 4) {
                 inputField.text = HRB_UserInfo.current.birthday;
             }
@@ -231,7 +228,6 @@ public class HRB_MeView : JCUnityLib.ViewBase, MenuBackInterface
         #region UserInfo关联属性
         public string nickname;
         public int gender;
-        public string phone;
         public string birthday;
         public string country;
         public string state;
@@ -253,7 +249,6 @@ public class HRB_MeView : JCUnityLib.ViewBase, MenuBackInterface
             }
             //缓存读取到的值
             this.nickname = texts[1];
-            this.phone = texts[2];
             this.gender = int.Parse(texts[3]);
             this.birthday = texts[4];
             this.country = m_context.countryCode;
@@ -267,7 +262,6 @@ public class HRB_MeView : JCUnityLib.ViewBase, MenuBackInterface
                 if (interceptor.Invoke()) return false;
             }
             HRB_UserInfo.current.nickname = this.nickname;
-            HRB_UserInfo.current.phone = this.phone;
             HRB_UserInfo.current.gender = this.gender;
             HRB_UserInfo.current.birthday = this.birthday;
             HRB_UserInfo.current.country = this.country;
@@ -279,7 +273,6 @@ public class HRB_MeView : JCUnityLib.ViewBase, MenuBackInterface
         private bool IsEqualOrigin() {
             return 
                 HRB_UserInfo.current.nickname == this.nickname &&
-                HRB_UserInfo.current.phone == this.phone &&
                 HRB_UserInfo.current.gender == this.gender &&
                 HRB_UserInfo.current.birthday == this.birthday &&
                 HRB_UserInfo.current.country == this.country &&

+ 4 - 4
Assets/HeartRateBand/Views/Me/HRB_MeView.prefab

@@ -1784,7 +1784,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 1
+  m_IsActive: 0
 --- !u!224 &5848810119027199739
 RectTransform:
   m_ObjectHideFlags: 0
@@ -1801,9 +1801,9 @@ RectTransform:
   m_Father: {fileID: 5848810119912744372}
   m_RootOrder: 2
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 0}
-  m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 0, y: 0}
+  m_AnchorMin: {x: 0, y: 1}
+  m_AnchorMax: {x: 0, y: 1}
+  m_AnchoredPosition: {x: 266, y: -202.5}
   m_SizeDelta: {x: 532, y: 69}
   m_Pivot: {x: 0.5, y: 0.5}
 --- !u!222 &5848810119027199743