diff --git a/pages/notes/detail.vue b/pages/notes/detail.vue index 2d86d35..1b316d5 100644 --- a/pages/notes/detail.vue +++ b/pages/notes/detail.vue @@ -57,16 +57,6 @@ {{ noteDetail.title }} - - - - #{{ tag }} - - - {{ noteDetail.content }} @@ -113,9 +103,7 @@ {{ comment.nickname }} - {{ - formatTime(comment.createTime) - }} + {{ comment.formatTime }} {{ comment.content }} @@ -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;