Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into xh-youfangApp1.1
# Conflicts: # fangija-zsyf/yfindex.html
This commit is contained in:
@@ -1244,8 +1244,7 @@ function getPosition(){
|
||||
}
|
||||
localStorage.setItem("init_city", city);
|
||||
addLocation(lat,lng);
|
||||
/* city="北京"
|
||||
$("#input_city").text(city);*/
|
||||
|
||||
|
||||
initBaseInfo(city,region,address,lat,lng);
|
||||
if(city!="上海"){
|
||||
@@ -1273,18 +1272,7 @@ function getPosition(){
|
||||
}
|
||||
|
||||
/* 获取#region字数,截取#region前4字,并添加... */
|
||||
/*city="北京"
|
||||
$("#input_city").text(city);
|
||||
initBaseInfo(city,"","",0,0);
|
||||
initRegionSelect(city);
|
||||
if(city!="上海"){
|
||||
initRegionSelect(city);
|
||||
$("#ShangHaiDiv").hide();
|
||||
$("#otherCityDiv").show();
|
||||
}else{
|
||||
$("#ShangHaiDiv").show();
|
||||
$("#otherCityDiv").hide();
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1384,9 +1372,11 @@ function initNearDistricts(cityParam,latParam,lngParam,regionParam,order,minPric
|
||||
|
||||
if(cityParam=="上海"){
|
||||
if(response.data.data.dtos.length==0){
|
||||
|
||||
$("#nearAddress").hide();
|
||||
$("#nearDistricts").hide();
|
||||
}else{
|
||||
|
||||
$("#nearAddress").show();
|
||||
$("#nearDistricts").show();
|
||||
}
|
||||
@@ -1526,6 +1516,7 @@ function addItems(number, lastIndex) {
|
||||
if(i>=lastIndex){
|
||||
if((dataObj.length<lastIndex + number) || (i < lastIndex + number)){
|
||||
if(dataObj[i].type=="专题"){
|
||||
|
||||
html += '<div class="card cardInfo cardInfo01" onclick="openNewsView(\''+dataObj[i].id+'\')">'+
|
||||
'<img src='+dataObj[i].coverImg+'>'+
|
||||
'<div class="cardInfoMask"></div>'+
|
||||
@@ -1630,6 +1621,7 @@ function addItems(number, lastIndex) {
|
||||
}
|
||||
//district/details?city=上海®ion=长宁&name=新泾三村
|
||||
html += '<li>'+
|
||||
|
||||
'<a onclick="openUrl(\''+BASE_PATH+'/district/details?city='+dataObj2[i].city+'®ion='+dataObj2[i].region+'&name='+dataObj2[i].districtName+'\')" class="item-link external item-content">'+
|
||||
'<div class="item-inner"><div class="item-title-row"><div class="item-title">'+
|
||||
dataObj2[i].districtName+'</div><div class="item-after">¥'+dataObj2[i].avgPrice+'元/㎡</div></div><div class="item-title-row"><div class="item-title"><small>'+
|
||||
|
||||
Reference in New Issue
Block a user