diff --git a/lib/pages/message/chat_page.dart b/lib/pages/message/chat_page.dart index 06f0d64..5603578 100644 --- a/lib/pages/message/chat_page.dart +++ b/lib/pages/message/chat_page.dart @@ -103,6 +103,8 @@ class _ChatPageState extends State { // 显示礼物弹窗 void _showGiftPopup() { + // 隐藏键盘 + FocusScope.of(context).unfocus(); final giftProducts = _controller.giftProducts.toList(); if (giftProducts.isEmpty) { SmartDialog.showToast('礼物列表加载中,请稍候...');