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 @@
+
+
+
+
+
-