| | |
| | | // var $list = $uploadimg, |
| | | var $li = $( |
| | | '<div id="' + fileid + '" class="file-item thumbnail">' + |
| | | '<img alt=" " class = "fileQueuedAddItem" src = "' + fileItem.path + '" data-original ="' + fileItem.path + '" >' + |
| | | '<img alt=" " class = "fileQueuedAddItem" src = "1' + fileItem.path + '" data-original ="' + fileItem.path + '" >' + |
| | | '<div class="frm_item_icons">' + |
| | | '<div class="frm_item_icon remove" imgId="' + fileid + '">' + |
| | | // '<img style="width:14px;height:14px;" src="./../../css/img/icon/delete.png"></div>' + |
| | | '<div style="width:14px;height:14px;background:url(./../../formEngine/resources/css/img/icon/delete.png);"> </div></div>' + |
| | | '<div style="width:14px;height:14px;background:url(../../formEngine/resources/css/img/icon/delete.png);"> </div></div>' + |
| | | |
| | | '</div>' + |
| | | // '<div class="info">' + file.name + '</div>' + |
| | |
| | | '<div id="' + file.id + '" class="file-item thumbnail">' + |
| | | '<div class="frm_item_icons">' + |
| | | '<div class="frm_item_icon remove" imgId="' + file.id + '">' + |
| | | '<img style="width:14px;height:14px;" src="./../../formEngine/resources/css/img/icon/delete.png"></div>' + |
| | | '<div style="width:14px;height:14px;background:url(../../formEngine/resources/css/img/icon/delete.png)"></div></div>' + |
| | | '</div>' + |
| | | '<img class = "fileQueuedAddItem">' + |
| | | // '<div class="info">' + file.name + '</div>' + |
| | |
| | | console.log($img) |
| | | $img.attr('data-original', src); |
| | | // 发布页面查看大图 曲辰明 3-27 |
| | | var viewer = new Viewer(document.getElementById(file.id), { |
| | | var viewer = new Viewer(document.getElementById(potion.id), { |
| | | url: 'data-original', |
| | | movable: false |
| | | }); |