...
|
...
|
@@ -4,27 +4,6 @@ |
|
|
margin-bottom: 5px;
|
|
|
}
|
|
|
</style>
|
|
|
<script type="text/html" id="photos-item-tpl">
|
|
|
<li id="saved-image{id}">
|
|
|
<input id="photo-{id}" type="hidden" name="photo_urls[]" value="{filepath}">
|
|
|
<input class="form-control" id="photo-{id}-name" type="text" name="photo_names[]" value="{name}"
|
|
|
style="width: 200px;" title="图片名称">
|
|
|
<img id="photo-{id}-preview" src="{url}" style="height:36px;width: 36px;"
|
|
|
onclick="imagePreviewDialog(this.src);">
|
|
|
<a href="javascript:uploadOneImage('图片上传','#photo-{id}');">替换</a>
|
|
|
<a href="javascript:(function(){$('#saved-image{id}').remove();})();">移除</a>
|
|
|
</li>
|
|
|
</script>
|
|
|
<script type="text/html" id="files-item-tpl">
|
|
|
<li id="saved-file{id}">
|
|
|
<input id="file-{id}" type="hidden" name="file_urls[]" value="{filepath}">
|
|
|
<input class="form-control" id="file-{id}-name" type="text" name="file_names[]" value="{name}"
|
|
|
style="width: 200px;" title="文件名称">
|
|
|
<a id="file-{id}-preview" href="{preview_url}" target="_blank">下载</a>
|
|
|
<a href="javascript:uploadOne('图片上传','#file-{id}','file');">替换</a>
|
|
|
<a href="javascript:(function(){$('#saved-file{id}').remove();})();">移除</a>
|
|
|
</li>
|
|
|
</script>
|
|
|
</head>
|
|
|
<body>
|
|
|
<div class="wrap js-check-wrap">
|
...
|
...
|
|