Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
scrm-wx-merchant-activity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 875da74f
authored
Oct 12, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改埋点&修改直播样式
1 parent
29067597
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
src/api/bigdatautilApi.js
src/components/GroupModal.vue
src/components/LiveBox.vue
src/api/bigdatautilApi.js
View file @
875da74
...
@@ -26,7 +26,7 @@ const reportTrack = (id, view = 1, share_channel = '', url = commonUrl, method =
...
@@ -26,7 +26,7 @@ const reportTrack = (id, view = 1, share_channel = '', url = commonUrl, method =
const
userInfo
=
util
.
getUserInfo
()
const
userInfo
=
util
.
getUserInfo
()
const
params
=
util
.
getLocalStorage
(
'wx_scrm_link_params'
)
||
{}
const
params
=
util
.
getLocalStorage
(
'wx_scrm_link_params'
)
||
{}
const
ISWXWORK
=
util
.
getLocalStorage
(
'is_wxwork'
)
const
ISWXWORK
=
util
.
getLocalStorage
(
'is_wxwork'
)
if
(
!
userInfo
)
return
if
(
!
userInfo
)
return
if
(
ISWXWORK
)
{
if
(
ISWXWORK
)
{
if
(
userInfo
.
loginList
.
length
&&
userInfo
.
loginList
[
0
].
phone
)
userInfo
.
phone
=
userInfo
.
loginList
[
0
].
phone
if
(
userInfo
.
loginList
.
length
&&
userInfo
.
loginList
[
0
].
phone
)
userInfo
.
phone
=
userInfo
.
loginList
[
0
].
phone
}
}
...
@@ -42,7 +42,6 @@ const reportTrack = (id, view = 1, share_channel = '', url = commonUrl, method =
...
@@ -42,7 +42,6 @@ const reportTrack = (id, view = 1, share_channel = '', url = commonUrl, method =
sharedTime
=
''
sharedTime
=
''
}
}
let
data
=
{
let
data
=
{
open_id
:
userInfo
.
openid
||
userInfo
.
uuid
,
staff_id
:
(
params
&&
params
.
staffId
)
||
null
,
staff_id
:
(
params
&&
params
.
staffId
)
||
null
,
staff_uuid
:
(
params
&&
params
.
shareStaffUuid
)
||
null
,
staff_uuid
:
(
params
&&
params
.
shareStaffUuid
)
||
null
,
user_phone
:
(
params
&&
params
.
userPhone
)
||
null
,
user_phone
:
(
params
&&
params
.
userPhone
)
||
null
,
...
@@ -55,11 +54,14 @@ const reportTrack = (id, view = 1, share_channel = '', url = commonUrl, method =
...
@@ -55,11 +54,14 @@ const reportTrack = (id, view = 1, share_channel = '', url = commonUrl, method =
business_type
:
1
,
business_type
:
1
,
add_way
:
104
,
add_way
:
104
,
merchant_id
:
(
params
&&
params
.
merchantId
)
||
null
,
merchant_id
:
(
params
&&
params
.
merchantId
)
||
null
,
user_open_id
:
(
params
&&
params
.
openId
)
||
null
,
share_channel
:
share_channel
?
share_channel
:
null
,
share_channel
:
share_channel
?
share_channel
:
null
,
sharedTime
:
sharedTime
?
sharedTime
:
null
sharedTime
:
sharedTime
?
sharedTime
:
null
}
}
if
(
view
==
1
)
{
data
.
open_id
=
userInfo
.
openid
||
userInfo
.
uuid
data
.
user_open_id
=
(
params
&&
params
.
openId
)
||
null
}
if
(
view
==
4
)
data
.
user_open_id
=
userInfo
.
openid
||
userInfo
.
uuid
// 数据上报兼容
// 数据上报兼容
data
=
{
data
=
{
// method: 'entmicro.api.customercollect.reportCustomerList',
// method: 'entmicro.api.customercollect.reportCustomerList',
...
...
src/components/GroupModal.vue
View file @
875da74
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<img
src=
"@/assets/images/qr-bg.png"
/>
<img
src=
"@/assets/images/qr-bg.png"
/>
<img
:src=
"detail.groupQrCode"
class=
"qr xy-center"
/>
<img
:src=
"detail.groupQrCode"
class=
"qr xy-center"
/>
</div>
</div>
<div
class=
"btn"
@
click=
"save"
>
长按识别二维码加
群
</div>
<div
class=
"btn"
@
click=
"save"
>
长按识别二维码加
客服
</div>
</
template
>
</
template
>
</div>
</div>
<div
class=
"sprite-icon icon-close"
@
click
.
self=
"cancel"
></div>
<div
class=
"sprite-icon icon-close"
@
click
.
self=
"cancel"
></div>
...
...
src/components/LiveBox.vue
View file @
875da74
...
@@ -420,10 +420,10 @@ export default {
...
@@ -420,10 +420,10 @@ export default {
.fullscreen-btn
{
.fullscreen-btn
{
display
:
none
;
display
:
none
;
position
:
absolute
;
position
:
absolute
;
right
:
8
px
;
right
:
10
px
;
top
:
14px
;
top
:
14px
;
width
:
32
px
;
width
:
84
px
;
height
:
32
px
;
height
:
75
px
;
z-index
:
2
;
z-index
:
2
;
}
}
.poster-btn
{
.poster-btn
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment