This commit is contained in:
daihh
2022-11-02 17:49:44 +08:00
4 changed files with 43 additions and 16 deletions

View File

@@ -937,8 +937,8 @@
display: flex;
width: 100%;
.article-img{
width: 252px;
height: 142px;
// width: 252px;
// height: 142px;
border-radius: 4px;
margin-right: 10px;
img{

View File

@@ -20,8 +20,8 @@
<div class="level">{{statData.level}}</div>
<span style="color: #A3680A;margin-left:5px;line-height: 24px;margin-right: 20px;">经验值{{statData.evalue}}</span>
<!-- <div style="float:right"> -->
<router-link v-if="pageId == userInfo.aid" to="/user/Setting"><span class="content-one-info pointer">个人设置</span></router-link>
<span style="margin-left:10px" class="content-one-info" ><router-link v-if="pageId == userInfo.aid" to="/uc/study/courses" class="pointer" style="color:#0060FF;">个人中心</router-link></span>
<router-link v-if="pageId == userInfo.aid" to="/user/Setting"><span class="content-one-info pointer" style="line-height: 30px;">个人设置</span></router-link>
<span style="margin-left:10px;line-height: 30px;" class="content-one-info" ><router-link v-if="pageId == userInfo.aid" to="/uc/study/courses" class="pointer" style="color:#0060FF;">个人中心</router-link></span>
<el-button type="text" round class="btn-user" v-if="pageId != userInfo.aid && !isFollowHas" @click="toFollow()">关注TA</el-button>
<el-button type="text" round class="btn-user" @click="cancelFollow()" v-if="isFollowHas">已关注</el-button>
<el-button type="text" round class="btn-user" > <router-link :to="'/home/'+pageId+'/leaving'">{{pageId == userInfo.aid ? '留言板':'去留言'}}<i class="el-icon-arrow-right"></i> </router-link> </el-button>

View File

@@ -15,7 +15,7 @@
</router-link>
</div>
<div class="user-content">
<div style="display: flex;justify-content:start;">
<div>
<div>
<div class="content-top" style="min-width: 260px;">
<h6>{{userInfo.name}}</h6>
@@ -23,15 +23,19 @@
</div>
<div class="grade" style="min-width: 260px;">
<div>{{statData.level}}</div>
<span>经验值{{statData.evalue}}</span>
<div class="level">{{statData.level}}</div>
<span style="margin-right:15px">经验值{{statData.evalue}}</span>
<span class="content-one-info pointer" style="margin-right:12px;line-height: 30px;"><router-link :to="'/user/Setting'">个人设置</router-link></span>
<span class="content-one-info" style="line-height: 30px;"><router-link :to="'/home/'+userInfo.aid">个人主页</router-link></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 style="margin-top:10px;">
</div>
</div>
</div>
<div class="content-bottom">
@@ -159,6 +163,31 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
</script>
<style lang="scss" scoped>
.level{
float: left;
width: 57px;
margin-top: 5px;
margin-right: 8px;
height: 24px;
line-height: 24px;
text-align: center;
background-image: url(../../../public/images/lvbg.png);
background-repeat: no-repeat;
background-size:100%;
}
.content-one-info{
display: inline-block;
line-height: 30px;
width: 80px;
height: 30px;
text-align: center;
border-radius: 20px;
padding: 0;
border: 1px solid #619DFF !important;
font-size: 14px;
color: #387DF7 !important;
}
.ranking-link{
font-size: 16px;
@@ -256,8 +285,7 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
float: left;
width: 58px;
height: 24px;
// text-align: center;
line-height: 34px;
// text-align: center;
color: #9D6110 ;
}
span{

View File

@@ -93,17 +93,17 @@
<svg-icon icon-class="interlocution"></svg-icon>
<span slot="title">问答管理</span>
</el-menu-item>
<el-menu-item v-show="curIdentity == 3">
<el-menu-item v-show="curIdentity == 3" index="008">
<template slot="title">
<svg-icon icon-class="administrator" style="font-size:17px"></svg-icon>
<span><a href="/resource/index.html" target="_blank">旧版管理员界面</a></span>
<span><a href="/resource/index.html" target="_blank" style="color:#303133;">旧版管理员界面</a></span>
</template>
<!-- <i class="el-icon-menu"></i> -->
</el-menu-item>
<el-menu-item v-show="curIdentity == 3">
<el-menu-item v-show="curIdentity == 3" index="009">
<template slot="title">
<svg-icon icon-class="management" style="font-size:16px"></svg-icon>
<span><a href="https://u.boe.com/train/manager/index.html" target="_blank">业务支援读书会管理</a></span>
<span><a href="https://u.boe.com/train/manager/index.html" style="color:#303133;" target="_blank">业务支援读书会管理</a></span>
</template>
</el-menu-item>
<!-- <el-menu-item index="/qa/manage" v-show="curIdentity == 3" disabled>
@@ -375,7 +375,6 @@ export default {
if (meta.activeMenu) {
return meta.activeMenu;
}
//console.log(path,'path');
return path;
},
},