1、修改eui.button图片
public static SetButtonImage(pBtn: eui.Button, str: string) {
var image: eui.Image = <eui.Image>pBtn.getChildAt(0);
if (image != undefined) {
image.source = str;
}
}
this.btn.getChildAt(0).pixelHitTest = true; //设置图片透明区域点击无效,可以穿透!