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

埋点信息等

上级 d08c48a8
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
v-for="(item , index) in dataList" v-for="(item , index) in dataList"
:key="index" :key="index"
class="coop-item" class="coop-item"
@click="jumpByAuthId(item)" @click="jumpByAuthType(item)"
> >
<div class="coop-item-left"> <div class="coop-item-left">
<img :src="item.attachmentUrl"> <img :src="item.attachmentUrl">
...@@ -75,11 +75,11 @@ export default { ...@@ -75,11 +75,11 @@ export default {
}, },
}, },
methods: { methods: {
jumpByAuthId(pInfo) { jumpByAuthType(pInfo) {
this.$sendBuriedData && this.$sendBuriedData({ this.$sendBuriedData && this.$sendBuriedData({
component_tag: '467#400141' component_tag: '467#400141'
}); });
if(pInfo.authId == 1) { if(pInfo.authType == 1) {
goNativePage(this, pInfo); goNativePage(this, pInfo);
} else { } else {
goPageByNative(this, `/lreport_ssr/?id=${pInfo.id}`); goPageByNative(this, `/lreport_ssr/?id=${pInfo.id}`);
......
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
"nuxt": "^2.0.0", "nuxt": "^2.0.0",
"v-charts": "^1.19.0", "v-charts": "^1.19.0",
"vant": "^2.2.13", "vant": "^2.2.13",
"vconsole": "^3.3.4" "vconsole": "^3.3.4",
"web-buried-point": "^2.1.0"
}, },
"devDependencies": { "devDependencies": {
"@nuxtjs/axios": "^5.5.4", "@nuxtjs/axios": "^5.5.4",
......
...@@ -3,15 +3,15 @@ import rocNative from '@/utils/jsbridge' ...@@ -3,15 +3,15 @@ import rocNative from '@/utils/jsbridge'
import echarts from 'echarts' import echarts from 'echarts'
import { Toast } from 'vant'; import { Toast } from 'vant';
// import { BASE_URL } from '@/utils/enumerate'; import { BASE_URL } from '@/utils/enumerate';
// const { NUXT_ENV_APP } = process.env; const { NUXT_ENV_APP } = process.env;
// import WebBuriedPoint, { sendBuriedData } from 'web-buried-point'; import WebBuriedPoint, { sendBuriedData } from 'web-buried-point';
// Vue.use(WebBuriedPoint, { Vue.use(WebBuriedPoint, {
// class_name: `template_v2`, class_name: `learning_report`,
// url: `${BASE_URL[NUXT_ENV_APP]}/file/log/trace1` url: `${BASE_URL[NUXT_ENV_APP]}/file/log/trace1`
// }); });
// Vue.prototype.$sendBuriedData = sendBuriedData; Vue.prototype.$sendBuriedData = sendBuriedData;
Vue.use(Toast); Vue.use(Toast);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册