|
|
|
@ -48,9 +48,20 @@ class AccountImg extends Component {
|
|
|
|
|
.headphoto:hover .headphoto-black {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
.newheadphotoblack{
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 49px;
|
|
|
|
|
left: 4px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #fff;
|
|
|
|
|
width: 107px;
|
|
|
|
|
height: 23px;
|
|
|
|
|
line-height:23px;
|
|
|
|
|
background: rgba(76,172,255,0.7);
|
|
|
|
|
}
|
|
|
|
|
`}</style>
|
|
|
|
|
<img alt="头像" id="user_avatar_show" nhname="avatar_image" src={`${picUrl}`}></img>
|
|
|
|
|
<p className="headphoto-black" onClick={this.editImg} >修改头像</p>
|
|
|
|
|
<p className="newheadphotoblack" onClick={this.editImg} >修改头像</p>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|