Commit 54d8e254 by chenwq

im埋点加字段

1 parent f331602b
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<div v-show="videoFullscreen"> <div v-show="videoFullscreen">
<!-- IM --> <!-- IM -->
<im v-if="LiveProps[liveDetail.status].isLive" :liveDetail="liveDetail" :isAction="isAction" class="Im"></im> <im v-if="LiveProps[liveDetail.status].isLive" :liveDetail="liveDetail" :isAction="isAction" :detail="detail" class="Im"></im>
<action :videoFullscreen="true" class="BgAction" v-show="isAction && !LiveProps[liveDetail.status].isLive"></action> <action :videoFullscreen="true" class="BgAction" v-show="isAction && !LiveProps[liveDetail.status].isLive"></action>
</div> </div>
</div> </div>
......
...@@ -50,6 +50,10 @@ export default { ...@@ -50,6 +50,10 @@ export default {
} }
}, },
props: { props: {
detail: {
type: Object,
default: () => { }
},
liveDetail: { liveDetail: {
type: Object, type: Object,
default: () => { default: () => {
...@@ -93,7 +97,15 @@ export default { ...@@ -93,7 +97,15 @@ export default {
const userId = userInfo.openid || userInfo.uuid const userId = userInfo.openid || userInfo.uuid
// const userId = userInfo.nickName || userInfo.userName // const userId = userInfo.nickName || userInfo.userName
const params = this.getLocalStorage('wx_scrm_link_params') || {} const params = this.getLocalStorage('wx_scrm_link_params') || {}
shopmallApi.getLiveSig({ userId: userId, sourceShopId: params.merchantId || '', visitSource: 'H5-众筹' }).then(res => { // sourceShopId-来源门店;visitSource-访问来源;bizType-业务类型(0-众筹);bizCode-业务标识(众筹-活动ID)
const obj = {
userId: userId,
sourceShopId: params.merchantId || '',
visitSource: 'H5-众筹',
bizType: 0,
bizCode: this.detail.id
}
shopmallApi.getLiveSig(obj).then(res => {
this.userSig = res.userSig this.userSig = res.userSig
this.initTim() this.initTim()
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!