Пример #1
0
 public void Show(IUInfoModel uinfoModel, MSG_GP_USER_GetUserInfoBack userbaseInfo)
 {
     gameObject.SetActive(true);
     TouZhuTotalLabel.text = uinfoModel.GetUserName();  //账号
     YuanQQLabel.text      = userbaseInfo.GetQQNum();   //原QQ号码
     NewQQInput.value      = userbaseInfo.GetQQNum();   //新QQ号码
     NiChengInput.value    = uinfoModel.GetNickName();  //昵称
 }
Пример #2
0
    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();   //本次登录时间
    }