意见反馈 修改细节
This commit is contained in:
1 parent
1c712ff7d5
commit
dd08f916eb
41 files changed
+7043
-1134
No files matched your search
@@ -39,6 +39,8 @@ public class EditUserController : PFUIPanel
|
||||
private Button mBackButton;
|
||||
private Button mSwitchButton;
|
||||
PfUIButton mChangeAvatar;
|
||||
Transform linkContainer;
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
Debug.Log(Utils.GetIP(Utils.ADDRESSFAM.IPv4));
|
||||
@@ -101,7 +103,7 @@ public class EditUserController : PFUIPanel
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
linkContainer = transform.Find("LinkContainer");
|
||||
|
||||
mSexDropdown.ClearOptions();
|
||||
mSexDropdown.AddOptions(new List<string>
|
||||
@@ -147,7 +149,8 @@ public class EditUserController : PFUIPanel
|
||||
// new Dropdown.OptionData()
|
||||
//});
|
||||
|
||||
LoadDataSync();
|
||||
LoadDataSync();
|
||||
|
||||
}
|
||||
async Task Login()
|
||||
{
|
||||
@@ -199,6 +202,11 @@ public class EditUserController : PFUIPanel
|
||||
mName.Text = currentUser.Contact;
|
||||
mPhone.Text = currentUser.ContactPhone;
|
||||
mAddr.Text = currentUser.ContactAddress;
|
||||
//string.IsNullOrEmpty(currentUser.Unionid)
|
||||
linkContainer.Find("Wx").GetComponent<Image>().sprite =
|
||||
string.IsNullOrEmpty(currentUser.Unionid)
|
||||
? Resources.Load<Sprite>("Images/Wechat_person_0")
|
||||
: Resources.Load<Sprite>("Images/Wechat_person_1");
|
||||
}
|
||||
// Start is called before the first frame update
|
||||
protected override void Start()
|
||||
@@ -313,6 +321,6 @@ public class EditUserController : PFUIPanel
|
||||
}
|
||||
void Cancel(BaseEventData e)
|
||||
{
|
||||
UIManager.ShowHomePanel();
|
||||
UIManager.ShowUserInfoPanel();
|
||||
}
|
||||
}
|
||||
@@ -262,10 +262,10 @@ public class MapListController : PFUIPanel
|
||||
string sort = "Hot",sortDire = "desc";
|
||||
//string name = "";
|
||||
//string name = "";
|
||||
public void GetList()
|
||||
async void GetList()
|
||||
{
|
||||
if (isEnd) return;
|
||||
var res = ConfigHelper.mapApi.GetList(pageIndex, pageSize, ftname,distance,string.Join(",",hands),is3d,sort,sortDire,isFav);
|
||||
var res = await ConfigHelper.mapApi.GetList(pageIndex, pageSize, ftname,distance,string.Join(",",hands),is3d,sort,sortDire,isFav);
|
||||
if (res.result)
|
||||
{
|
||||
if (res.data.Count == 0 && pageIndex != 0)
|
||||
|
||||
Reference in new issue
Block a user