提交 9ed52432 编写于 作者: guangjun.yang's avatar guangjun.yang

Merge branch 'dev-buryingpoint-0728' into release

* dev-buryingpoint-0728:
  关闭分享
  修改统计
  添加埋点

# Conflicts:
#	src/components/business/cell-list-detail.vue
......@@ -157,7 +157,7 @@ export default {
// });
// }
// this.gotoCourse(item, contentList, index, trySee);
let logId = null;
let appVersion = getAppVersion(this.userInfo.appVersion);
if (item.useFlag == 2) {
if(item.type == 1) {
......@@ -174,9 +174,17 @@ export default {
} else {
this.gotoExam(item.id);
}
logId = '882#88206';
} else if (item.type == 2) {
this.gotoCourse(item, contentList, index, trySee);
logId = '882#88205';
}
if (trySee) {
logId = '882#88204';
}
logId && this.$sendBuriedData({
component_tag: logId
});
},
// 如果此模块中没有考试,则直接退出;否则
......
......@@ -31,9 +31,9 @@ export default {
jumpToCardList() {
// 如果没有登录,则要去登录页面
// 打开页面埋点
// this.$sendBuriedData({
// component_tag: "880#8801"
// });
this.$sendBuriedData({
component_tag: "886#8865"
});
let appVersion = this.userInfo.appVersion;
let appVersionNum = appVersion.split('.').join('');
console.log('appVersionNum', appVersionNum);
......
......@@ -22,6 +22,7 @@
v-model="activationCode"
label="激活码"
placeholder="请输入激活码"
@click.native="onInputClick"
/>
<!-- <span>激活码</span>
<input type="text" maxlength="26" v-model="activationCode" placeholder="请输入激活码"> -->
......@@ -86,6 +87,9 @@ export default {
this.$emit("cancle");
},
confirm() {
this.$sendBuriedData({
component_tag: `882#88207`
});
if(!this.activationCode) {
this.errorMsg = '请输入激活码';
return;
......@@ -100,6 +104,11 @@ export default {
},
clear() {
this.activationCode = ''
},
onInputClick() {
this.$sendBuriedData({
component_tag: `882#88208`
});
}
}
};
......
......@@ -182,14 +182,17 @@ export default {
this.currentModelIndex = index;
this.listData =
this.titleTestModelList[index].firstSubjectModelList || [];
this.$sendBuriedData({
component_tag: model.titleCode === '1001' ? '886#8861' : (model.titleCode === '1002' ? '886#8862' : '886#8863')
});
},
// 跳转到项目页面
coopDetails(item) {
if (item.openFlag == 0) return;
// this.$sendBuriedData({
// component_tag: `880#8803#${item.id}#${item.name}` //'210#210002#0#'+item.projectName
// });
this.$sendBuriedData({
component_tag: `886#8864#${item.id}#${item.name}` //'210#210002#0#'+item.projectName
});
// 临时添加
if (window.__isWeb) {
......
......@@ -159,7 +159,7 @@ export default {
textContent: "",
leaderText: "",
pageTitle: "",
isShowShare: true,
isShowShare: false,
tabFlag: true, // 显示目录还是简介
fixedFlag: false, // 目录和简介是否固定
project: {
......@@ -472,15 +472,16 @@ export default {
// 跳转到原生的购买页面
confirm() {
this.$sendBuriedData({
component_tag: `882#88203`
});
let appVersion = this.userInfo.appVersion || "";
let appVersionNum = appVersion.split(".").join("");
if (appVersionNum < 344) {
Toast("请您下载新版本App");
return;
}
// this.$sendBuriedData({
// component_tag: `885#8852`
// });
// let pageUrl = this.project.examBtnUrl;
// 直接传入项目ID(projectId)
......@@ -598,6 +599,10 @@ export default {
changeClick(msg) {
console.log("in changeClick");
this.showChangeCard = true;
this.$sendBuriedData({
component_tag: `882#88202`
});
},
scrollFun() {
......@@ -766,6 +771,11 @@ export default {
if (!_this.hasBindCard) {
_this.preJumper();
}
// 请求成功后统计,获取项目名
this.$sendBuriedData({
component_tag: `882#88201#${_this.projectId}#${_this.project.projectName}`
});
}
});
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册