diff --git a/pages/plugins/video/components/comment-info.vue b/pages/plugins/video/components/comment-info.vue index fea7848b..f10adb2c 100644 --- a/pages/plugins/video/components/comment-info.vue +++ b/pages/plugins/video/components/comment-info.vue @@ -212,6 +212,10 @@ font-size: 28rpx; color: #333333; line-height: 40rpx; + // 换行 + word-break: break-all; + overflow-wrap: break-word; + word-wrap: break-word; } .comment-time { diff --git a/pages/plugins/video/detail/detail-nvue.css b/pages/plugins/video/detail/detail-nvue.css index aa4a79b4..e80d7477 100644 --- a/pages/plugins/video/detail/detail-nvue.css +++ b/pages/plugins/video/detail/detail-nvue.css @@ -258,6 +258,9 @@ .mr-10 { margin-right: 20rpx; } +.ml-10 { + margin-left: 20rpx; +} .pr-10 { padding-right: 20rpx; } @@ -394,4 +397,5 @@ padding: 10rpx; border-radius: 16rpx; color: #fff; + box-sizing: border-box; } \ No newline at end of file diff --git a/pages/plugins/video/detail/detail.css b/pages/plugins/video/detail/detail.css index e3f867a3..0f6c746f 100644 --- a/pages/plugins/video/detail/detail.css +++ b/pages/plugins/video/detail/detail.css @@ -398,4 +398,5 @@ padding: 10rpx; border-radius: 16rpx; color: #fff; + box-sizing: border-box; } \ No newline at end of file diff --git a/pages/plugins/video/detail/detail.nvue b/pages/plugins/video/detail/detail.nvue index 8ab34d9a..86571fb0 100644 --- a/pages/plugins/video/detail/detail.nvue +++ b/pages/plugins/video/detail/detail.nvue @@ -156,33 +156,35 @@ - - - - @{{ isEmpty(comments_reply_data.user) ? '' : comments_reply_data.user.user_name_view }}:{{ comments_reply_data.content }} - - - + + + @{{ isEmpty(comments_reply_data.user) ? '' : comments_reply_data.user.user_name_view }}:{{ comments_reply_data.content }} + + - - {{ isEmpty(comment_input_value) ? $t('video-detail.video-detail.98yyuf') : comment_input_value }} - - - - + + + + + {{ isEmpty(comment_input_value) ? $t('video-detail.video-detail.98yyuf') : comment_input_value }} + + + + + - - - - - - + + + + + + - - - + + + diff --git a/pages/plugins/video/detail/detail.vue b/pages/plugins/video/detail/detail.vue index ffb91286..7cd1e3ab 100644 --- a/pages/plugins/video/detail/detail.vue +++ b/pages/plugins/video/detail/detail.vue @@ -140,46 +140,47 @@ - - - - @{{ comments_reply_data.user.user_name_view }}:{{ comments_reply_data.content }} - - - + + + @{{ comments_reply_data.user.user_name_view }}:{{ comments_reply_data.content }} + + - - - -