
在报表块的事件里,添加如下代码
setTimeout(function() {
$("div[widgetname= REPORT2_C].fr-titlelayout").css("background","url(/webroot/help/picture/background/sale.gif;)center center / 100% 100% no-repeat")}, 1000);
其中
url(/webroot/help/picture/background/sale.gif 是动图的位置
widgetname= REPORT2_C 是报表块的名字。
演示截图:

|