public void Show(MSG_GP_USER_GetUserInfoBack userbaseInfo, IUInfoModel uinfoModel) { gameObject.SetActive(true); BankNameLabel.text = userbaseInfo.GetBackName(); //您的银行 BankCodeLabel.text = userbaseInfo.GetBackAccount(); //您的卡号 BankAccountLabel.text = userbaseInfo.GetTrueName(); //您的姓名 double d = uinfoModel.GetMoney() * 1.0 / 100; YuELabel.text = String.Format("¥{0:0.00}", d); //账户余额 }
public void Show(IUInfoModel uinfoModel, MSG_GP_USER_GetUserInfoBack userbaseInfo) { gameObject.SetActive(true); TiKuanZhangHaoLabel.text = uinfoModel.GetUserName(); //提款账号 UIDLabel.text = uinfoModel.GetUserID().ToString(); //账号ID KaiHuHangList.value = ""; KaiHuHangList.Clear(); foreach (var backName in userbaseInfo.GetChQkBackInfos()) { if (!string.IsNullOrEmpty(backName.Trim())) { if (string.IsNullOrEmpty(KaiHuHangList.value)) { KaiHuHangList.value = backName; } KaiHuHangList.AddItem(backName); } } if (userbaseInfo.isLockBank == 1) //锁定处理 { KaiHuMingLabel.enabled = false; KaiHuMingLabel.value = userbaseInfo.GetTrueName(); //开户名 KaiHuDiZhiLabel.enabled = false; KaiHuDiZhiLabel.value = userbaseInfo.GetBackAddress(); //开户地址 KaiHuHangList.enabled = false; KaiHuHangList.value = userbaseInfo.GetBackName(); //开户行 BankCodeLabel.enabled = false; BankCodeLabel.value = userbaseInfo.GetBackAccount(); //银行卡号 QuKuanPWDLabel.enabled = false; QuKuanPWDLabel.value = "********"; //取款密码 } }