加入头像显示功能
This commit is contained in:
@@ -283,20 +283,21 @@
|
||||
|
||||
<!-- 用户详情对话框 -->
|
||||
<el-dialog title="用户详情" {% raw %}:visible.sync="userDetailDialogVisible"{% endraw %} width="50%">
|
||||
<el-avatar
|
||||
size="large"
|
||||
{% raw %}:src="getHeadImage(currentUser.wxid)"{% endraw %}
|
||||
{% raw %}@error="() => true"{% endraw %}
|
||||
style="width: 100px; height: 100px;">
|
||||
<img src="/static/logo.png" />
|
||||
</el-avatar>
|
||||
</div>
|
||||
<el-descriptions {% raw %}:column="1"{% endraw %} border>
|
||||
<el-descriptions-item label="微信ID">{% raw %}{{ currentUser.wxid }}{% endraw %}</el-descriptions-item>
|
||||
<el-descriptions-item label="昵称">{% raw %}{{ currentUser.name }}{% endraw %}</el-descriptions-item>
|
||||
<!-- 可以添加更多用户相关信息 -->
|
||||
</el-descriptions>
|
||||
</el-dialog>
|
||||
<div style="text-align: center; margin-bottom: 20px;">
|
||||
<el-avatar
|
||||
size="large"
|
||||
{% raw %}:src="getHeadImage(currentUser.wxid)"{% endraw %}
|
||||
{% raw %}@error="() => true"{% endraw %}
|
||||
style="width: 100px; height: 100px;">
|
||||
<img src="/static/logo.png" />
|
||||
</el-avatar>
|
||||
</div>
|
||||
<el-descriptions {% raw %}:column="1"{% endraw %} border>
|
||||
<el-descriptions-item label="微信ID">{% raw %}{{ currentUser.wxid }}{% endraw %}</el-descriptions-item>
|
||||
<el-descriptions-item label="昵称">{% raw %}{{ currentUser.name }}{% endraw %}</el-descriptions-item>
|
||||
<!-- 可以添加更多用户相关信息 -->
|
||||
</el-descriptions>
|
||||
</el-dialog>
|
||||
|
||||
<!-- 公众号详情对话框 -->
|
||||
<el-dialog title="公众号详情" {% raw %}:visible.sync="officialDetailDialogVisible"{% endraw %} width="50%">
|
||||
|
||||
Reference in New Issue
Block a user