diff --git a/fangija-zsyf/js/user/myHouse.js b/fangija-zsyf/js/user/myHouse.js index 914dfc1..8f5f0bf 100644 --- a/fangija-zsyf/js/user/myHouse.js +++ b/fangija-zsyf/js/user/myHouse.js @@ -79,7 +79,7 @@ function mhAddItems(itemsPerLoad, lastIndex, dataObj, xqOneMonthUpDownRangeMap, tempTotalPricePercent = (parseFloat(tempTotalPrice)*0.7/10000).toFixed(2); tempTotalPrice = (parseFloat(tempTotalPrice)/10000).toFixed(2); } - html += "
  • "; + html += '
  • '; html += "
    "; html += "
    "+result.name+" "+tempTotalPrice+"万"+result.liveStatus+"
    "; html += "
    "; diff --git a/fangija-zsyf/views/house/houseList.html b/fangija-zsyf/views/house/houseList.html index da795e6..9c7ab5c 100644 --- a/fangija-zsyf/views/house/houseList.html +++ b/fangija-zsyf/views/house/houseList.html @@ -93,6 +93,30 @@
    +
    + + - - + + + + diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index 9d87978..b3d8722 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -41,7 +41,7 @@ - @@ -110,7 +110,7 @@ - @@ -275,6 +275,9 @@ function checkIsLogin(){ $('#page-group-login').hide(); $('#page-group-nologin').show(); }else{ + //控制显示 + $('#page-group-nologin').hide(); + $('#page-group-login').show(); //加载个人信息 selectUserInfo(); //加载我的关注 @@ -283,9 +286,6 @@ function checkIsLogin(){ selectHouseInfoList(); //加载我的收藏 selectNewsCollectList(); - //控制显示 - $('#page-group-nologin').hide(); - $('#page-group-login').show(); } } @@ -301,7 +301,7 @@ function gotoUpdatePass(){ clicked('/views/user/updatePass.html',true,false,{},{},function(){}) } -//调整房产申请贷款 +//跳转房产申请贷款 function gotoLoanApply(houseId, city){ clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: city, mobile: _mobile},function(){}) } @@ -312,6 +312,12 @@ function gotoDistrictDetail(city,region,name){ alert(name) clicked('/views/district/detail.html',true,false,{},{city:city,region:region,name:name},function(){}) } +//跳转房产详情 +function gotoHouseDetail(id){ + clicked('/views/house/detail.html',true,false,{},{houseId:id},function(){ + }) +} + //注册'infinite'事件处理函数 $(document).on('infinite', '.infinite-scroll',function() { if($("#tabList1").hasClass("active")){ @@ -407,6 +413,11 @@ function selectUserInfo(){ }); } +function openSettingPage() { + clicked('../setting/setting.html',true,false,{},{},function(){ + checkIsLogin(); + }) +} $(document).ready(function () { checkIsLogin(); });