mirror of https://gitee.com/karson/fastadmin.git
单元格多图片预览时可以根据引发单击事件的图片索引来决定初始显示的图片序号
parent
ba215a4593
commit
16e02f643f
|
|
@ -409,6 +409,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
|
|||
});
|
||||
Layer.photos({
|
||||
photos: {
|
||||
"start":$(this).index(".img-center"),
|
||||
"data": data
|
||||
},
|
||||
anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
|
||||
|
|
|
|||
Loading…
Reference in New Issue