bug+首页用户行为记录

This commit is contained in:
xuhe@fangjia.com
2018-05-07 09:39:45 +08:00
parent 531b41184d
commit d7d56c287d
2 changed files with 76 additions and 17 deletions
+5 -2
View File
@@ -115,12 +115,16 @@ $("body").delegate(".open-about02", "click", function () {
}
var text = $(this).text().trim();
var eventType = "";
var dataMap = {};
if(text=="房租查询"){
cat = "rent"
eventType = "rentQueryClick";
}else{
cat = "district"
eventType = "priceQueryClick";
}
saveBehaviorLog(eventType,dataMap);//保存用户点击事件
$('.historyList').show();
$("#notFound").hide();
$('.hotList').show();
@@ -128,7 +132,6 @@ $("body").delegate(".open-about02", "click", function () {
addHotDistricts($("#input_city").text());
addHistory();
$.popup(".popup-about02")
$.popup(".popup-about02")
$("input").blur()
});