diff --git a/resources/web/homepage3/css/left.css b/resources/web/homepage3/css/left.css index cefedb1..248ea1e 100644 --- a/resources/web/homepage3/css/left.css +++ b/resources/web/homepage3/css/left.css @@ -92,8 +92,8 @@ body #Login1 { - height:36px; - line-height: 36px; + height:48px; + line-height: 48px; display: flex; justify-content: center; user-select: none; @@ -132,7 +132,7 @@ body #QDTIcon { - height:36px; + height:48px; } #Login2 @@ -147,6 +147,8 @@ body #UserAvatarIcon { height: 85px; + border-radius: 50%; + overflow: hidden; } #UserName diff --git a/resources/web/homepage3/js/left.js b/resources/web/homepage3/js/left.js index 90b692b..f7cf675 100644 --- a/resources/web/homepage3/js/left.js +++ b/resources/web/homepage3/js/left.js @@ -138,13 +138,13 @@ function SetLoginInfo( strAvatar, strName ) $("#UserName").text(strName); - let OriginAvatar=$("#Login2 #UserAvatarIconLogin").prop("src"); + let OriginAvatar=$("#Login2 #UserAvatarIcon").prop("src"); if(strAvatar!=OriginAvatar && strAvatar.length != 0) { - $("#Login2 #UserAvatarIconLogin").prop("src",strAvatar); + $("#Login2 #UserAvatarIcon").prop("src",strAvatar); } else - $("#Login2 #UserAvatarIconLogin").prop("src", "../image/userdark.png"); + $("#Login2 #UserAvatarIcon").prop("src", "../image/userdark.png"); $("#Login2").show(); $("#Login2").css("display","flex"); @@ -152,7 +152,7 @@ function SetLoginInfo( strAvatar, strName ) function SetUserOffline() { - $("#UserAvatarIconLogin").prop("src","../image/logo2.png"); + $("#UserAvatarIcon").prop("src","../image/logo2.png"); $("#UserName").text(''); $("#Login2").hide(); diff --git a/resources/web/homepage3/left.html b/resources/web/homepage3/left.html index 7bf3ea8..fc021bf 100644 --- a/resources/web/homepage3/left.html +++ b/resources/web/homepage3/left.html @@ -21,58 +21,14 @@
- 
+