void FillContent() { ShouKuanRenLabel.text = selectedInfo.TrueName; ShouKuanZhangHuLabel.text = selectedInfo.BankAccount; //KaiHuYinHangLabel.text = selectedInfo.BankName; KaiHuYinHangLabel.text = selectedInfo.BankName.Substring(selectedInfo.BankName.IndexOf(".") + 1); UIDLabel.text = uinfoModel.GetUserID().ToString();//用户ID if (selectedInfo.iShowBankType >= 19 && selectedInfo.iShowBankType <= 25) { //隐藏下面 for (int i = 0; i < hide.Length; ++i) { hide[i].SetActive(false); } } else { for (int i = 0; i < hide.Length; ++i) { hide[i].SetActive(true); } } StartCoroutine(process()); }
public void Show(IUInfoModel uinfoModel, MSG_GP_USER_GetUserInfoBack userbaseInfo) { gameObject.SetActive(true); UserNameLabel.text = uinfoModel.GetUserName(); //用户账号 UIDLabel.text = uinfoModel.GetUserID().ToString(); //用户ID QQLabel.text = userbaseInfo.GetQQNum(); //用户QQ UpperQQLabel.text = userbaseInfo.GetAgencyQQNum(); //上线QQ double d = uinfoModel.GetMoney() * 1.0 / 100; CaiPiaoYuELabel.text = String.Format("¥{0:0.00}", d); //彩票余额 d = uinfoModel.GetGold() * 1.0 / 100; QiPaiYuELabel.text = String.Format("¥{0:0.00}", d); //棋牌余额 CaiPiaoFanDianLabel.text = String.Format("{0:0.00}%", uinfoModel.GetCpFd()); //彩票返点 d = uinfoModel.GetQpFd() * 3 * 1.0 / 100; QiPaiFanDianLabel.text = String.Format("{0:0.00}%", d); //棋牌返点 lastLoginIpLabel.text = uinfoModel.GetLastLoginIp(); //上次登录ips lastLoginTimeLabel.text = uinfoModel.GetLastLoginTime(); //上次登录时间 currLoginIpLabel.text = uinfoModel.GetCurrLoginIp(); //本次登录ip currLoginTimeLabel.text = uinfoModel.GetCurrLoginTime(); //本次登录时间 }
public void Show(IUInfoModel uinfoModel) { gameObject.SetActive(true); ZhangHaoLabel.text = uinfoModel.GetUserName(); //账号 UIDLabel.text = uinfoModel.GetUserID().ToString(); //ID }
public void FillContent(IUInfoModel uinfoModel) { panelScript.UnameLabel.text = uinfoModel.GetUserName(); panelScript.IdLabel.text = uinfoModel.GetUserID().ToString(); double d = uinfoModel.GetMoney() * 1.0 / 100; panelScript.MoneyLabel.text = String.Format("¥{0:0.00}", d);//彩票余额 d = uinfoModel.GetGold() * 1.0 / 100; panelScript.GoldLabel.text = String.Format("¥{0:0.00}", d);//棋牌余额 panelScript.uinfoModel = uinfoModel; }
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 = "********"; //取款密码 } }