mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 03:16:47 +08:00
style:讨论模块发帖评论样式调整
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
<span
|
||||
class="iconfont icon-dianzan"
|
||||
:style="{
|
||||
color: disDetail.praised ? 'red' : '#b3bdc4',
|
||||
color: disDetail.praised ? '#2478ff' : '#b3bdc4',
|
||||
marginLeft: '19px',
|
||||
}"
|
||||
></span>
|
||||
@@ -79,7 +79,7 @@
|
||||
<span
|
||||
class="iconfont icon-shoucang"
|
||||
:style="{
|
||||
color: disDetail.collectionInfo ? 'red' : '#b3bdc4',
|
||||
color: disDetail.collectionInfo ? '#2478ff' : '#b3bdc4',
|
||||
marginLeft: '19px',
|
||||
}"
|
||||
></span>
|
||||
@@ -140,9 +140,9 @@
|
||||
|
||||
<div class="thinline"></div>
|
||||
<div class="bottom">
|
||||
<div v-for="(row, i) in commontList" :key="i">
|
||||
<div v-for="(row, i) in commontList" :key="i" style="margin-bottom: 24px;">
|
||||
<div class="header">
|
||||
<div class="avator"></div>
|
||||
<img :src="row.studentAvatar" alt="" srcset="" class="avator">
|
||||
<div class="id">{{ row.createName }}</div>
|
||||
<div class="showCareer">{{row.studentJobName}}</div>
|
||||
<div class="idThink"></div>
|
||||
@@ -175,24 +175,24 @@
|
||||
style="display: flex;cursor: pointer;align-items: baseline;margin-left: 19px;">
|
||||
<span
|
||||
class="iconfont icon-dianzan"
|
||||
:style="{ color: row.praised ? 'red' : '#b3bdc4' }"></span>
|
||||
:style="{ color: row.praised ? '#2478ff' : '#b3bdc4' }"></span>
|
||||
<div class="count">{{ row.praiseNum || 0 }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 评论下的回复 -->
|
||||
<div v-if="row.children.length!==0" :style="{height:spreadReply==i ? 'auto' : 200 +'px',overflow:'hidden',position: 'relative'}">
|
||||
<div v-if="row.children.length!==0" :style="{height:spreadReply==i ? 'auto' : 210 +'px',overflow:'hidden',position: 'relative'}">
|
||||
<div v-for="(replay, j) in row.children" :key="j">
|
||||
<div class="reply">
|
||||
<div class="sameava avaone"></div>
|
||||
<img :src="replay.studentAvatar" alt="" srcset="" class="sameava avaone">
|
||||
<div class="sameuser">{{ replay.studentName }}</div>
|
||||
<div class="centerreply">回复</div>
|
||||
<div class="sameava avatwo"></div>
|
||||
<img :src="replay.targetStudentAvatar" alt="" srcset="" class="sameava avaone">
|
||||
<div class="sameuser">{{ replay.targetStudentName }}</div>
|
||||
<div class="replytime">{{ replay.createTime }}</div>
|
||||
</div>
|
||||
<div style="display:flex;margin-top: 12px;margin-bottom: 12px;">
|
||||
<div v-if="row.img" v-for="(rowimg, index) in row.img.split(',')" :key="index" style="width:55px;height:55px;margin-right: 12px;">
|
||||
<img class="image" style="width:55px;height:55px;border-radius: 4px;" :src="rowimg" />
|
||||
<div v-if="replay.img" v-for="(rowimg, index) in replay.img.split(',')" :key="index" style="width:65px;height:65px;margin-right: 7px;">
|
||||
<img class="image" style="width:65px;height:65px;border-radius: 4px;" :src="rowimg" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="mainreply">
|
||||
@@ -215,13 +215,13 @@
|
||||
@click="commentLike(replay)">
|
||||
<span
|
||||
class="iconfont icon-dianzan"
|
||||
:style="{ color: replay.praised ? 'red' : '#b3bdc4' }"></span>
|
||||
:style="{ color: replay.praised ? '#2478ff' : '#b3bdc4' }"></span>
|
||||
<div class="count">{{ replay.praiseNum || 0 }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 查看更多 -->
|
||||
<div style="display: flex;justify-content: center;align-items: center;position:absolute;bottom:5px;cursor: pointer;width:100%">
|
||||
<div style="display: flex;justify-content: center;align-items: center;position:absolute;bottom:0px;cursor: pointer;width:100%">
|
||||
<span
|
||||
@click="lookMore(i)"
|
||||
style="font-size: 14px;color: #2478ff;">{{ i==spreadReply ? '收起' : '查看更多' }}</span>
|
||||
@@ -918,7 +918,7 @@ function submitReplayComment() {
|
||||
width: 41px;
|
||||
height: 41px;
|
||||
border-radius: 50%;
|
||||
background-image: url(../../assets/image/px.png);
|
||||
// background-image: url(../../assets/image/px.png);
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
@@ -1048,12 +1048,12 @@ function submitReplayComment() {
|
||||
}
|
||||
|
||||
.avaone {
|
||||
background-image: url(../../assets/image/px.png);
|
||||
// background-image: url(../../assets/image/px.png);
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.avatwo {
|
||||
background-image: url(../../assets/image/px.png);
|
||||
// background-image: url(../../assets/image/px.png);
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user