用户头像增加压缩

This commit is contained in:
Anyon 2022-07-11 19:11:04 +08:00
parent 0c6628e1a3
commit 77641b101c

View File

@ -6,7 +6,7 @@
<div class="layui-row layui-col-space15">
<div class="layui-col-xs2 text-center padding-top-15">
<input type="hidden" name="headimg" value="{$vo.headimg|default=''}">
<input type="hidden" data-max-width="500" data-max-height="500" name="headimg" value="{$vo.headimg|default=''}">
<script>$('[name=headimg]').uploadOneImage();</script>
</div>
<div class="layui-col-xs5">