mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-19 15:56:45 +08:00
提交
This commit is contained in:
@@ -91,13 +91,7 @@
|
|||||||
.answer-list-index{
|
.answer-list-index{
|
||||||
padding: 30px 0;
|
padding: 30px 0;
|
||||||
border-bottom: 1px solid rgba($color: #999999, $alpha: 0.2) !important;
|
border-bottom: 1px solid rgba($color: #999999, $alpha: 0.2) !important;
|
||||||
::v-deep .interact-bar-btns{
|
|
||||||
.interact-bar-btn{
|
|
||||||
text-align: right;
|
|
||||||
min-width: 78px !important;
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.answer-title-info{
|
.answer-title-info{
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<interactBar :type="4" :readonly="true" :data="item" :views="false" :shares="false"></interactBar>
|
<interactBar :type="4" :readonly="true" :data="item.question" :views="false" :shares="false" :answers="true" :comments="false"></interactBar>
|
||||||
|
|
||||||
<!-- <div class="article-info-tools"> -->
|
<!-- <div class="article-info-tools"> -->
|
||||||
<!-- <authorInfo :avatar="item.avatar" :name="item.name" :info="item.orgInfo" :sex="item.sex"></authorInfo> -->
|
<!-- <authorInfo :avatar="item.avatar" :name="item.name" :info="item.orgInfo" :sex="item.sex"></authorInfo> -->
|
||||||
|
|||||||
@@ -33,13 +33,16 @@
|
|||||||
<div style="padding-top:16px">
|
<div style="padding-top:16px">
|
||||||
<p class="ach-title">您可能想关注的人</p>
|
<p class="ach-title">您可能想关注的人</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="ava-info pointer" v-for="ava in interestedList" :key="ava.aid">
|
<li class="pointer" v-for="ava in interestedList" :key="ava.aid">
|
||||||
<!-- <img :src="baseUrl + ava.avatar" style="width: 48px;height: 480x;border-radius: 50%;" /> -->
|
<div class="ava-info" v-if="ava.name">
|
||||||
<author v-if="ava.aid" :avatar="ava.avatar" :aid="ava.aid" :sex="ava.sex"></author>
|
<author v-if="ava.aid" :avatar="ava.avatar" :aid="ava.aid" :sex="ava.sex"></author>
|
||||||
<div class="ava-text pointer" @click="toHome(ava)">
|
<div class="ava-text pointer" @click="toHome(ava)">
|
||||||
<p style="color: #333333;">{{ava.name}}</p>
|
<p style="color: #333333;">{{ava.name}}</p>
|
||||||
<p style="color: #666666;">{{ava.sign}}</p>
|
<p style="color: #666666;">{{ava.sign}}</p>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- <img :src="baseUrl + ava.avatar" style="width: 48px;height: 480x;border-radius: 50%;" /> -->
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@@ -136,7 +139,6 @@
|
|||||||
//console.log(path.substring(0,idx-1),'this.$router.path');
|
//console.log(path.substring(0,idx-1),'this.$router.path');
|
||||||
//this.$router.push(path.substring(0,idx-1)+'?gz=7'+num)
|
//this.$router.push(path.substring(0,idx-1)+'?gz=7'+num)
|
||||||
let toUrl=process.env.VUE_APP_PUBLIC_PATH+path.substring(0,idx-1)+'?gz=7'+num;
|
let toUrl=process.env.VUE_APP_PUBLIC_PATH+path.substring(0,idx-1)+'?gz=7'+num;
|
||||||
console.log(toUrl,'toUrl')
|
|
||||||
location.href=toUrl
|
location.href=toUrl
|
||||||
}else{
|
}else{
|
||||||
this.$bus.$emit('followIndex',num)
|
this.$bus.$emit('followIndex',num)
|
||||||
@@ -166,7 +168,6 @@
|
|||||||
apiUser.getByIds(noReapetIds).then(rs => {
|
apiUser.getByIds(noReapetIds).then(rs => {
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
$this.interestedList = rs.result;
|
$this.interestedList = rs.result;
|
||||||
//console.log($this.interestedList,'interestedList');
|
|
||||||
} else {
|
} else {
|
||||||
$this.$message.error(rs.message);
|
$this.$message.error(rs.message);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user