增加图标以标识头像可编辑

dev
truthhun 1 year ago
parent 880323d99c
commit 767833bad5

@ -8,6 +8,7 @@
:action="'/api/v1/upload/avatar'"
:image="user.avatar"
@success="getUser"
class="edit-avatar"
/>
<!-- -->
<div>
@ -125,6 +126,16 @@ export default {
.el-descriptions__body .el-descriptions__table {
color: #888;
}
.edit-avatar {
position: relative;
&::after {
font-family: element-icons !important;
content: '\e78c';
position: absolute;
top: 7px;
margin-left: 10px;
}
}
}
@media screen and (max-width: $mobile-width) {
.com-form-userinfo {

Loading…
Cancel
Save