diff --git a/pages/plugins/video/components/search.vue b/pages/plugins/video/components/search.vue index 677519a8..b6ad4d6c 100644 --- a/pages/plugins/video/components/search.vue +++ b/pages/plugins/video/components/search.vue @@ -4,7 +4,12 @@ - + + + + + + {{$t('common.search')}} diff --git a/pages/plugins/video/detail/detail.nvue b/pages/plugins/video/detail/detail.nvue index 426e51e6..de76776a 100644 --- a/pages/plugins/video/detail/detail.nvue +++ b/pages/plugins/video/detail/detail.nvue @@ -225,7 +225,7 @@ - + @@ -875,7 +875,8 @@ }, // 关闭评论区 close_comment_modal(e) { - try { + try { + this.active_dropdown_id = null; this.show_comment_modal = false; this.comment_scroll_top = 0 + Math.random(); // 关闭评论时滚动到最顶部 @@ -891,6 +892,10 @@ if (this.comment_move_throttle_timer) { clearTimeout(this.comment_move_throttle_timer); this.comment_move_throttle_timer = null; + } + + if (this.$refs.commentRef) { + this.$refs.commentRef.blur(); } } catch (error) { console.error('close_comment_modal error:', error); @@ -1305,7 +1310,7 @@ }, // 删除回复评论数据 comment_data_delete() { - try { + try { this.active_dropdown_id = null; this.comments_reply_data = {}; } catch (error) { @@ -1654,6 +1659,7 @@ add_comment() { try { //#ifndef H5 + this.active_dropdown_id = null; this.is_add_comment = true; this.active_dropdown_id = null; //#endif