forked from p51497208/geo_info_platform
Merge branch 'master' of http://git.trustie.net/qiubing/geo_info_platform
This commit is contained in:
commit
a4ac4db373
16
machine.html
16
machine.html
|
@ -140,17 +140,15 @@
|
||||||
if( array[i].input.indexOf(value) > -1 ){
|
if( array[i].input.indexOf(value) > -1 ){
|
||||||
flag = true;
|
flag = true;
|
||||||
answer = '<div class="rotWord"><span></span><p id="member">'+array[i].output+'</p></div>';
|
answer = '<div class="rotWord"><span></span><p id="member">'+array[i].output+'</p></div>';
|
||||||
continue;
|
setTimeout(function(){
|
||||||
|
$(".b_body").append(answer);
|
||||||
|
$(".b_body").scrollTop(10000000);
|
||||||
|
text.val('');
|
||||||
|
},500);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(flag){
|
ajax(args);
|
||||||
setTimeout(function(){
|
|
||||||
$(".b_body").append(answer);
|
|
||||||
$(".b_body").scrollTop(10000000);
|
|
||||||
},500);
|
|
||||||
}else{
|
|
||||||
ajax(args);
|
|
||||||
}
|
|
||||||
$(".b_body").scrollTop(10000000);
|
$(".b_body").scrollTop(10000000);
|
||||||
text.val('');
|
text.val('');
|
||||||
}
|
}
|
||||||
|
|
14
map.html
14
map.html
|
@ -127,7 +127,18 @@
|
||||||
<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();
|
||||||
|
$(".fixed-left").addClass("collpased").css({left:"0px"});
|
||||||
|
init(name);
|
||||||
|
}
|
||||||
|
});
|
||||||
var graphContainer = document.getElementById('mainGraph');
|
var graphContainer = document.getElementById('mainGraph');
|
||||||
var myChartGraph = echarts.init(graphContainer);
|
var myChartGraph = echarts.init(graphContainer);
|
||||||
|
|
||||||
|
@ -476,8 +487,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