diff --git a/fangija-zsyf/js/quotations/cityDetail.js b/fangija-zsyf/js/quotations/cityDetail.js index 2ba1351..466160d 100644 --- a/fangija-zsyf/js/quotations/cityDetail.js +++ b/fangija-zsyf/js/quotations/cityDetail.js @@ -641,6 +641,23 @@ function docollectCity(city, type){ }); } +function loadCityReport(city){ + axios.get('/rest/quotations/loadCityReport',{params:{city:city}}).then(function(response){ + if(response.status){ + var cityReport = response.data.data; + cityInfoVue.cityReport = cityReport; + } + }).catch(function(error){console.log(error)}); + +} +function paramCheck(param){ + if(typeof(param)=="undefined"||param==null||$.trim(param)==""){ + return false + }else{ + return true + } +} + diff --git a/fangija-zsyf/views/house/cityDetail.html b/fangija-zsyf/views/house/cityDetail.html index cfda17a..ae9fc02 100644 --- a/fangija-zsyf/views/house/cityDetail.html +++ b/fangija-zsyf/views/house/cityDetail.html @@ -100,7 +100,119 @@
- +
+
城市报告
+
+ +
+
+
+
    +
  • +
    +
    总人口:{{if(paramCheck(population)){population}else{"暂无"}}}(2017年常住人口)
    +
    +
  • +
  • +
    +
    面积:6340k㎡
    +
    +
  • +
  • +
    +
    发展指数:0.852(极高,2014年)
    +
    +
  • +
  • +
    +
    行政区级别:直辖市
    +
    +
  • +
+
+
+
+
+
    +
  • +
    +
    生产总值:30133.86亿元(2017年)
    +
    +
  • +
  • +
    +
    人均生产总值:124536元(2017年)
    +
    +
  • +
  • +
    +
    人均支配收入:58988元(2017年)
    +
    +
  • +
+
+
+
+
+
    +
  • +
    +
    著名景点:外滩、豫园、南京路、人民广场、静安寺、新天地、迪士尼乐园等
    +
    +
  • +
  • +
    +
    著名高校:复旦、交大、同济、华东师大等
    +
    +
  • +
+
+
+
+
+
    +
  • +
    +
    气候条件:亚热带季风气候
    +
    +
  • +
  • +
    +
    地理位置:长江入海口南岸,东海之滨
    +
    +
  • +
+
+
+
+
+
    +
  • +
    +
    机场:上海虹桥国际机场、上海浦东国际机场
    +
    +
  • +
  • +
    +
    火车站:上海站、上海虹桥站、上海南站
    +
    +
  • +
+
+
+
+
+
+ +
热门小区
@@ -166,7 +278,8 @@ function onPlusReady() { month:month, collecd:false, nears:[], - myCityMap : [] + myCityMap : [], + cityReport: [] } }); cityInfoVue.$data.city = city; @@ -175,7 +288,7 @@ function onPlusReady() { loadUpOrDown(city); loadHotDistrict(city) loadCityPricesAndCounts(city) - + loadCityReport(city) }