Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
group-buy-ui
Commits
c313c9c5
Commit
c313c9c5
authored
Sep 29, 2021
by
beisir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:埋点确认
parent
52fe0074
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
6 deletions
+19
-6
groupShare.vue
src/components/groupShare.vue
+10
-1
goodsCard.vue
src/views/goodsList/components/goodsCard.vue
+1
-1
List.vue
src/views/orderList/components/List.vue
+8
-4
No files found.
src/components/groupShare.vue
View file @
c313c9c5
...
@@ -20,6 +20,8 @@ import { EventBus } from '@/service/utils.service';
...
@@ -20,6 +20,8 @@ import { EventBus } from '@/service/utils.service';
import
{
isApp
,
isWxMp
}
from
'
@/service/validation.service
'
;
import
{
isApp
,
isWxMp
}
from
'
@/service/validation.service
'
;
import
qs
from
'
qs
'
;
import
qs
from
'
qs
'
;
import
config
from
'
@/config
'
;
import
config
from
'
@/config
'
;
import
{
saTrackEvent
}
from
'
@/service/sa.service
'
;
export
default
{
export
default
{
name
:
'
GroupShare
'
,
name
:
'
GroupShare
'
,
components
:
{
components
:
{
...
@@ -189,10 +191,17 @@ export default {
...
@@ -189,10 +191,17 @@ export default {
// 直接进行小程序海报页面跳转
// 直接进行小程序海报页面跳转
this
.
openTenetPosterUrl
();
this
.
openTenetPosterUrl
();
}
}
let
sharePicData
=
this
.
sharePicData
;
saTrackEvent
(
'
H5_GroupZeroYuanPurchaseActivityPageSharePopupWindowBtnClick
'
,
{
sku_no
:
sharePicData
.
skuNo
||
''
,
buttons_name
:
ev
,
activity_id
:
sharePicData
.
activityId
||
''
,
page_title
:
sharePicData
.
skuName
||
''
,
group_id
:
sharePicData
.
groupBuyGroupId
||
''
});
},
},
emitRunPostMessage
()
{
emitRunPostMessage
()
{
const
shareDic
=
this
.
shareInfo
;
const
shareDic
=
this
.
shareInfo
;
console
.
log
(
shareDic
);
this
.
nativeBridge
.
run
({
this
.
nativeBridge
.
run
({
event
:
'
showShareView
'
,
event
:
'
showShareView
'
,
data
:
{
data
:
{
...
...
src/views/goodsList/components/goodsCard.vue
View file @
c313c9c5
...
@@ -105,7 +105,7 @@ export default {
...
@@ -105,7 +105,7 @@ export default {
const
{
s
}
=
this
.
btnByStatus
;
const
{
s
}
=
this
.
btnByStatus
;
if
(
s
===
2
)
{
if
(
s
===
2
)
{
saTrackEvent
(
'
H5_GroupZeroYuanPurchaseActivityPageOpenGroupImmediatelyBtnClick
'
,
{
saTrackEvent
(
'
H5_GroupZeroYuanPurchaseActivityPageOpenGroupImmediatelyBtnClick
'
,
{
skuNo
sku
_no
:
sku
No
});
});
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'
/groupBuy/skuInfo
'
,
path
:
'
/groupBuy/skuInfo
'
,
...
...
src/views/orderList/components/List.vue
View file @
c313c9c5
...
@@ -167,6 +167,10 @@ export default {
...
@@ -167,6 +167,10 @@ export default {
});
});
},
},
goGroupDetails
(
skuInfo
)
{
goGroupDetails
(
skuInfo
)
{
saTrackEvent
(
'
H5_MyPuzzlePageGroupOrderBtnClick
'
,
{
sku_no
:
skuInfo
.
skuList
[
0
].
skuNo
,
group_id
:
skuInfo
.
activityHundredGroupId
});
if
(
isWxMp
)
{
if
(
isWxMp
)
{
this
.
nativeBridge
.
openNewUrl
({
this
.
nativeBridge
.
openNewUrl
({
newUrl
:
`/pages/order/orderDetail?orderNo=
${
skuInfo
.
orderNo
}
`
newUrl
:
`/pages/order/orderDetail?orderNo=
${
skuInfo
.
orderNo
}
`
...
@@ -200,11 +204,11 @@ export default {
...
@@ -200,11 +204,11 @@ export default {
}
}
},
},
async
openShareEvent
(
item
)
{
async
openShareEvent
(
item
)
{
this
.
$emit
(
'
option-click
'
,
{
...
item
.
skuList
[
0
],
eventType
:
'
share
'
});
saTrackEvent
(
'
H5_MyPuzzlePageInviteFriendsBtnClick
'
,
{
saTrackEvent
(
'
H5_MyPuzzlePageGroupOrderBtnClick
'
,
{
sku_no
:
item
.
skuList
[
0
].
skuNo
,
sku_no
:
''
,
group_id
:
item
.
activityHundredGroupId
leader_user_id
:
''
});
});
this
.
$emit
(
'
option-click
'
,
{
...
item
.
skuList
[
0
],
eventType
:
'
share
'
});
},
},
toDetail
(
goodsItem
)
{
toDetail
(
goodsItem
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment