This commit is contained in:
parent
8963990c29
commit
82732f610a
33
Index.html
33
Index.html
|
@ -127,6 +127,37 @@
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript" src="./js/jQuery-1.8.3.min.js"></script>
|
<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/jquery.easy_slides.js"></script>
|
||||||
<script type="text/javascript" src="./js/demo.js"></script>
|
<script type="text/javascript" src="./js/demo.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
@ -590,7 +621,7 @@
|
||||||
// })
|
// })
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<script src="./js/public.js"></script>
|
<!-- <script src="./js/public.js"></script> -->
|
||||||
|
|
||||||
<script src="./js/map.js"></script>
|
<script src="./js/map.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Loading…
Reference in New Issue