![用户头像]()
@@ -32,6 +32,7 @@
昵称:
{% raw %}{{ currentUser.data.nickname || '未知用户' }}{% endraw %}
+
微信ID:
{% raw %}{{ currentUser.data.wx_id }}{% endraw %}
@@ -657,29 +658,24 @@
box-shadow: none;
}
- .user-info-chart h4 {
- margin-top: 0;
- margin-bottom: 5px;
- font-size: 12px;
- color: #606266;
- }
-
.user-info-container {
padding: 0;
display: flex;
flex-direction: column;
flex: 1;
justify-content: center;
+ /* 确保与饼图容器高度一致 */
+ height: 80px;
}
.user-avatar-container {
text-align: center;
- margin-bottom: 10px;
+ margin-bottom: 5px; /* 减小底部间距 */
}
.user-avatar-container img {
- width: 56px;
- height: 56px;
+ width: 50px; /* 稍微缩小头像 */
+ height: 50px;
border-radius: 50%;
border: 2px solid #fff;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);