diff --git a/fangija-zsyf/css/main.css b/fangija-zsyf/css/main.css index 22733e8..48b02b7 100644 --- a/fangija-zsyf/css/main.css +++ b/fangija-zsyf/css/main.css @@ -12,9 +12,13 @@ em{font-style:normal;color:#333;} em.up{color:#EB5F34;} em.down{color:#88D053;} */ + ::-webkit-scrollbar{display:none;} .bt{border-top:solid 0.5rem #f3f3f3;} .bb{border-bottom:solid 0.5rem #f3f3f3;} + +::../../images{display:none;} + .tac{text-align:center;} .dn{display:none;} .di{display:inline;} @@ -953,7 +957,8 @@ input::-webkit-input-placeholder{ .cardCity01 .card-header label{font-size:1rem;color:#333;} .cardCity01 .card-header .button{top:0.6rem;} .cardCity01 .card-content-inner{padding-bottom:5rem;} -.cardCity01 .card-footer{bottom:1rem;} + +.cardCity01 .card-footer{bottom:1.5rem;} .cardCity02{background:url(../images/rankingBg.png) no-repeat center 5rem;background-size:100%;padding:0 0.75rem;padding-top:2.5rem;padding-bottom:0.8rem;border-bottom:none;position:relative;} .cardCity02 .card-footer{background:rgba(255,255,255,0.7);border:solid 1px #e7e7e7;border-radius:0.4rem;padding-top:1.5rem;padding-bottom:0.5rem;bottom:0;} diff --git a/fangija-zsyf/images/cardBg01.png b/fangija-zsyf/images/cardBg01.png index c16e2d3..75e93bf 100644 Binary files a/fangija-zsyf/images/cardBg01.png and b/fangija-zsyf/images/cardBg01.png differ diff --git a/fangija-zsyf/images/rankingBg.png b/fangija-zsyf/images/rankingBg.png new file mode 100644 index 0000000..d5d66e7 Binary files /dev/null and b/fangija-zsyf/images/rankingBg.png differ diff --git a/fangija-zsyf/images/rankingCup02.png b/fangija-zsyf/images/rankingCup02.png new file mode 100644 index 0000000..1a825eb Binary files /dev/null and b/fangija-zsyf/images/rankingCup02.png differ diff --git a/fangija-zsyf/images/rankingCup03.png b/fangija-zsyf/images/rankingCup03.png new file mode 100644 index 0000000..32d659a Binary files /dev/null and b/fangija-zsyf/images/rankingCup03.png differ diff --git a/fangija-zsyf/images/rankingCup04.png b/fangija-zsyf/images/rankingCup04.png new file mode 100644 index 0000000..8c338f7 Binary files /dev/null and b/fangija-zsyf/images/rankingCup04.png differ diff --git a/fangija-zsyf/images/rankingCup05.png b/fangija-zsyf/images/rankingCup05.png new file mode 100644 index 0000000..a89fd12 Binary files /dev/null and b/fangija-zsyf/images/rankingCup05.png differ 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/js/user/assetsLevel.js b/fangija-zsyf/js/user/assetsLevel.js new file mode 100644 index 0000000..56556db --- /dev/null +++ b/fangija-zsyf/js/user/assetsLevel.js @@ -0,0 +1,20 @@ +//定义对象 +var assetsLevel = new Vue({ + el: '#assetsLevel', + data: { + level: "",//排名 + name: "",//昵称(有昵称显示昵称,没昵称显示手机号) + assets: ""//总资产 + } +}) + +function getAssetsLevelDetail(){ + +} + +document.addEventListener('plusready', onPlusReady, false); + +function onPlusReady(){ + //初始化数据 + getAssetsLevelDetail(); +} \ No newline at end of file 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) } diff --git a/fangija-zsyf/views/house/houseList.html b/fangija-zsyf/views/house/houseList.html index 52e4666..2e1fc6a 100644 --- a/fangija-zsyf/views/house/houseList.html +++ b/fangija-zsyf/views/house/houseList.html @@ -17,12 +17,13 @@ .list-block ul:before{height:0;} .icon-houseLevel{width:0.8rem;height:0.75rem;background:url(../../images/icon-houseLevel.png) no-repeat center center;background-size:100%;margin-right:0.3rem;vertical-align:-0.1rem;} .cardPrice01 .card-content{background:url(../../images/cardBg01.png) no-repeat center bottom;background-size:100%;} - .list-block .add{background:none;font-size:0.75rem;color:#F18D00;position:absolute;top:0;right:0;padding:0.5rem 0.75rem;} .list-block .add01{padding:0 0.5rem;top:1.1rem;right:0.75rem;} .list-block .add01a{top:inherit;bottom:0.75rem;right:0.75rem;} .list-block .item-title em{font-size:0.8rem;color:#EB5F34;} .list-block .item-title .tag small{font-size:80%;color:#F5A100;} + .cardPrice01 .card-footer span:nth-child(2){text-align:center;} + .list-block ul:before{height:0;} @@ -74,10 +75,10 @@ {{oneYearUpDownPrice}}万 - +
@@ -95,7 +96,8 @@ - + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index 7fdb6da..bf1be77 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -483,12 +483,12 @@ $(document).on("click",".confirm-ok", function () { function initMyHouseParams(){ mh_loading = false; mh_page = undefined; - var mh_pageSize = undefined; - var mh_totalPages = undefined; - var mh_totalRecords = undefined; - var mh_lastIndex = undefined; - var mh_itemsPerLoad = undefined; - var mh_maxItems = 100; + mh_pageSize = undefined; + mh_totalPages = undefined; + mh_totalRecords = undefined; + mh_lastIndex = undefined; + mh_itemsPerLoad = undefined; + mh_maxItems = 100; //清空构造的container $('#myhouse').html(''); // 删除加载提示符