Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
f8c40f76
Commit
f8c40f76
authored
Feb 20, 2024
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释多余分销分享商品埋点
parent
7d4166db
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/pages/index/index.vue
+7
-4
No files found.
src/pages/index/index.vue
View file @
f8c40f76
...
@@ -247,10 +247,11 @@ export default {
...
@@ -247,10 +247,11 @@ export default {
offlineShopName
:
getQueryVariable
(
this
.
link
,
"offlineShopName"
),
offlineShopName
:
getQueryVariable
(
this
.
link
,
"offlineShopName"
),
});
});
}
}
this
.
saveSpokesmanShareGoodsLog
({
// console.log('saveSpokesmanShareGoodsLog-1')
link
:
this
.
link
,
// this.saveSpokesmanShareGoodsLog({
type
:
2
// link: this.link,
});
// type: 2
// });
this
.
page
=
""
;
this
.
page
=
""
;
this
.
params
=
""
;
this
.
params
=
""
;
}
else
if
(
options
.
from
&&
options
.
from
==
"h5login"
)
{
}
else
if
(
options
.
from
&&
options
.
from
==
"h5login"
)
{
...
@@ -392,6 +393,7 @@ export default {
...
@@ -392,6 +393,7 @@ export default {
}
}
this
.
params
+=
params
this
.
params
+=
params
log
.
info
(
"存入商品分享日志"
,
this
.
page
+
this
.
params
);
log
.
info
(
"存入商品分享日志"
,
this
.
page
+
this
.
params
);
console
.
log
(
'saveSpokesmanShareGoodsLog-2'
)
this
.
saveSpokesmanShareGoodsLog
({
this
.
saveSpokesmanShareGoodsLog
({
link
:
this
.
page
+
this
.
params
,
link
:
this
.
page
+
this
.
params
,
type
:
1
type
:
1
...
@@ -476,6 +478,7 @@ export default {
...
@@ -476,6 +478,7 @@ export default {
// 商品分享进入 (卡片分享、扫码、点击小程序链接)
// 商品分享进入 (卡片分享、扫码、点击小程序链接)
if
(
this
.
newPageUrl
.
includes
(
'/goods/'
)
&&
(
options
.
share
||
options
.
share_copy
))
{
if
(
this
.
newPageUrl
.
includes
(
'/goods/'
)
&&
(
options
.
share
||
options
.
share_copy
))
{
log
.
info
(
"存入商品分享日志"
,
this
.
newPageUrl
);
log
.
info
(
"存入商品分享日志"
,
this
.
newPageUrl
);
console
.
log
(
'saveSpokesmanShareGoodsLog-3'
)
this
.
saveSpokesmanShareGoodsLog
({
link
:
this
.
newPageUrl
,
type
:
2
});
this
.
saveSpokesmanShareGoodsLog
({
link
:
this
.
newPageUrl
,
type
:
2
});
}
}
this
.
init
();
this
.
init
();
...
...
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