This commit is contained in:
xuhe@fangjia.com
2018-05-21 14:55:13 +08:00
parent 0870abf76f
commit e5908f8995
5 changed files with 66 additions and 16 deletions
+5 -5
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>区域均价排行</title>
<title>区域均价排名</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<link rel="shortcut icon" href="/favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
@@ -26,7 +26,7 @@
<button class="button button-link button-nav pull-right" onclick="share()">
<span class="icon icon-share"></span>
</button>
<h1 class="title">区域均价排行</h1>
<h1 class="title">区域均价排名</h1>
</header>
<div class="content infinite-scroll infinite-scroll-bottom" data-distance="50">
<div class="card cardPrice cardCity cardCity02">
@@ -109,8 +109,8 @@ $.config = {router: false}
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
<script>
var shareUrl = BASE_PATH+"/house/regionRankShare?";
var sharehrefTitle = "城市均价排名";
var sharehrefDes = "城市均价排名介绍!";
var sharehrefTitle = "区域均价排名";
var sharehrefDes = "区域均价排名!";
var shareId='';
var picUrl = '_www/images/default_share.png';
@@ -155,7 +155,7 @@ $.config = {router: false}
}
regionsRankVue.$data.region = msg[0].region;
regionsRankVue.$data.avgPrice = msg[0].avgPrice;
regionsRankVue.$data.oneMonthUpDownRange = msg[0].oneMonthUpDownRange;
regionsRankVue.$data.oneMonthUpDownRange = msg[0].oneMonthUpDownRange == "" ? "暂无" : msg[0].oneMonthUpDownRange;
regionsRankVue.$data.regionInfos = msg;
}else{
//控制显示无数据效果
@@ -92,7 +92,8 @@
<div v-else>{{item.rangeLevel}}</div>
</div>
<div class="col-25">{{item.city}}</div>
<div class="col-33">{{item.avgPrice}}元/㎡</div>
<div class="col-33" v-if="item.avgPrice && item.avgPrice >0">{{item.avgPrice}}元/㎡</div>
<div class="col-33" v-else>暂无</div>
<div class="col-25">
<span class="star">
<i v-if="item.index>0&&item.index<15" class="icon icon-star02"></i>
+1 -1
View File
@@ -434,7 +434,7 @@ function selectUserInfo(){
var mobile = result.mobile;
//加载个人信息时候为该变量赋值
_mobile = result.mobile;
$('#user_mobile').html(mobile.substring(0,3)+'****'+mobile.substring(7)+'<br><span class="tag"><!--<small>土豪</small>--></span>');
$('#user_mobile').html('<br><span class="tag"><small>'+mobile.substring(0,3)+'****'+mobile.substring(7)+'</small></span>');
if(result.headImg != null && result.headImg.length > 0){
$('#user_headImg').attr('src', result.headImg);
}