正在显示
1 个修改的文件
包含
17 行增加
和
3 行删除
@@ -43,9 +43,23 @@ | @@ -43,9 +43,23 @@ | ||
43 | </td> | 43 | </td> |
44 | </tr> | 44 | </tr> |
45 | <tr> | 45 | <tr> |
46 | - <th width="15%">头像</th> | ||
47 | - <td><input class="form-control" type="text" name="wx_pic" value="{$list['wx_pic']}" /> | ||
48 | - | 46 | + <th><b>头像<span class="form-required">*</span></th> |
47 | + <td> | ||
48 | + <div style="text-align: center;"> | ||
49 | + <input type="hidden" name="wx_pic" id="thumbnail" value="{$list.wx_pic}"> | ||
50 | + <a href="javascript:uploadOneImage('图片上传','#thumbnail');"> | ||
51 | + <if condition="empty($list.wx_pic)"> | ||
52 | + <img src="__TMPL__/public/assets/images/default-thumbnail.png" | ||
53 | + id="thumbnail-preview" | ||
54 | + width="135" style="cursor: pointer"/> | ||
55 | + <else/> | ||
56 | + <img src="{:cmf_get_image_preview_url($list.wx_pic)}" | ||
57 | + id="thumbnail-preview" | ||
58 | + width="135" style="cursor: pointer"/> | ||
59 | + </if> | ||
60 | + </a> | ||
61 | + <input type="button" class="btn btn-sm btn-cancel-thumbnail" value="取消图片"> | ||
62 | + </div> | ||
49 | </td> | 63 | </td> |
50 | </tr> | 64 | </tr> |
51 | <tr> | 65 | <tr> |
-
请 注册 或 登录 后发表评论