Commit d1bc7306 authored by LiLiuZhou's avatar LiLiuZhou

11

parent 9c60d905
......@@ -5,6 +5,7 @@ using UnityEngine.UI;
public class TiXianCell : BasePanel
{
private HomeTitleInfo info;
public void Init(HomeTitleInfo info)
{
GetControl<Text>("txtMoney").text = info.yuan.ToString();
......@@ -20,7 +21,14 @@ public class TiXianCell : BasePanel
GetControl<Button>("btnIng").gameObject.SetActive(false);
break;
case 2:
GetControl<Button>("btnGo").onClick.AddListener(() => { });
GetControl<Button>("btnGo").onClick.AddListener(() =>
{
Debug.LogError(info.id);
DialogControl.Instance.NetWorkRequest<object>(false, "app/v2/cscmnq/do_wd", new Dictionary<string, object>() { { "wdId",(int)info.id } },(obj)=>
{
});
});
GetControl<Button>("btnIng").gameObject.SetActive(false);
GetControl<Button>("btnHad").gameObject.SetActive(false);
......
......@@ -27,5 +27,5 @@ public class CashOutInfo
public class LeeAllModel : MonoBehaviour
{
// 冲冲冲 奥利给
}
......@@ -541,12 +541,8 @@ public class DialogControl : MonoBehaviour
EventUtils.OnEvent("addDiamond_click", "点击钻石加号");
HttpTool.Instance._Get("app/v2/cscmnq/diamond_by_video_status", null, new Action<DiamondStatusBean>((bean) =>
{
DiamondplayNum = bean.playNum;
<<<<<<< HEAD
=======
DiamondRewardNum = bean.rewardDiamondNum;
>>>>>>> 93ff45fb604960c0d9e04b58f0749838d58dde01
if (DiamondplayNum > 0)
{
rdp.Show(bean.rewardDiamondNum);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment