forked from p51497208/geo_info_platform
主页搜索的问题
This commit is contained in:
parent
7613be5997
commit
3747c3124d
13
map.html
13
map.html
|
@ -127,7 +127,17 @@
|
||||||
<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>
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
//回车
|
||||||
|
$(document).keydown(function(event)
|
||||||
|
{
|
||||||
|
if(event.keyCode==13 && $(".search-input-item.prov").is(":focus"))
|
||||||
|
{
|
||||||
|
var name = $(".search-input-item.prov").val();
|
||||||
|
init(name);
|
||||||
|
}
|
||||||
|
});
|
||||||
var graphContainer = document.getElementById('mainGraph');
|
var graphContainer = document.getElementById('mainGraph');
|
||||||
var myChartGraph = echarts.init(graphContainer);
|
var myChartGraph = echarts.init(graphContainer);
|
||||||
|
|
||||||
|
@ -478,8 +488,9 @@
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// window.init = init;
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
||||||
$('.slider_one_big_picture').EasySlides({
|
$('.slider_one_big_picture').EasySlides({
|
||||||
'autoplay': true,
|
'autoplay': true,
|
||||||
'stepbystep': false,
|
'stepbystep': false,
|
||||||
|
|
Loading…
Reference in New Issue