Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
Plain Diff
Browse Files
Authored by
郝肖肖
2016-10-19 11:49:54 +0800
Commit
a39cec69ac2dc0bd04a744748b267aa593dc56c3
2 parents
e3af9afb
c7dc1f59
Merge branch 'feature/appDown' into release/5.1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
public/js/common.js
public/js/common/footer.js
public/js/common.js
View file @
a39cec6
...
...
@@ -203,8 +203,8 @@ $.extend({
$footer
.
removeClass
(
'hide'
);
// 接受微信商城或者第三方来源的数据埋点信息
if
(
queryString
().
union_type
)
{
setCookie
(
'union_type'
,
queryString
().
union_type
);
if
(
queryString
().
mkt_code
)
{
setCookie
(
'mkt_code'
,
queryString
().
mkt_code
);
}
}());
...
...
public/js/common/footer.js
View file @
a39cec6
...
...
@@ -19,7 +19,7 @@ function downLoadApp() {
var
clickedAt
=
new
Date
();
setTimeout
(
function
()
{
var
mkt
=
window
.
queryString
.
union_type
||
window
.
cookie
(
'union_typ
e'
)
||
false
;
var
mkt
=
window
.
queryString
.
mkt_code
||
window
.
cookie
(
'mkt_cod
e'
)
||
false
;
if
((
new
Date
())
-
clickedAt
<
2000
)
{
if
(
mkt
)
{
...
...
Please
register
or
login
to post a comment