|
|
@ -57,16 +57,6 @@ |
|
|
|
{{ noteDetail.title }} |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 标签 --> |
|
|
|
<view |
|
|
|
class="tags-section" |
|
|
|
v-if="noteDetail.tags && noteDetail.tags.length" |
|
|
|
> |
|
|
|
<view class="tag-item" v-for="tag in noteDetail.tags" :key="tag"> |
|
|
|
#{{ tag }} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 笔记内容 --> |
|
|
|
<view class="note-content"> |
|
|
|
<view class="content-text">{{ noteDetail.content }}</view> |
|
|
@ -113,9 +103,7 @@ |
|
|
|
<view class="comment-content"> |
|
|
|
<view class="comment-header"> |
|
|
|
<text class="comment-user">{{ comment.nickname }}</text> |
|
|
|
<text class="comment-time">{{ |
|
|
|
formatTime(comment.createTime) |
|
|
|
}}</text> |
|
|
|
<text class="comment-time">{{ comment.formatTime }}</text> |
|
|
|
</view> |
|
|
|
<text class="comment-text">{{ comment.content }}</text> |
|
|
|
</view> |
|
|
@ -725,7 +713,6 @@ export default { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
padding: 24rpx 32rpx 0; |
|
|
|
padding-bottom: max(env(safe-area-inset-bottom), 24rpx); |
|
|
|
|
|
|
|
.comment-input { |
|
|
|
flex: 1; |
|
|
@ -736,6 +723,7 @@ export default { |
|
|
|
font-size: 28rpx; |
|
|
|
border: none; |
|
|
|
margin-right: 16rpx; |
|
|
|
margin-bottom: max(env(safe-area-inset-bottom), 24rpx); |
|
|
|
} |
|
|
|
|
|
|
|
.send-btn { |
|
|
@ -749,6 +737,7 @@ export default { |
|
|
|
border: none; |
|
|
|
font-weight: 500; |
|
|
|
margin-right: 24rpx; |
|
|
|
margin-bottom: max(env(safe-area-inset-bottom), 24rpx); |
|
|
|
|
|
|
|
&:disabled { |
|
|
|
background: #ccc; |
|
|
@ -756,6 +745,8 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
.like-section { |
|
|
|
margin-bottom: max(env(safe-area-inset-bottom), 24rpx); |
|
|
|
|
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
gap: 8rpx; |
|
|
|