修改个人主页样式问题

This commit is contained in:
daihh
2022-10-23 12:18:19 +08:00
parent 50a127f0b1
commit ed40682db3
4 changed files with 19 additions and 9 deletions

View File

@@ -12,7 +12,7 @@
<div class="user-content">
<div class="content-top">
<h6 content-bottom> {{userData.name}}<span style="margin-left:8px;color: #999999;font-weight: 400;">{{userData.orgInfo}}</span>
<h6 content-bottom> {{userData.name}}<span style="margin-left:8px;color: #999999;font-weight: 400;">{{orgInfo}}</span>
<router-link v-if="pageId == userInfo.aid" to="/user/Setting"><span class="content-one-info pointer">个人设置</span></router-link>
</h6>
</div>
@@ -25,7 +25,7 @@
<el-button round plain class="btn-user" style="margin-left:168px" 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>
</div>
</div>
</div>
@@ -304,7 +304,7 @@
.content-top{
// margin-top: 15px;
height: 56px;
h6{
color: #333333;
font-size: 26px;

View File

@@ -97,15 +97,25 @@
return
}
this.checkboxGroup.forEach(item=>{
data.push({
type:1,
refId:item
})
data.push({ type:1, refId:item });
})
apiUserhobby.save(data).then(res=>{
if(res.status == 200) {
this.interestCollection = false;
const h = this.$createElement;
let event = {
key: "FinishHobby",//分享
title: "设置兴趣爱好",//分享
parameters:"",//内容的作者
content: '设置兴趣爱好',//事件的内容
objId: '1234567890123456789',//此项关联的id是没有的需要写成固定的值
objType: '70',//关联的类型
objInfo: '设置兴趣爱好',
aid: this.userInfo.aid, //当前登录人的id
aname: this.userInfo.name,//当前人的姓名
status: 1 //状态直接写1
}
this.$store.dispatch("userTrigger", event);
this.$message({
type: 'success',
dangerouslyUseHTMLString: true,

View File

@@ -571,7 +571,7 @@
//检查引导页
this.checkAndShowGuide();
}
//this.$refs.userCollection.show();
this.$refs.userCollection.show();
},
computed: {
...mapGetters(['userInfo','studyTaskCount']),

View File

@@ -252,7 +252,7 @@
],
tableList: [{
name: '发布音视频课程',
hear: ['完成一个音视频课', ],
hear: ['完成一个音视频课发布', ],
value: ['+60'],
upperlimit: null
},