精灵怎么绑定ui中图片

auto UI = cocostudio::GUIReader::getInstance()->widgetFromJsonFile(“NewProject_1.ExportJson”);
UI->setPosition(Point(0, 0));
this->addChild(UI);
auto sp1 =(ImageView *)UI->getChildByName(“beijin1”);
background1=
background2 =(Sprite *)UI->getChildByName(“beijin2”);
rt,background1是我要绑定的精灵,beijin1是图片,怎么绑定呢?
求脱坑!