Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1
# Conflicts: # fangija-zsyf/views/user/userInfo.html
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<button class="button button-link button-nav pull-left" style="display: none;" onclick="back(),plus.nativeUI.closeWaiting();">
|
||||
<span class="icon icon-left"></span>
|
||||
</button>
|
||||
<button class="button button-link button-nav pull-right" onclick="clicked('../setting/setting.html', true)">
|
||||
<button class="button button-link button-nav pull-right" onclick="openSettingPage()">
|
||||
<span class="icon icon-set"></span>
|
||||
</button>
|
||||
</header>
|
||||
@@ -110,7 +110,7 @@
|
||||
<button class="button button-link button-nav pull-left" style="display: none;" onclick="back(),plus.nativeUI.closeWaiting();">
|
||||
<span class="icon icon-left"></span>
|
||||
</button>
|
||||
<button class="button button-link button-nav pull-right" onclick="clicked('../setting/setting.html', true)">
|
||||
<button class="button button-link button-nav pull-right" onclick="openSettingPage()">
|
||||
<span class="icon icon-set"></span>
|
||||
</button>
|
||||
</header>
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user