|
@@ -62,15 +62,33 @@ |
|
@@ -62,15 +62,33 @@ |
62
|
<th><b>缩略图</b></th>
|
62
|
<th><b>缩略图</b></th>
|
63
|
</tr>
|
63
|
</tr>
|
64
|
<tr>
|
64
|
<tr>
|
|
|
65
|
+ <!--<td>-->
|
|
|
66
|
+ <!--<div style="text-align: center;">-->
|
|
|
67
|
+ <!--<input type="hidden" name="thumb" id="thumbnail"-->
|
|
|
68
|
+ <!--value="{$info.thumb|default=''}">-->
|
|
|
69
|
+ <!--<a href="javascript:uploadOneImage('图片上传','#thumbnail');">-->
|
|
|
70
|
+ <!--<img src="{:cmf_get_image_preview_url($info.thumb)}"-->
|
|
|
71
|
+ <!--id="thumbnail-preview"-->
|
|
|
72
|
+ <!--width="135" style="cursor: pointer"/>-->
|
|
|
73
|
+ <!--</a>-->
|
|
|
74
|
+ <!--</div>-->
|
|
|
75
|
+ <!--</td>-->
|
65
|
<td>
|
76
|
<td>
|
66
|
<div style="text-align: center;">
|
77
|
<div style="text-align: center;">
|
67
|
<input type="hidden" name="thumb" id="thumbnail"
|
78
|
<input type="hidden" name="thumb" id="thumbnail"
|
68
|
value="{$info.thumb|default=''}">
|
79
|
value="{$info.thumb|default=''}">
|
69
|
<a href="javascript:uploadOneImage('图片上传','#thumbnail');">
|
80
|
<a href="javascript:uploadOneImage('图片上传','#thumbnail');">
|
|
|
81
|
+ <if condition="empty($info.thumb)">
|
|
|
82
|
+ <img src="__TMPL__/public/assets/images/default-thumbnail.png"
|
|
|
83
|
+ id="thumbnail-preview"
|
|
|
84
|
+ width="135" style="cursor: pointer"/>
|
|
|
85
|
+ <else/>
|
70
|
<img src="{:cmf_get_image_preview_url($info.thumb)}"
|
86
|
<img src="{:cmf_get_image_preview_url($info.thumb)}"
|
71
|
id="thumbnail-preview"
|
87
|
id="thumbnail-preview"
|
72
|
width="135" style="cursor: pointer"/>
|
88
|
width="135" style="cursor: pointer"/>
|
|
|
89
|
+ </if>
|
73
|
</a>
|
90
|
</a>
|
|
|
91
|
+ <input type="button" class="btn btn-sm btn-cancel-thumbnail" value="取消图片">
|
74
|
</div>
|
92
|
</div>
|
75
|
</td>
|
93
|
</td>
|
76
|
</tr>
|
94
|
</tr>
|