...
|
...
|
@@ -10,11 +10,13 @@ |
|
|
<p v-if="parentComment.createTime" class="comment-time">{{parentComment.createTime | time}}</p>
|
|
|
<p v-else class="comment-time">刚刚</p>
|
|
|
</div>
|
|
|
<WidgetFav
|
|
|
class="comment-fav"
|
|
|
:comment-id="parentComment.id"
|
|
|
:num="parentComment.praiseTotal"
|
|
|
:option="favOption"></WidgetFav>
|
|
|
<div class="comment-nav-right">
|
|
|
<WidgetFav
|
|
|
class="comment-fav"
|
|
|
:comment-id="parentComment.id"
|
|
|
:num="parentComment.praiseTotal"
|
|
|
:option="favOption"></WidgetFav>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<CommentPlaceholder
|
...
|
...
|
@@ -161,13 +163,15 @@ export default { |
|
|
flex: 1;
|
|
|
|
|
|
.comment-user-name {
|
|
|
font-size: 28px;
|
|
|
font-size: 0;
|
|
|
color: #222;
|
|
|
line-height: 40px;
|
|
|
width: 100%;
|
|
|
height: auto;
|
|
|
margin-top: 6px;
|
|
|
|
|
|
.name {
|
|
|
font-size: 28px;
|
|
|
line-height: 40px;
|
|
|
max-width: 300px;
|
|
|
display: inline-block;
|
|
|
overflow: hidden;
|
...
|
...
|
@@ -178,15 +182,17 @@ export default { |
|
|
}
|
|
|
|
|
|
.comment-time {
|
|
|
font-size: 20px;
|
|
|
font-size: 26px;
|
|
|
color: #b0b0b0;
|
|
|
line-height: 28px;
|
|
|
line-height: 36px;
|
|
|
transform: scale(0.8);
|
|
|
transform-origin: left;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.comment-fav {
|
|
|
.comment-nav-right {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
padding-right: 20px;
|
|
|
}
|
|
|
|
...
|
...
|
|