From 22e3fbc49bd9e571a2855d14bb0c3019cf8b17af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Mon, 16 Mar 2020 22:29:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/user/account/AccountImg.js | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/public/react/src/modules/user/account/AccountImg.js b/public/react/src/modules/user/account/AccountImg.js index bc95e4259..595ba7ba1 100644 --- a/public/react/src/modules/user/account/AccountImg.js +++ b/public/react/src/modules/user/account/AccountImg.js @@ -55,26 +55,30 @@ class AccountImg extends Component { .newheadphotoblack{ position: absolute; - top: 49px; - left: 4px; + top: 45px; + left: 0px; text-align: center; color: #fff; - width: 107px; + width: 110px; height: 23px; - line-height:23px; + line-height: 23px; background: rgba(76,172,255,0.7); } - .borderradiusbox{ - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; - border-bottom-left-radius: 4px; - } - + .relativeRadiusbox{ + overflow: hidden; + position: relative; + width: 109px; + border-radius: 50%; + height: 109px; + } + `} - 头像 -
修改头像
+
+ 头像 +
修改头像
+
+ ); }