mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 21:06:42 +08:00
修改
This commit is contained in:
@@ -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{
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
@@ -257,7 +286,6 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
width: 58px;
|
||||
height: 24px;
|
||||
// text-align: center;
|
||||
line-height: 34px;
|
||||
color: #9D6110 ;
|
||||
}
|
||||
span{
|
||||
|
||||
Reference in New Issue
Block a user