courseware
杨树明 5 years ago
parent 7789f2810f
commit 87348d785d

@ -48,9 +48,20 @@ class AccountImg extends Component {
.headphoto:hover .headphoto-black { .headphoto:hover .headphoto-black {
display: block; 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> `}</style>
<img alt="头像" id="user_avatar_show" nhname="avatar_image" src={`${picUrl}`}></img> <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> </div>
); );
} }

Loading…
Cancel
Save