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