提交个人
This commit is contained in:
@@ -257,6 +257,9 @@ $(".cardInfo01,.cardInfo02").on("click", function(){
|
|||||||
//初始化init
|
//初始化init
|
||||||
$.init();
|
$.init();
|
||||||
|
|
||||||
|
//定义个人手机号,贷款页面需要传参数
|
||||||
|
var _mobile;
|
||||||
|
|
||||||
var tab = new Vue({
|
var tab = new Vue({
|
||||||
el:"#tab",
|
el:"#tab",
|
||||||
data:{
|
data:{
|
||||||
@@ -298,6 +301,11 @@ function gotoUpdatePass(){
|
|||||||
clicked('/views/user/updatePass.html',true,false,{},{},function(){})
|
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(){})
|
||||||
|
}
|
||||||
|
|
||||||
//注册'infinite'事件处理函数
|
//注册'infinite'事件处理函数
|
||||||
$(document).on('infinite', '.infinite-scroll',function() {
|
$(document).on('infinite', '.infinite-scroll',function() {
|
||||||
if($("#tabList1").hasClass("active")){
|
if($("#tabList1").hasClass("active")){
|
||||||
@@ -382,6 +390,8 @@ function selectUserInfo(){
|
|||||||
}).then(function (response) {
|
}).then(function (response) {
|
||||||
var result = response.data.data;
|
var result = response.data.data;
|
||||||
var mobile = result.mobile;
|
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(mobile.substring(0,3)+'****'+mobile.substring(7)+'<br><span class="tag"><!--<small>土豪</small>--></span>');
|
||||||
if(result.headImg != null && result.headImg.length > 0){
|
if(result.headImg != null && result.headImg.length > 0){
|
||||||
$('#user_headImg').attr('src', result.headImg);
|
$('#user_headImg').attr('src', result.headImg);
|
||||||
|
|||||||
Reference in New Issue
Block a user