...
|
...
|
@@ -43,9 +43,23 @@ |
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th width="15%">头像</th>
|
|
|
<td><input class="form-control" type="text" name="wx_pic" value="{$list['wx_pic']}" />
|
|
|
|
|
|
<th><b>头像<span class="form-required">*</span></th>
|
|
|
<td>
|
|
|
<div style="text-align: center;">
|
|
|
<input type="hidden" name="wx_pic" id="thumbnail" value="{$list.wx_pic}">
|
|
|
<a href="javascript:uploadOneImage('图片上传','#thumbnail');">
|
|
|
<if condition="empty($list.wx_pic)">
|
|
|
<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($list.wx_pic)}"
|
|
|
id="thumbnail-preview"
|
|
|
width="135" style="cursor: pointer"/>
|
|
|
</if>
|
|
|
</a>
|
|
|
<input type="button" class="btn btn-sm btn-cancel-thumbnail" value="取消图片">
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
...
|
...
|
|