From ca1565f161f8fc36ca72180d808a4f7a83d8d0ea Mon Sep 17 00:00:00 2001 From: "xuhe@fangjia.com" Date: Thu, 12 Apr 2018 13:17:49 +0800 Subject: [PATCH 01/12] aa --- fangija-zsyf/views/house/houseManageList.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fangija-zsyf/views/house/houseManageList.html b/fangija-zsyf/views/house/houseManageList.html index 4f192d4..959d1eb 100644 --- a/fangija-zsyf/views/house/houseManageList.html +++ b/fangija-zsyf/views/house/houseManageList.html @@ -150,6 +150,8 @@ function addManagement(id, houseStatus, liveStatus){ if(status){ $.toast(response.data.data); window.location.reload(); + plus.webview.getWebviewById('views/user/userInfo.html').reload(); + plus.webview.getWebviewById('yfindex.html').reload(); }else{ $.toast(response.data.message); } From d39ab229c1ff7d63ba45eac65f9826756ba798fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Thu, 12 Apr 2018 13:46:13 +0800 Subject: [PATCH 02/12] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/views/loan/loanSuccess.html | 2 +- fangija-zsyf/views/news/newsDetail.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fangija-zsyf/views/loan/loanSuccess.html b/fangija-zsyf/views/loan/loanSuccess.html index 4e7e5d5..7e7d1c8 100644 --- a/fangija-zsyf/views/loan/loanSuccess.html +++ b/fangija-zsyf/views/loan/loanSuccess.html @@ -3,7 +3,7 @@ -贷款申请 +贷款申请成功 diff --git a/fangija-zsyf/views/news/newsDetail.html b/fangija-zsyf/views/news/newsDetail.html index 132a80f..496090e 100644 --- a/fangija-zsyf/views/news/newsDetail.html +++ b/fangija-zsyf/views/news/newsDetail.html @@ -3,7 +3,7 @@ - +咨询详情 From cdb2ad5faaae145dcbb722ebff509dea3322370c Mon Sep 17 00:00:00 2001 From: zongzhimin Date: Thu, 12 Apr 2018 13:52:29 +0800 Subject: [PATCH 03/12] YOUFANG --- fangija-zsyf/js/user/myFocus.js | 2 +- fangija-zsyf/manifest.json | 13 ++++++++++++- fangija-zsyf/views/user/userInfo.html | 8 +++++++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/fangija-zsyf/js/user/myFocus.js b/fangija-zsyf/js/user/myFocus.js index 542a83f..84d4309 100644 --- a/fangija-zsyf/js/user/myFocus.js +++ b/fangija-zsyf/js/user/myFocus.js @@ -55,7 +55,7 @@ function addEstate(number, lastIndex) { } } html+= '
  • '+ - ''+ + ''+ '
    '+ '
    '+ '
    '+this.name+'
    '+ diff --git a/fangija-zsyf/manifest.json b/fangija-zsyf/manifest.json index f06e113..e4b9087 100644 --- a/fangija-zsyf/manifest.json +++ b/fangija-zsyf/manifest.json @@ -1613,7 +1613,10 @@ "images/topBg.png", "images/icon-set.png" ], - "refer": [], + "refer": [ + "views/user/passLogin.html", + "views/district/detail.html" + ], "priority": 0 }, "views/evaluate/evaluateList.html": { @@ -1635,6 +1638,14 @@ ], "refer": [], "priority": 0 + }, + "views/user/passLogin.html": { + "resources": [], + "refer": [ + "views/user/bindingMobile.html", + "views/user/codeSms.html" + ], + "priority": 0 } }, "idle": { diff --git a/fangija-zsyf/views/user/userInfo.html b/fangija-zsyf/views/user/userInfo.html index f66dc9a..9d87978 100644 --- a/fangija-zsyf/views/user/userInfo.html +++ b/fangija-zsyf/views/user/userInfo.html @@ -305,7 +305,13 @@ function gotoUpdatePass(){ function gotoLoanApply(houseId, city){ clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: city, mobile: _mobile},function(){}) } - +//跳转到小区详情 +function gotoDistrictDetail(city,region,name){ + alert(city) + alert(region) + alert(name) + clicked('/views/district/detail.html',true,false,{},{city:city,region:region,name:name},function(){}) +} //注册'infinite'事件处理函数 $(document).on('infinite', '.infinite-scroll',function() { if($("#tabList1").hasClass("active")){ From 719c9653ecde1a0de39e628ef82b90e407ca831a Mon Sep 17 00:00:00 2001 From: zongzhimin Date: Thu, 12 Apr 2018 14:03:37 +0800 Subject: [PATCH 04/12] YOUFANG --- fangija-zsyf/manifest.json | 18 +- fangija-zsyf/views/rent/rentManager.html | 280 +++++++++++------------ 2 files changed, 156 insertions(+), 142 deletions(-) diff --git a/fangija-zsyf/manifest.json b/fangija-zsyf/manifest.json index e4b9087..d8b62d5 100644 --- a/fangija-zsyf/manifest.json +++ b/fangija-zsyf/manifest.json @@ -1544,7 +1544,8 @@ "views/news/newsDetail.html", "error.html", "views/rent/rent.html", - "views/district/detail.html" + "views/district/detail.html", + "views/house/houseList.html" ], "priority": 0 }, @@ -1646,6 +1647,21 @@ "views/user/codeSms.html" ], "priority": 0 + }, + "views/house/houseList.html": { + "resources": [], + "refer": [ + "views/house/add.html", + "views/house/detail.html" + ], + "priority": 0 + }, + "views/house/add.html": { + "resources": [], + "refer": [ + "views/evaluate/evaluateReport.html" + ], + "priority": 0 } }, "idle": { diff --git a/fangija-zsyf/views/rent/rentManager.html b/fangija-zsyf/views/rent/rentManager.html index a801b0e..2599ff8 100644 --- a/fangija-zsyf/views/rent/rentManager.html +++ b/fangija-zsyf/views/rent/rentManager.html @@ -123,146 +123,86 @@ $.config = {router: false} - \ No newline at end of file From 3cbfd87acd437190869cbf052061c72d9d8c15b7 Mon Sep 17 00:00:00 2001 From: "xuhe@fangjia.com" Date: Thu, 12 Apr 2018 15:00:25 +0800 Subject: [PATCH 05/12] aa --- fangija-zsyf/views/house/detail.html | 30 +++++++++----- fangija-zsyf/views/house/houseManageList.html | 41 +++++++++++-------- 2 files changed, 45 insertions(+), 26 deletions(-) diff --git a/fangija-zsyf/views/house/detail.html b/fangija-zsyf/views/house/detail.html index 16db67f..c3780b7 100644 --- a/fangija-zsyf/views/house/detail.html +++ b/fangija-zsyf/views/house/detail.html @@ -3,7 +3,7 @@ - +房产分析 @@ -83,19 +83,19 @@
    -
    + +
    出租管理
    -
    + +
    我要贷款
    @@ -296,6 +296,9 @@ var lng; var city; var region; var name; +var oriCity; +var oriRegion; +var oriName; //扩展API加载完毕,现在可以正常调用扩展API function onPlusReady(){ var self = plus.webview.currentWebview(); @@ -344,9 +347,9 @@ function init(){ var houseInfo = response.data.data.houseInfo; lat = houseInfo.lat; lng = houseInfo.lng; - city = houseInfo.city; - region = houseInfo.region; - name = houseInfo.name; + oriCity = houseInfo.city; + oriRegion = houseInfo.region; + oriName = houseInfo.name; address = houseInfo.address; var text = houseInfo.name; var length = text.length; @@ -359,6 +362,9 @@ function init(){ if(response.data.data.rentRooms){ rentRooms = response.data.data.rentRooms; } + city = houseInfo.city; + region = houseInfo.region; + name = houseInfo.name; baseInfo.id=houseInfo.id; baseInfo.city = houseInfo.city; baseInfo.name = houseInfo.name; @@ -497,6 +503,10 @@ $("#tabRentDiv").on("click", function () { $("#tabChart2").css("z-index","1"); $("#tabChart1").css("z-index","-1"); }); +function openNewView(viewHtml) { + alert(viewHtml) + clicked(viewHtml,true,false,{},{city:oriCity,region:oriRegion,name:oriName}) +} diff --git a/fangija-zsyf/views/house/houseManageList.html b/fangija-zsyf/views/house/houseManageList.html index 959d1eb..8345eca 100644 --- a/fangija-zsyf/views/house/houseManageList.html +++ b/fangija-zsyf/views/house/houseManageList.html @@ -25,8 +25,14 @@ .list-block .item-subtitle div.price{position:absolute;bottom:-0.3rem;right:0;} .list-block .item-subtitle div.price em strong{font-size:1.4rem;color:#EB5F34;font-weight:bold;margin-right:0.1rem;} /**添加loading加载效果**/ - .loadingBg{width:100%;height:100%;background:#fff;overflow:hidden;position:absolute;top:71px;left:0;z-index:100;} - .loadingBg .infinite-scroll-preloader{margin-top:60%;} + .loadingBgDiv{width:100%;height:70%;background:#fff;overflow:hidden;position:absolute;top:2.2rem;left:0;z-index:100;} + .loadingBgDiv .infinite-scroll-preloader{margin-top:60%;} + .list-block{margin-bottom:4rem;} + .content-block{width:100%;background:#fff;position:fixed;bottom:0;z-index:10000;} + @media(min-height:750px){ + .list-block{margin-bottom:4.5rem;} + .content-block{bottom:4.5rem;} + } @@ -36,17 +42,13 @@