public void SetData(BuyGemModel shopModel) { _shopModel = shopModel; _bottomTips.text = shopModel.BuyGemDesc; _gemItemList = shopModel.GetBuyGemRmbMallList; SetGemMallPage(_gemItemList); }
public override void Start() { BuyGemModel = GetData <BuyGemModel>(); //这个也要加监听器! EventDispatcher.AddEventListener <RmbMallVo>(EventConst.BuyGemMall, OnRmbGiftClick); EventDispatcher.AddEventListener <RepeatedField <UserBuyRmbMallPB> >(EventConst.GetPayInfoSuccess, RefreshView); GetRule(); }