This commit is contained in:
xuhe@fangjia.com
2018-04-12 15:00:25 +08:00
parent 7cdb392109
commit 3cbfd87acd
2 changed files with 45 additions and 26 deletions
+20 -10
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<title>房产分析</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<link rel="shortcut icon" href="/favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
@@ -83,19 +83,19 @@
<div class="topic">
<div class="topicContent" style="padding-left:0;padding-right:0;">
<div class="topicContent_center home">
<div onclick="window.location.href='01_index01_myHouse04_evaluationResult01_saleAnalysis01_index.html'">
<!--<div onclick="window.location.href='+BASE_PATH+'/saleAnalysis/index'">
<i class="icon icon-evaluation01"></i>
<span>出售分析</span>
</div>
<div onclick="window.location.href='01_index01_myHouse04_evaluationResult02_rentManagement01_index.html'">
</div>-->
<div onclick="openNewView('/views/rent/rent.html')">
<i class="icon icon-evaluation02"></i>
<span>出租管理</span>
</div>
<div onclick="window.location.href='01_index01_myHouse04_evaluationResult03_exchange01_index.html'">
<!--<div onclick="window.location.href='01_index01_myHouse04_evaluationResult03_exchange01_index.html'">
<i class="icon icon-evaluation03"></i>
<span>我要置换</span>
</div>
<div onclick="window.location.href='01_index01_myHouse04_evaluationResult04_loan01_inputInfo.html'">
</div>-->
<div onclick="openNewView('/views/loan/loanInfo.html')">
<i class="icon icon-personal03"></i>
<span>我要贷款</span>
</div>
@@ -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})
}
</script>
</body>