update
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
/**服务端地址**/
|
||||
//var BASE_PATH = "http://youfang.fangjia.com";
|
||||
//var BASE_PATH = "http://192.168.10.128:8084";
|
||||
<<<<<<< HEAD
|
||||
var BASE_PATH = "http://192.168.10.47:8086";
|
||||
//var BASE_PATH = "http://192.168.10.161:8084";
|
||||
=======
|
||||
//var BASE_PATH = "http://192.168.10.47:8086";
|
||||
>>>>>>> 9c25ef0b2e3f9e2a19df5038da587d6c53827469
|
||||
//var BASE_PATH = "http://192.168.10.53:8084";
|
||||
var BASE_PATH = "http://192.168.10.161:8084";
|
||||
//var BASE_PATH = "http://192.168.10.161:8084";
|
||||
//var BASE_PATH = "http://192.168.10.47:8086";
|
||||
var BASE_PATH = "http://192.168.10.53:8084";
|
||||
//var BASE_PATH = "http://192.168.10.161:8084";
|
||||
//var BASE_PATH = "http://192.168.10.170:8084";
|
||||
//var BASE_PATH = "http://192.168.10.171:8084";
|
||||
//var BASE_PATH = "http://192.168.10.164:8084";
|
||||
|
||||
@@ -542,8 +542,11 @@ function showRentChart2(categories, series, roomDatas){
|
||||
fontSize: 12
|
||||
},
|
||||
formatter: function (params) {
|
||||
var res = params[0].name + ' <br/>' + "租金:"+params[0].value + '元/月';
|
||||
return res;
|
||||
if(params[0].value){
|
||||
var res = params[0].name + ' <br/>' + "租金:"+params[0].value + '元/月';
|
||||
return res;
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
grid:{
|
||||
|
||||
@@ -1353,10 +1353,21 @@ document.addEventListener('plusready', onPlusReady, false);
|
||||
function onPlusReady() {
|
||||
var self = plus.webview.currentWebview();
|
||||
hsId = self.hsId
|
||||
// alert("index:"+hsId);
|
||||
houseId = self.houseId
|
||||
if(hsId){
|
||||
//如果是修改置换建议,则默认将值填入
|
||||
axios.get(BASE_PATH + "/rest/changeHouse/loadHouseSubInfo",{
|
||||
updateChangeSubtation(hsId);
|
||||
}
|
||||
|
||||
if(houseId){
|
||||
//小区报告页带入
|
||||
fillHouseInfo(houseId);
|
||||
}
|
||||
|
||||
}
|
||||
//修改置换建议填充默认值
|
||||
function updateChangeSubtation(hsId){
|
||||
axios.get(BASE_PATH + "/rest/changeHouse/loadHouseSubInfo",{
|
||||
params:{
|
||||
hsId:hsId
|
||||
}
|
||||
@@ -1398,7 +1409,22 @@ function onPlusReady() {
|
||||
}).catch(function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function fillHouseInfo(houseId){
|
||||
axios.get(BASE_PATH + "/rest/index/loadHouse",{
|
||||
params:{
|
||||
houseId:houseId
|
||||
}
|
||||
}).then(function (response) {
|
||||
var data = response.data.data;
|
||||
if(data){
|
||||
addBaseHouseInfo(data);
|
||||
baseInfo.houseId = hs.houseId
|
||||
}
|
||||
}).catch(function (error) {
|
||||
console.log(error);
|
||||
});
|
||||
}
|
||||
|
||||
//填充房产价格信息
|
||||
@@ -1819,7 +1845,6 @@ $("#citySearchInp").bind('keyup', function() {
|
||||
});
|
||||
|
||||
function openAddHouse(){
|
||||
alert("ssss")
|
||||
clicked('/views/house/add.html',true,false,{},{});
|
||||
}
|
||||
|
||||
|
||||
@@ -399,8 +399,7 @@ $(document).on('infinite', '.infinite-scroll-bottom', function() {
|
||||
});
|
||||
|
||||
function updateChangeHouse(){
|
||||
alert(hsId);
|
||||
clicked('views/changeHouse/index.html',true,false,{},{hsId:hsId});
|
||||
clicked('/views/changeHouse/index.html',true,false,{},{hsId:hsId});
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -303,5 +303,6 @@ function addSubstitution(sr, hs, house){
|
||||
// <a <#if advertisement.link?? && advertisement.link?length gt 0>onclick="openUrl('${basePath}/message/openView?url=${basePath}/mad/adUrlLoad?adid=${advertisement.id!?c}')"</#if> ><#if advertisement.content??>${advertisement.content!}</#if><i class="icon icon-right icon-right01"></i></a></p>
|
||||
// </#if>
|
||||
$("#suggestDiv").text(s);
|
||||
$("#suggestDiv").show();
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<h1 class="title">{{name}}</h1>
|
||||
</header>
|
||||
<div class="content">
|
||||
<div class="topBg topBg02" id="suggestDiv">
|
||||
<div class="topBg topBg02 dn" id="suggestDiv">
|
||||
<p>购买 龙盛佳苑 90-110㎡ 的房子,总价预计约为<em>587-717万</em>。<br><a href="">查看详情<i class="icon icon-right icon-right01"></i></a></p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user