Пример #1
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();   //本次登录时间
    }
Пример #2
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();  //昵称
 }
Пример #3
0
    public void refresh(IUInfoModel umodel)
    {
        double d = umodel.GetMoney() * 1.0 / 100;

        CaiPiaoYuELabel.text = String.Format("¥{0:0.00}", d);        //彩票余额
        d = umodel.GetGold() * 1.0 / 100;
        YouXiYuELable.text = String.Format("¥{0:0.00}", d);
    }
Пример #4
0
    public void Show(IUInfoModel uinfoModel)
    {
        gameObject.SetActive(true);

        ZhangHaoLabel.text = uinfoModel.GetUserName();        //账号

        UIDLabel.text = uinfoModel.GetUserID().ToString();    //ID
    }
Пример #5
0
    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);         //账户余额
    }
Пример #6
0
    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;
    }
Пример #7
0
    public void show(IUInfoModel umodel, int type)
    {
        gameObject.SetActive(true);

        double d = umodel.GetMoney() * 1.0 / 100;

        CaiPiaoYuELabel.text = String.Format("¥{0:0.00}", d);        //彩票余额

        d = umodel.GetGold() * 1.0 / 100;
        YouXiYuELable.text = String.Format("¥{0:0.00}", d);

        if (type == 1)
        {
            DuiHuanLeiXing.value = "兑换棋牌金额";
        }
        else
        {
            DuiHuanLeiXing.value = "兑换彩票金额";
        }
    }
Пример #8
0
    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   = "********";          //取款密码
        }
    }
Пример #9
0
    public void show(List <GetBankInfo> infos, IUInfoModel uinfoModel)
    {
        gameObject.SetActive(true);
        this.uinfoModel = uinfoModel;
        _Myinfos.Clear();
        ZhiFuFangShiList.Clear();
        ZhiFuFangShiList.value = "";

        for (int i = 0; i < infos.Count; ++i)
        {
            infos[i].BankName = (i + 1).ToString() + "." + infos[i].BankName;

            _Myinfos.Add(infos[i]);

            ZhiFuFangShiList.AddItem(infos[i].BankName);
            if (i == 0 && string.IsNullOrEmpty(ZhiFuFangShiList.value))
            {
                ZhiFuFangShiList.value = infos[i].BankName;
                selectedInfo           = infos[i];
                FillContent();
            }
        }
    }
Пример #10
0
 public void TransferRefresh(IUInfoModel umodel)
 {
     panelScript.transferPanel.refresh(umodel);
 }