mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 21:36:42 +08:00
调整个人主页,他们主页,个人中心
This commit is contained in:
@@ -13,19 +13,27 @@
|
||||
<div v-if="sex === 2 "><img src="../../../public/images/Avatarwoman.png" style="width: 100%" alt=""></div>
|
||||
</div>
|
||||
</router-link>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="user-content">
|
||||
<div class="content-top">
|
||||
<h6>{{userInfo.name}}</h6>
|
||||
<span>{{orgInfo}}</span>
|
||||
<el-link @click="toPage('/user/Setting')" type="info" :underline="false"> <el-button class="editbutt">个人设置</el-button></el-link>
|
||||
<div style="display: flex;justify-content:start;">
|
||||
<div>
|
||||
<div class="content-top" style="min-width: 260px;">
|
||||
<h6>{{userInfo.name}}</h6>
|
||||
<span>{{orgInfo}}</span>
|
||||
|
||||
</div>
|
||||
<div class="grade" style="min-width: 260px;">
|
||||
<div>{{statData.level}}</div>
|
||||
<span>经验值:{{statData.evalue}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: center;">
|
||||
<div>
|
||||
<el-link @click="toPage('/user/Setting')" type="info" :underline="false"> <el-button class="editbutt">个人设置</el-button></el-link>
|
||||
</div>
|
||||
<div style="margin-top:10px;"> <span style="color:#0060FF;font-size: 14px;"><router-link :to="'/home/'+userInfo.aid">个人主页>></router-link></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grade">
|
||||
<div>{{statData.level}}</div>
|
||||
<span>经验值:{{statData.evalue}}</span>
|
||||
<span style="margin-left:60px;color:#0060FF;"><router-link :to="'/home/'+userInfo.aid">个人主页>></router-link></span>
|
||||
</div>
|
||||
<div class="content-bottom">
|
||||
<div class="medal-list">
|
||||
<div class="medal-info" v-for="(m,midx) in medalList" :key="m.id" v-if="midx<3">
|
||||
@@ -269,19 +277,21 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
margin-left: 5px;
|
||||
margin-right: 24px;
|
||||
}
|
||||
.editbutt{
|
||||
width: 97px;
|
||||
height: 30px;
|
||||
line-height: 10px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #387DF7;
|
||||
font-size: 14px;
|
||||
color: #387DF7;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.editbutt{
|
||||
width: 97px;
|
||||
height: 30px;
|
||||
line-height: 10px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #588afc;
|
||||
font-size: 14px;
|
||||
color: #588afc;
|
||||
}
|
||||
|
||||
.uc-header-box{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
Reference in New Issue
Block a user