...
|
...
|
@@ -380,7 +380,7 @@ |
|
|
$('#city_text').css('color', '#333333');
|
|
|
$("#city_text").html((items[0] || {}).text + " " + (items[1] || {}).text + " " + (items[2] || {}).text);
|
|
|
var area = items[0].text+" "+items[1].text+" "+items[2].text;
|
|
|
$.ajax({
|
|
|
/* $.ajax({
|
|
|
url:"{:url('get_school')}",
|
|
|
type:"GET",
|
|
|
data:{'area':area},
|
...
|
...
|
@@ -388,6 +388,10 @@ |
|
|
if(res.code == 1){
|
|
|
var data = res.data;
|
|
|
var html = "";
|
|
|
var arr = [];
|
|
|
for(i=0;i<data.length;i++){
|
|
|
arr['']
|
|
|
}
|
|
|
console.log(data);
|
|
|
console.log(myschool);
|
|
|
school_s(myschool,mygrade);
|
...
|
...
|
@@ -398,7 +402,11 @@ |
|
|
error:function(res){
|
|
|
alert('与服务器断开连接')
|
|
|
}
|
|
|
})
|
|
|
})*/
|
|
|
$.get("{:url('get_school')}",{'area':area},function(data){
|
|
|
myschool = JSON.parse(data);
|
|
|
school_s(myschool,mygrade);
|
|
|
});
|
|
|
});
|
|
|
}, 200);
|
|
|
});
|
...
|
...
|
|