master
yulingwei 5 years ago
parent adf11e2b60
commit 823062c0f6

@ -85,7 +85,7 @@
<tr <?php if (empty($data['attachment_url'])):?>hidden<?php endif;?>>
<td class="l noticeinfo">附件</td>
<td class="r table_radio">
<label><a href="{$data.attachment_url}" target="_blank">下载</a></label>
<label><a href="{$data.attachment_url}" target="_blank" download="" >下载</a></label>
</td>
</tr>
<tr>

@ -83,7 +83,7 @@
<tr <?php if (empty($data['attachment_url'])):?>hidden<?php endif;?>>
<td class="l noticeinfo">附件</td>
<td class="r table_radio">
<label><a href="{$data.attachment_url}" target="_blank">下载</a></label>
<label><a href="{$data.attachment_url}" target="_blank" download="">下载</a></label>
</td>
</tr>
<tr>

@ -112,7 +112,7 @@
<div id="thelist" class="uploader-list">
<?php if (!empty($data['attachment_url'])):?>
<div id="beforeupload" class="item">
<h4 class="info">已有附件<a href="javascript:;" class="jsdelzip table_click" style="float:none;display:inline-block;margin-left:10px;" onclick="$('#file_url').val('');$(this).parents('#beforeupload').remove()">删除</a><a href="{$data.attachment_url}" target="_blank" style="float:none;display:inline-block;margin-left:10px;">下载</a></h4>
<h4 class="info">已有附件<a href="javascript:;" class="jsdelzip table_click" style="float:none;display:inline-block;margin-left:10px;" onclick="$('#file_url').val('');$(this).parents('#beforeupload').remove()">删除</a><a href="{$data.attachment_url}" target="_blank" download="" style="float:none;display:inline-block;margin-left:10px;">下载</a></h4>
</div>
<?php endif;?>
</div>

@ -110,7 +110,7 @@
<!--用来存放文件信息-->
<div id="thelist" class="uploader-list">
<div id="beforeupload" class="item">
<h4 class="info" style="width: max-content;">已有附件<a href="javascript:;" class="jsdelzip table_click" style="float:none;display:inline-block;margin-left:10px;" onclick="$('#file_url').val('');$(this).parents('#beforeupload').remove()">删除</a><a href="{$data.attachment_url}" target="_blank" style="float:none;display:inline-block;margin-left:10px;">下载</a></h4>
<h4 class="info" style="width: max-content;">已有附件<a href="javascript:;" class="jsdelzip table_click" style="float:none;display:inline-block;margin-left:10px;" onclick="$('#file_url').val('');$(this).parents('#beforeupload').remove()">删除</a><a href="{$data.attachment_url}" target="_blank" download="" style="float:none;display:inline-block;margin-left:10px;">下载</a></h4>
</div>
</div>
<input type="hidden" id="file_url" name="attachment_url" value="{$data['attachment_url']}"/>

Loading…
Cancel
Save