历史推荐';
+ }
if(dataObj[i].type=="专题"){
html += ''+
''+
@@ -1638,7 +1641,7 @@ function addItems(number, lastIndex) {
'
'+dataObj[i].recommendDistrictName+'
'+
'
'+dataObj[i].recommendDistrictCity+'-'+dataObj[i].recommendDistrictRegion+
'
';
- if(dataObj[i].recommendDistrictTags != ""){
+ if(dataObj[i].recommendDistrictTags != "" && dataObj[i].recommendDistrictTags != null){
var arry = dataObj[i].recommendDistrictTags.split("_");
html += '
';
for(var j in arry){
@@ -1646,9 +1649,11 @@ function addItems(number, lastIndex) {
}
html += '
';
}
- html += '
推荐指数:
'+
- '
'+dataObj[i].recommendDistrictPrice+'元/㎡
'+
- '';
+ html += '推荐指数:
';
+ if(dataObj[i].recommendDistrictPrice){
+ html += ''+dataObj[i].recommendDistrictPrice+'元/㎡
';
+ }
+ html += '';
}
if(dataObj[i].type=="活动"){
html += ''+
@@ -1659,7 +1664,7 @@ function addItems(number, lastIndex) {
if(dataObj[i].type=="推荐城市"){
html += '
'+
'';
- if(dataObj[i].recommendCityTags != ""){
+ if(dataObj[i].recommendCityTags != "" && dataObj[i].recommendCityTags != null){
var arry = dataObj[i].recommendCityTags.split("_");
html += '