function showImg(_filePath){
var times = 0;
var arrs = _filePath.substring(_filePath.indexOf(",")+1).split(",");
$('#yuwendiv').dialog({
title : '档案行政执法“双随机抽查”抽取记录库',
collapsible : false,
maximizable : false,
resizable : false,
closed : true,
fit : true,
modal : true,
buttons : [ {
text : "关闭",
handler : function() {
$('#yuwendiv').dialog('close');
}
},
{
text : "下一张",
handler : function() {
times ++;
if(times == arrs.length){
times = 0;
}
$("#yuweniframe1").attr("src",_path + "noticeAction/showContent?uploadpath=" + arrs[times]);
}
}]
});
$("#yuweniframe1").attr("src",_path + "noticeAction/showContent?uploadpath=" + arrs[0]);
$('#yuwendiv').dialog("open");
}
EasyUI多图片展示仿轮播功能
最新推荐文章于 2019-12-23 17:22:08 发布