public override void onShowed()
 {
     instance = this;
     RefreshHint();
     tab.setSelectedIndex(0);
     Refresh_huoyue_infos();
     Resresh_reward();
     a3_activeOnlineProxy.getInstance().addEventListener(a3_activeOnlineProxy.ACTIVELOTTERY, RefreshLottery);
     a3_activeOnlineProxy.getInstance().addEventListener(a3_activeOnlineProxy.ACTIVELOTTERYOVER, lotteryoner);
     UiEventCenter.getInstance().onWinOpen(uiName);
 }
        public override void init()
        {
            _instance       = this;
            scrollControer0 = new ScrollControler();
            scrollControer0.create(getComponentByPath <ScrollRect>("contain_panel/0/down/Scrollview"));
            inText();
            bigbg = getGameObjectByPath("bigbg");
            //活跃
            huoyue_image   = getGameObjectByPath("contain_panel/0/down/Scrollview/Image");
            huoyue_contain = getTransformByPath("contain_panel/0/down/Scrollview/contain");
            point_txt      = getComponentByPath <Text>("contain_panel/0/top/point/Text");
            reward_panel   = getGameObjectByPath("contain_panel/0/top/items");
            exp_obj        = getGameObjectByPath("contain_panel/0/top/image/exp");
            //抽奖
            roll_in              = getGameObjectByPath("contain_panel/1/roll_in");
            roll_over            = getGameObjectByPath("contain_panel/1/roll_over");
            cj_txt               = getComponentByPath <Text>("contain_panel/1/btn/Text");
            btns_lottery         = new BaseButton(getTransformByPath("contain_panel/1/btn"));
            btns_lottery.onClick = (GameObject go) => { btnOnClick(); };
            item_panel           = getGameObjectByPath("contain_panel/1/cricle/image");
            for (int i = 0; i < item_panel.transform.childCount; i++)
            {
                lst_lottery_obj.Add(item_panel.transform.GetChild(i).gameObject);
            }
            cricleob = getGameObjectByPath("contain_panel/1/cricle");
            //基金
            zuanshi_image      = getGameObjectByPath("contain_panel/2/down/Scrollview/Image");
            zhuansheng_image   = getGameObjectByPath("contain_panel/3/down/Scrollview/Image");
            zhanli_image       = getGameObjectByPath("contain_panel/4/down/Scrollview/Image");
            zuanshi_contain    = getTransformByPath("contain_panel/2/down/Scrollview/contain");
            zhuansheng_contain = getTransformByPath("contain_panel/3/down/Scrollview/contain");
            zhanli_contain     = getTransformByPath("contain_panel/4/down/Scrollview/contain");
            zuanshi_btn        = getGameObjectByPath("contain_panel/2/top/Button");
            zhuansheng_btn     = getGameObjectByPath("contain_panel/3/top/Button");
            zhanli_btn         = getGameObjectByPath("contain_panel/4/top/Button");
            new BaseButton(zuanshi_btn.transform).onClick    = (GameObject go) => { btn_buyfund(1); };
            new BaseButton(zhuansheng_btn.transform).onClick = (GameObject go) => { btn_buyfund(2); };
            new BaseButton(zhanli_btn.transform).onClick     = (GameObject go) => { btn_buyfund(3); };


            contains = getGameObjectByPath("contain_panel");
            initsomething();
            tab.onClickHanle = tabhandel;
            tab.create(getGameObjectByPath("btn_panel"), this.gameObject);
            new BaseButton(getTransformByPath("btn_close")).onClick = (GameObject go) => { closBtnOnclick(); };
            getGameObjectByPath("btn_panel/0/Image").GetComponent <Image>().sprite = GAMEAPI.ABUI_LoadSprite("icon_hint_tips");
            getGameObjectByPath("btn_panel/1/Image").GetComponent <Image>().sprite = GAMEAPI.ABUI_LoadSprite("icon_hint_tips");
        }