Merge branch 'YOUFANGAPP1.1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1.1
This commit is contained in:
@@ -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:{
|
||||
|
||||
@@ -189,6 +189,13 @@ var historyVue = new Vue({
|
||||
histories: histories
|
||||
},methods: {
|
||||
openHistoryDetail:function(index) {
|
||||
var eventType = "historyDistrictClick";
|
||||
var dataMap = {};
|
||||
dataMap["city"]=this.histories[index].city;
|
||||
dataMap["region"]=this.histories[index].region;
|
||||
dataMap["name"]=this.histories[index].name;
|
||||
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
|
||||
|
||||
if(cat == "rent"){
|
||||
clicked('views/rent/rent.html',true,false,{},{city:this.histories[index].city,region:this.histories[index].region,name:this.histories[index].name})
|
||||
}else{
|
||||
|
||||
@@ -75,11 +75,14 @@ function messageGoto(_this,operation,operationPage,mid){
|
||||
clicked('/views/message/detail.html',true,false,{},{mid:mid},function(){})
|
||||
}
|
||||
if(operation==1){
|
||||
var pages = operationPage+'.html';
|
||||
if(plus.webview.getWebviewById(pages)==null){
|
||||
plus.webview.create(pages, pages, subpage_style);
|
||||
}
|
||||
plus.webview.show(pages);
|
||||
// var pages = operationPage+'.html';
|
||||
// if(plus.webview.getWebviewById(pages)==null){
|
||||
// plus.webview.create(pages, pages, subpage_style);
|
||||
// }
|
||||
// plus.webview.show(pages);
|
||||
mui.fire(plus.webview.getWebviewById('HBuilder'),'switchView',{
|
||||
name:"views/house/houseDetail.html"
|
||||
});
|
||||
}
|
||||
if(operation==2){
|
||||
if (operationPage != null && operationPage != "") {
|
||||
|
||||
Reference in New Issue
Block a user