在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
function UIBagController:initBoxView( ) self.panelBox = tolua.cast(UIHelper:seekWidgetByName(self.owner, "Panel_Box"), "Layout"); self.imgBoxList = tolua.cast(UIHelper:seekWidgetByName(self.panelBox, "ImageView_BoxList1"), "ImageView"); -- 给面板添加响应,只要点击就关闭该面板 self.panelBox:addTouchEventListener(function ( uiwidget, eventType ) if eventType == TOUCH_EVENT_ENDED then self:hideBox() self:ClearGoods(); self:initItemView(); self:showData() self:ShowEffect(); end; end); self:hideBox(); end
|
请发表评论