mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
整理个人主页不对的,或未完善的地方
This commit is contained in:
@@ -97,11 +97,11 @@
|
||||
<div class="el-dropdown-link" style="display:flex" :style="{color:textColor}">
|
||||
<div class="person-action-index">
|
||||
<div v-if="userInfo.avatar !== '' " class="user-avatar">
|
||||
<img :src="userInfo.avatar" style="width: 30px;height: 30px;"/>
|
||||
<img :src="userInfo.avatar" style="width: 35px;height: 35px;"/>
|
||||
</div>
|
||||
<div v-else class="uavatar">
|
||||
<div v-if="sex === 1 "><img src="../../public/images/Avatarman.png" alt=""></div>
|
||||
<div v-else><img src="../../public/images/Avatarwoman.png" alt=""></div>
|
||||
<div v-if="sex === 1 "><img src="../../public/images/Avatarman.png" alt="" style="width: 30px;height: 30px;"></div>
|
||||
<div v-else><img src="../../public/images/Avatarwoman.png" alt="" style="width: 30px;height: 30px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="font-weight: 400;font-size: 16px; margin-top: 8px;">{{userInfo.name}}</div>
|
||||
@@ -488,22 +488,22 @@ export default {
|
||||
cursor: pointer;
|
||||
color: #000000;
|
||||
}
|
||||
// .uavatar{
|
||||
// div{
|
||||
// border-radius: 50%;
|
||||
// img{
|
||||
// border-radius: 50%;
|
||||
// width: 30px;
|
||||
// height: 30px;
|
||||
// }
|
||||
// }
|
||||
// width: 30px;
|
||||
// height: 30px;
|
||||
// line-height: 30px;
|
||||
// font-size: 14px;
|
||||
// margin-right: 8px;
|
||||
// border-radius: 50%;
|
||||
// }
|
||||
.uavatar{
|
||||
div{
|
||||
border-radius: 50%;
|
||||
img{
|
||||
border-radius: 50%;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
font-size: 14px;
|
||||
margin-right: 8px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.user-avatar{
|
||||
display: inline-block;
|
||||
border-radius: 50%;
|
||||
|
||||
Reference in New Issue
Block a user