1. 两种版本 一个js 一个jquery 官网github的是js版. 里面找jquery版链接
2. 绑定后, ajax 修改后的需要update下
update()
Update the viewer instance when the source images changed (added, removed or sorted).
If you load images dynamically (with XMLHTTPRequest), you can use this method to add the new images to the viewer instance.
//js版
var viewerKd = new Viewer(document.getElementById('imgUl'))
viewerKd.update()
//jquery
$().viewer(options);