Merge branch 'YOUFANGAPP1.1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1.1

This commit is contained in:
zongzhimin
2018-05-07 15:23:10 +08:00
6 changed files with 70 additions and 6 deletions
+18
View File
@@ -549,6 +549,24 @@ function onPlusReady(){
checkIsLogin();
}
$("a[href='#tabList1'],a[href='#tabList2'],a[href='#tabList3']").click(function(){
var eventType = "";
var type = $(this).text();
if(type.indexOf("房产") >= 0){
eventType = "userInfo_manageHouseClick";
}else if(type.indexOf("关注") >= 0){
eventType = "userInfo_attentionClick";
}else if(type.indexOf("收藏") >= 0){
eventType = "userInfo_collectClick";
}
saveLog(eventType)
})
function saveLog(eventType){
var dataMap = {};
saveBehaviorLog(eventType,dataMap); //保存用户点击事件
}
saveLog("userInfo_manageHouseClick");//默认第一次会调到该方法
</script>
</body>