From d2c7c74962151798aac3f84b06178d5af6e9b7de Mon Sep 17 00:00:00 2001 From: "xuhe@fangjia.com" Date: Thu, 12 Apr 2018 17:15:15 +0800 Subject: [PATCH] aa --- fangija-zsyf/views/component/nearDist.js | 7 +++++++ fangija-zsyf/views/house/detail.html | 10 ++++++++-- fangija-zsyf/views/house/houseManageList.html | 1 - fangija-zsyf/views/intelligentHouse/aroundDetail.html | 11 +++++++---- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/fangija-zsyf/views/component/nearDist.js b/fangija-zsyf/views/component/nearDist.js index 9a860e4..aa13d18 100644 --- a/fangija-zsyf/views/component/nearDist.js +++ b/fangija-zsyf/views/component/nearDist.js @@ -40,6 +40,13 @@ Vue.component('near-dist-component', { if(o.city == city && o.district == region && o.name == name){ continue; }else{ + var textName = o.name; + var length = textName.length; + var textStr = textName; + if(length > 5){ + textStr = textName.substr(0,5)+ "..."; + } + o.name=textStr; if(ret.length <= 5){ ret.push(o); } diff --git a/fangija-zsyf/views/house/detail.html b/fangija-zsyf/views/house/detail.html index f49b153..fb8b242 100644 --- a/fangija-zsyf/views/house/detail.html +++ b/fangija-zsyf/views/house/detail.html @@ -33,6 +33,8 @@ .tabChart2{z-index:-1;} .mark-icon-box .mark-icon {width: 20px;height: 30px;display: block;cursor: pointer;font-size: 14px; color: #fff;font-weight: bold;text-align: center;line-height: 24px;background: url(../../images/dw.png) no-repeat;} .mark-icon-box {width:24px;height:30px;position:absolute;z-index:98;} + .loadingBg{width:100%;height:100%;background:#fff;overflow:hidden;position:absolute;top:11px;left:0;z-index:100;} + .loadingBg .infinite-scroll-preloader{margin-top:30%;} @@ -41,6 +43,11 @@
+
+
+
+
+
-