...
|
...
|
@@ -62,15 +62,33 @@ |
|
|
<th><b>缩略图</b></th>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<!--<td>-->
|
|
|
<!--<div style="text-align: center;">-->
|
|
|
<!--<input type="hidden" name="thumb" id="thumbnail"-->
|
|
|
<!--value="{$info.thumb|default=''}">-->
|
|
|
<!--<a href="javascript:uploadOneImage('图片上传','#thumbnail');">-->
|
|
|
<!--<img src="{:cmf_get_image_preview_url($info.thumb)}"-->
|
|
|
<!--id="thumbnail-preview"-->
|
|
|
<!--width="135" style="cursor: pointer"/>-->
|
|
|
<!--</a>-->
|
|
|
<!--</div>-->
|
|
|
<!--</td>-->
|
|
|
<td>
|
|
|
<div style="text-align: center;">
|
|
|
<input type="hidden" name="thumb" id="thumbnail"
|
|
|
value="{$info.thumb|default=''}">
|
|
|
<a href="javascript:uploadOneImage('图片上传','#thumbnail');">
|
|
|
<img src="{:cmf_get_image_preview_url($info.thumb)}"
|
|
|
id="thumbnail-preview"
|
|
|
width="135" style="cursor: pointer"/>
|
|
|
<if condition="empty($info.thumb)">
|
|
|
<img src="__TMPL__/public/assets/images/default-thumbnail.png"
|
|
|
id="thumbnail-preview"
|
|
|
width="135" style="cursor: pointer"/>
|
|
|
<else/>
|
|
|
<img src="{:cmf_get_image_preview_url($info.thumb)}"
|
|
|
id="thumbnail-preview"
|
|
|
width="135" style="cursor: pointer"/>
|
|
|
</if>
|
|
|
</a>
|
|
|
<input type="button" class="btn btn-sm btn-cancel-thumbnail" value="取消图片">
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
...
|
...
|
|