mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 13:26:44 +08:00
修改
This commit is contained in:
@@ -2,14 +2,22 @@
|
||||
<div class="uc-header xcontent">
|
||||
<div class="header-box" >
|
||||
<div class="personalData">
|
||||
<div class="uesr-avaer">
|
||||
<!-- <div >
|
||||
<img src="../../../public/images/Avatarwoman.png" alt="">
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="uesr-avaer">
|
||||
<img :src="userInfo.avatar" v-if="userInfo.avatar !== '' ">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<div class="user-content">
|
||||
<div class="content-top">
|
||||
<h6>王明</h6>
|
||||
<span>BOE/企划中心/数据资产部</span>
|
||||
<el-button class="editbutt" icon="el-icon-edit" type="text">编辑资料</el-button>
|
||||
<h6>{{userInfo.name}}</h6>
|
||||
<span>{{orgInfo}}</span>
|
||||
<el-link @click="toPage('/user/Setting')" type="info" :underline="false"> <el-button class="editbutt" icon="el-icon-edit" type="text">编辑资料</el-button></el-link>
|
||||
</div>
|
||||
<div class="content-bottom">
|
||||
<div class="medal">
|
||||
@@ -53,14 +61,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div style="display: flex;justify-content: flex-start;">
|
||||
<div>
|
||||
<img style="width: 100px;height: 100px;border-radius: 50%;border: 1px solid #f9f9f9;" :src="userInfo.avatar" v-if="userInfo.avatar !== '' ">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="padding-left: 15px;">
|
||||
<div style="height: 38px;padding-left: 5px;">
|
||||
<span style="font-size: 20px;font-weight: 500;color: #333;">{{userInfo.name}}</span>
|
||||
@@ -285,6 +287,8 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
.uc-header{
|
||||
height: 210px;
|
||||
margin: 0 auto;
|
||||
|
||||
background: #fff;
|
||||
// background-color: #c9c2c2;
|
||||
}
|
||||
.upicon{
|
||||
|
||||
Reference in New Issue
Block a user