This commit is contained in:
caicai8 2019-12-24 09:30:40 +08:00
parent 8963990c29
commit 82732f610a
2 changed files with 61 additions and 30 deletions

View File

@ -127,6 +127,37 @@
<script type="text/javascript" src="./js/jQuery-1.8.3.min.js"></script>
<script type="text/javascript">
$(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");
})
// 放大banner图
$(".photo_icon").on("click",function(){
if($(this).parents(".slider_panel").hasClass("active")){
$(this).parents(".slider_panel").removeClass("active");
}else{
$(this).parents(".slider_panel").addClass("active");
}
})
})
</script>
<script type="text/javascript" src="./js/jquery.easy_slides.js"></script>
<script type="text/javascript" src="./js/demo.js"></script>
<script>
@ -590,7 +621,7 @@
// })
});
</script>
<script src="./js/public.js"></script>
<!-- <script src="./js/public.js"></script> -->
<script src="./js/map.js"></script>
</body>

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB