Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-limited-sell-miniapp
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
肖亚东
6 years ago
Commit
4997e04570c1dfff49c9884d09f8c87cdc722799
1 parent
1cec4a67
返回app并跳至对应的页面
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
app/pages/product/detail/detail.js
app/pages/product/detail/detail.js
View file @
4997e04
...
...
@@ -141,7 +141,7 @@ Page(Object.assign({
let
originUid
=
parseInt
(
query
.
originUid
?
query
.
originUid
:
'0'
,
10
);
let
originUnionID
=
query
.
originUnionID
?
query
.
originUnionID
:
''
;
let
currentScene
=
app
.
globalData
.
currentScene
;
let
isGoApp
=
(
currentScene
==
1036
||
currentScene
==
10
69
)
?
true
:
false
;
let
isGoApp
=
(
currentScene
==
1036
||
currentScene
==
10
11
)
?
true
:
false
;
let
uid
=
app
.
getUid
();
let
scene
=
''
;
...
...
@@ -150,13 +150,16 @@ Page(Object.assign({
scene
=
query
.
scene
;
}
let
appParameter
=
`
http
:
//m.yohobuy.com?openby:yohobuy={\"action\":\"go.limitpurchase\",\"params\":{\"lp\":\"${limitProductCode}\"}}`;
this
.
setData
({
limitProductCode
,
originUid
,
originUnionID
,
uid
,
scene
,
isGoApp
isGoApp
,
appParameter
});
yas
=
new
Yas
(
app
);
// 实例化埋点
...
...
Please
register
or
login
to post a comment