添加图片预览imageView方法

This commit is contained in:
RuoYi
2019-05-05 16:41:43 +08:00
parent 342eda526d
commit 27c0a440d7
4 changed files with 51 additions and 2 deletions

View File

@ -19,7 +19,7 @@
</div>
<div class="ibox-content">
<div class="text-center">
<p><img width="120" height="120" th:src="(${user.avatar} == '') ? @{/img/profile.jpg} : @{/profile/avatar/} + ${user.avatar}"></p>
<p><img class="img-circle img-lg" th:src="(${user.avatar} == '') ? @{/img/profile.jpg} : @{/profile/avatar/} + ${user.avatar}"></p>
<p><a href="javascript:avatar()">修改头像</a></p>
</div>
<ul class="list-group list-group-striped">