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 @@ // }) }); - +