|
@@ -10,11 +10,13 @@ |
|
@@ -10,11 +10,13 @@ |
10
|
<p v-if="parentComment.createTime" class="comment-time">{{parentComment.createTime | time}}</p>
|
10
|
<p v-if="parentComment.createTime" class="comment-time">{{parentComment.createTime | time}}</p>
|
11
|
<p v-else class="comment-time">刚刚</p>
|
11
|
<p v-else class="comment-time">刚刚</p>
|
12
|
</div>
|
12
|
</div>
|
13
|
- <WidgetFav
|
|
|
14
|
- class="comment-fav"
|
|
|
15
|
- :comment-id="parentComment.id"
|
|
|
16
|
- :num="parentComment.praiseTotal"
|
|
|
17
|
- :option="favOption"></WidgetFav>
|
13
|
+ <div class="comment-nav-right">
|
|
|
14
|
+ <WidgetFav
|
|
|
15
|
+ class="comment-fav"
|
|
|
16
|
+ :comment-id="parentComment.id"
|
|
|
17
|
+ :num="parentComment.praiseTotal"
|
|
|
18
|
+ :option="favOption"></WidgetFav>
|
|
|
19
|
+ </div>
|
18
|
</div>
|
20
|
</div>
|
19
|
|
21
|
|
20
|
<CommentPlaceholder
|
22
|
<CommentPlaceholder
|
|
@@ -161,13 +163,15 @@ export default { |
|
@@ -161,13 +163,15 @@ export default { |
161
|
flex: 1;
|
163
|
flex: 1;
|
162
|
|
164
|
|
163
|
.comment-user-name {
|
165
|
.comment-user-name {
|
164
|
- font-size: 28px;
|
166
|
+ font-size: 0;
|
165
|
color: #222;
|
167
|
color: #222;
|
166
|
- line-height: 40px;
|
|
|
167
|
width: 100%;
|
168
|
width: 100%;
|
168
|
height: auto;
|
169
|
height: auto;
|
|
|
170
|
+ margin-top: 6px;
|
169
|
|
171
|
|
170
|
.name {
|
172
|
.name {
|
|
|
173
|
+ font-size: 28px;
|
|
|
174
|
+ line-height: 40px;
|
171
|
max-width: 300px;
|
175
|
max-width: 300px;
|
172
|
display: inline-block;
|
176
|
display: inline-block;
|
173
|
overflow: hidden;
|
177
|
overflow: hidden;
|
|
@@ -178,15 +182,17 @@ export default { |
|
@@ -178,15 +182,17 @@ export default { |
178
|
}
|
182
|
}
|
179
|
|
183
|
|
180
|
.comment-time {
|
184
|
.comment-time {
|
181
|
- font-size: 20px;
|
185
|
+ font-size: 26px;
|
182
|
color: #b0b0b0;
|
186
|
color: #b0b0b0;
|
183
|
- line-height: 28px;
|
187
|
+ line-height: 36px;
|
184
|
transform: scale(0.8);
|
188
|
transform: scale(0.8);
|
185
|
transform-origin: left;
|
189
|
transform-origin: left;
|
186
|
}
|
190
|
}
|
187
|
}
|
191
|
}
|
188
|
|
192
|
|
189
|
- .comment-fav {
|
193
|
+ .comment-nav-right {
|
|
|
194
|
+ display: flex;
|
|
|
195
|
+ align-items: center;
|
190
|
padding-right: 20px;
|
196
|
padding-right: 20px;
|
191
|
}
|
197
|
}
|
192
|
|
198
|
|