Skip to content

Commit 6df9a7a

Browse files
committed
fix(ui): 修复用户卡片背景颜色显示问题
- 添加了用户卡片背景颜色的条件设置逻辑 - 确保在特定条件下卡片背景色正确显示为白色
1 parent 5c78264 commit 6df9a7a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/resources/js/common.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,6 +1752,8 @@ var Util = {
17521752
$("#userCardContent > div > a > div").css("width", "105px");
17531753
$("#userCardContent > div > a > div").css("height", "105px");
17541754
$("#userCardContent > div > a > div").css("top", "80px");
1755+
} else {
1756+
$("#userCardContent").css("background-color", "#FFFFFF");
17551757
}
17561758

17571759
let left = $this.offset().left + 30;

0 commit comments

Comments
 (0)