From 3cbfd87acd437190869cbf052061c72d9d8c15b7 Mon Sep 17 00:00:00 2001 From: "xuhe@fangjia.com" Date: Thu, 12 Apr 2018 15:00:25 +0800 Subject: [PATCH 1/3] 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 @@