From d5658877e9f58566861646ca63221ef68e5d8a93 Mon Sep 17 00:00:00 2001 From: caicai8 <1149225589@qq.com> Date: Thu, 19 Dec 2019 18:35:32 +0800 Subject: [PATCH] =?UTF-8?q?ai=E5=AF=B9=E8=AF=9D=E5=A4=B4=E9=83=A8=E5=AF=BC?= =?UTF-8?q?=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/machine.css | 4 +++- js/public.js | 25 +++++++++++++++++++++++++ machine.html | 45 ++++++++++++++++++++++++++++++++++++++++++++- map.html | 28 +--------------------------- 4 files changed, 73 insertions(+), 29 deletions(-) create mode 100644 js/public.js diff --git a/css/machine.css b/css/machine.css index 9668980..187ba79 100644 --- a/css/machine.css +++ b/css/machine.css @@ -6,6 +6,8 @@ body{ background: #fff; background:url(../image/timg.jpg) no-repeat center center; background-size:contain; + padding-top:160px; + box-sizing: border-box; } .ai_title{ width: 100%; @@ -20,7 +22,7 @@ body{ width: 800px; height: 600px; background: rgba(0, 0, 0, .3); - margin: 100px auto 0; + margin: 0 auto; } .b_body { width: 100%; diff --git a/js/public.js b/js/public.js new file mode 100644 index 0000000..1a4f939 --- /dev/null +++ b/js/public.js @@ -0,0 +1,25 @@ +$(function(){ + $(".show_detail").hover(function(){ + $(this).find(".detail_info").show(); + },function(){ + $(this).find(".detail_info").hide(); + }) + $(".detail_info").on("click",".info_txt",function(){ + var key = $(this).attr("data-key"); + $(".search-input-item").removeClass("active"); + $("."+key).addClass("active"); + if(key === "voice"){ + $(".voicePanel").addClass("active"); + } + }) + + $(".carouselBottom").on("click",".bottomItem",function(){ + $(".bottomItem").removeClass("active"); + $(this).addClass("active"); + }) +}) + +// 取消语音录入 +function cancelVoice(){ + $(".voicePanel").removeClass("active"); +} \ No newline at end of file diff --git a/machine.html b/machine.html index b406c74..e2880b7 100644 --- a/machine.html +++ b/machine.html @@ -6,11 +6,54 @@ + + +
+
+

+ 基于知识图谱的兵要信息平台 +

+ +
+ +
-

对话机器人

AI对话 diff --git a/map.html b/map.html index 93469cc..20f9a3a 100755 --- a/map.html +++ b/map.html @@ -576,33 +576,7 @@ // }) }); - +