<img src="{$hottv.pic}" onerror="this.src='http://img.tvhomeimg.com/attachment/tvhome/hottv/images/noPic.jpg'" alt="" width="161" height="225">
onerror 事件会在文档或图像加载过程中发生错误时被触发。
在装载文档或图像的过程中如果发生了错误,就会调用该事件句柄。