1、官网地址

官网:https://fengyuanchen.github.io/viewerjs/

demo:https://fengyuanchen.github.io/viewerjs/examples/dynamic-viewer.html

2、首先引入文件

viewer.css

viewer.js

3、layui table 使用

 done: function (d) {
          d.list.length && $.each(d.list, function (index, item) {
             $("img[src='"+item.PANORAMAIMAGEURL+"']").viewer()
          })
 }

 

最后修改于 2020-05-19 16:56:09
如果觉得我的文章对你有用,请随意赞赏
扫一扫支付
上一篇