作者 董瑞恩

cost

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