From b0e1ade92ec7478d38974c2e38c9944ecb0417e2 Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Tue, 4 Aug 2020 19:52:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=A1=A8=E6=83=85=E7=82=B9?= =?UTF-8?q?=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/html/chat_page.html | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/static/html/chat_page.html b/static/html/chat_page.html index 8b329a9..c79c38f 100644 --- a/static/html/chat_page.html +++ b/static/html/chat_page.html @@ -113,7 +113,7 @@
@@ -391,13 +391,6 @@ $('.faceBox').show(); } }); - $(".faceIcon").click(function(){ - debugger; - - var title=$(this).attr("title"); - _this.messageContent+="face"+title; - $('.faceBox').hide(); - }); }); }, //心跳 @@ -422,8 +415,9 @@ }; }, //表情点击事件 - showFace(){ - + faceIconClick(index){ + $('.faceBox').hide(); + this.messageContent+="face"+this.face[index].name; } }, created: function () {