mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
提交
This commit is contained in:
@@ -12,22 +12,23 @@
|
||||
|
||||
<div class="user-content">
|
||||
<div class="content-top">
|
||||
<h6 content-bottom><router-link to="/home/index"> {{userData.name}}</router-link>
|
||||
<h6 content-bottom> {{userData.name}}<span style="margin-left:8px;color: #999999;font-weight: 400;">{{userData.orgInfo}}</span>
|
||||
<router-link v-if="pageId == userInfo.aid" to="/user/Setting"><span class="content-one-info pointer">个人设置</span></router-link>
|
||||
</h6>
|
||||
</div>
|
||||
<div class="content-bottom">
|
||||
<p class="portal-summary-text">{{userData.sign}} <router-link v-if="pageId == userInfo.aid" to="/uc/study/courses" class="pointer" style="margin-left:50px;color:#0060FF;">个人中心>></router-link></p>
|
||||
</div>
|
||||
<div class="grade">
|
||||
<div>{{statData.level}}</div>
|
||||
<span style="color: #A3680A;margin-left:12px;line-height: 24px;">经验值:{{statData.evalue}}</span>
|
||||
</div>
|
||||
<el-button round plain class="btn-user" style="margin-left:150px" size="small"><router-link :to="'/home/'+pageId+'/leaving'">{{pageId == userInfo.aid ? '留言板':'去留言'}}</router-link></el-button>
|
||||
<el-button round plain class="btn-user" size="small" v-if="pageId != userInfo.aid && !isFollowHas" @click="toFollow()">关注TA</el-button>
|
||||
<el-button round plain class="btn-user" size="small" @click="cancelFollow()" v-if="isFollowHas">已关注</el-button>
|
||||
<el-button round plain class="btn-user" size="small"><router-link :to="'/home/'+pageId+'/leaving'">{{pageId == userInfo.aid ? '留言板':'去留言'}}</router-link></el-button>
|
||||
</div>
|
||||
<div class="content-bottom">
|
||||
<p class="portal-summary-text">{{userData.sign}}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="learningData">
|
||||
<div class="learning-info">
|
||||
<div class="learning-qus">当月学习时长</div>
|
||||
@@ -260,9 +261,17 @@
|
||||
}
|
||||
.grade{
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
margin-top: 20px;
|
||||
.btn-user{
|
||||
margin-top: -6px;
|
||||
// margin-left: 68px;
|
||||
height: 30px;
|
||||
border-radius: 20px;
|
||||
border: 1px solid #0060FF;
|
||||
color: #0060FF;
|
||||
}
|
||||
div{
|
||||
margin-left: 22px;
|
||||
// margin-left: 22px;
|
||||
font-weight: 600;
|
||||
float: left;
|
||||
width: 57px;
|
||||
@@ -293,20 +302,26 @@
|
||||
.user-content{
|
||||
flex: 1;
|
||||
.content-top{
|
||||
margin-top: 15px;
|
||||
// margin-top: 15px;
|
||||
height: 56px;
|
||||
.btn-user{
|
||||
margin-top: 6px;
|
||||
height: 30px;
|
||||
border-radius: 20px;
|
||||
border: 1px solid #0060FF;
|
||||
color: #0060FF;
|
||||
}
|
||||
|
||||
h6{
|
||||
color: #333333;
|
||||
font-size: 26px;
|
||||
margin:0;
|
||||
float: left;
|
||||
.content-one-info{
|
||||
display: inline-block;
|
||||
width: 97px;
|
||||
height: 30px;
|
||||
margin-left: 130px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
border-radius: 4px;
|
||||
color: #588afc;
|
||||
font-weight: normal;
|
||||
border: 1px solid #387DF7;
|
||||
}
|
||||
}
|
||||
span{
|
||||
color: #999999;
|
||||
|
||||
@@ -19,11 +19,13 @@
|
||||
<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>
|
||||
<div class="grade">
|
||||
<div>{{statData.level}}</div>
|
||||
<span>经验值:{{statData.evalue}}</span>
|
||||
</div>
|
||||
<el-link @click="toPage('/user/Setting')" type="info" :underline="false"> <el-button class="editbutt">编辑资料</el-button></el-link>
|
||||
<span style="margin-left:40px;color:#0060FF;"><router-link :to="'/home/'+userInfo.aid">个人主页>></router-link></span>
|
||||
</div>
|
||||
<div class="content-bottom">
|
||||
<div class="medal-list">
|
||||
@@ -186,7 +188,7 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
}
|
||||
}
|
||||
.content-bottom{
|
||||
margin-top: 30px;
|
||||
margin-top: 10px;
|
||||
display: flex;
|
||||
.medal-list{
|
||||
//float: left;
|
||||
@@ -233,17 +235,15 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
}
|
||||
.user-content{
|
||||
flex: 1;
|
||||
.content-top{
|
||||
margin-top: 15px;
|
||||
line-height: 25px;
|
||||
.grade{
|
||||
display: inline-block;
|
||||
margin-top: 10px;
|
||||
// display: inline-block;
|
||||
div{
|
||||
font-weight: 600;
|
||||
float: left;
|
||||
width: 58px;
|
||||
height: 24px;
|
||||
text-align: center;
|
||||
// text-align: center;
|
||||
line-height: 34px;
|
||||
color: #9D6110 ;
|
||||
}
|
||||
@@ -254,6 +254,10 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
|
||||
}
|
||||
}
|
||||
.content-top{
|
||||
// margin-top: 10px;
|
||||
line-height: 25px;
|
||||
|
||||
h6{
|
||||
color: #333333;
|
||||
font-size: 26px;
|
||||
|
||||
Reference in New Issue
Block a user