mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
Merge branch 'stat' of https://codeup.aliyun.com/6265f483e4166464dc2f9c14/boeu/portal into stat
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
<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">
|
||||
<img :src="fileBaseUrl+m.medalIcon" alt="">
|
||||
<img v-if="m.medalId != 5" :src="fileBaseUrl+m.medalIcon" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<el-button class="medalbutt" v-if="medalList.length > 0" type="text" @click="toPage('/user/medal')">更多 <i class="el-icon-d-arrow-right"></i> </el-button>
|
||||
|
||||
@@ -63,7 +63,13 @@
|
||||
<div>
|
||||
<el-dropdown>
|
||||
<div style="margin-left: 50px;color: #fff;font-size: 14px;cursor: pointer;">
|
||||
<el-avatar :src="userInfo.avatar" style="vertical-align: middle;width:40px;height:40px;margin-right:10px;"></el-avatar>{{userInfo.name}}
|
||||
<el-avatar v-if="userInfo.avatar !== ''" :src="userInfo.avatar" style="vertical-align: middle;width:40px;height:40px;margin-right:10px;"></el-avatar>
|
||||
<span style="display: inline-block;">
|
||||
<img v-if="userInfo.sex === 1 " src="../../../../public/images/Avatarman.png" alt="" style="width: 30px;height: 30px;vertical-align: middle;">
|
||||
<img src="../../../../public/images/Avatarwoman.png" alt="" style="width: 30px;height: 30px;vertical-align: middle;">
|
||||
</span>
|
||||
|
||||
{{userInfo.name}}
|
||||
</div>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item @click.native="setCurIdentity(1)"><a :href="`${webBaseUrl}${isTiao ? '/uc/study/task' : '/uc/study/courses'}`">个人中心</a></el-dropdown-item>
|
||||
@@ -258,6 +264,7 @@ export default {
|
||||
::v-deep.el-dropdown-menu {
|
||||
text-align: center;
|
||||
border: none !important;
|
||||
|
||||
}
|
||||
::v-deep .el-avatar{
|
||||
margin-right: 8px;
|
||||
@@ -270,6 +277,9 @@ text-align: center;
|
||||
}
|
||||
.el-button--text{
|
||||
color: #fff;
|
||||
}
|
||||
img{
|
||||
|
||||
}
|
||||
::v-deep .dialog-signin{
|
||||
background: transparent;
|
||||
|
||||
Reference in New Issue
Block a user