Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
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
陈峰
7 years ago
Commit
233fcd31379dd89ec3fee0aa49923263f4d9d8e4
2 parents
33bde4f6
5bf05c76
Merge branch 'hotfix/yas' into 'gray'
Hotfix/yas See merge request
!75
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
29 deletions
doraemon/views/partial/analysis.hbs
package.json
src/index.html
doraemon/views/partial/analysis.hbs
View file @
233fcd3
...
...
@@ -50,24 +50,11 @@
}
var
uid
=
getUid
()
||
queryString
().
uid
;
var isYohoBuy = /YohoBuy/i.test(navigator.userAgent || '');
var isIos = /\
(
i
[
^
;]
+
;(
U
;)?
CPU
.
+
Mac
OS
X
/
i
.
test
(
navigator
.
userAgent
||
''
);
var
isAndroid
=
/Android/i
.
test
(
navigator
.
userAgent
||
''
);
uid
=
uid
===
0
?
''
:
uid
;
window
.
_ozuid
=
uid
;
// 暴露ozuid
if
(
window
.
_yas
)
{
var
ak
=
'yohoblk_m'
;
if
(
isYohoBuy
)
{
if
(
isIos
)
{
ak
=
'yohobuy_ios'
;
}
else
if
(
isAndroid
)
{
ak
=
'yohobuy_android'
;
}
}
window
.
_yas
(
1
*
new
Date
(),
'2.4.14'
,
ak
,
uid
,
''
,
''
);
window
.
_yas
(
1
*
new
Date
(),
'2.4.14'
,
'yohoblk_m'
,
uid
,
''
,
''
);
}
}());
var
_hmt
=
_hmt
||
[];
...
...
package.json
View file @
233fcd3
{
"name"
:
"yohoblk-wap"
,
"version"
:
"2.0.3
6
"
,
"version"
:
"2.0.3
7
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
src/index.html
View file @
233fcd3
...
...
@@ -66,24 +66,11 @@
}
var
uid
=
getUid
()
||
queryString
().
uid
;
var
isYohoBuy
=
/YohoBuy/i
.
test
(
navigator
.
userAgent
||
''
);
var
isIos
=
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/i
.
test
(
navigator
.
userAgent
||
''
);
var
isAndroid
=
/Android/i
.
test
(
navigator
.
userAgent
||
''
);
uid
=
uid
===
0
?
''
:
uid
;
window
.
_ozuid
=
uid
;
// 暴露ozuid
if
(
window
.
_yas
)
{
var
ak
=
'yohoblk_m'
;
if
(
isYohoBuy
)
{
if
(
isIos
)
{
ak
=
'yohobuy_ios'
;
}
else
if
(
isAndroid
)
{
ak
=
'yohobuy_android'
;
}
}
window
.
_yas
(
1
*
new
Date
(),
'2.4.14'
,
ak
,
uid
,
''
,
''
);
window
.
_yas
(
1
*
new
Date
(),
'2.4.14'
,
'yohoblk_m'
,
uid
,
''
,
''
);
}
}());
var
_hmt
=
_hmt
||
[];
...
...
Please
register
or
login
to post a comment