Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
whb
9 years ago
Commit
c6b8482d5bfa25fea1613f25103fd14648277c27
2 parents
bcfcc336
d24ef77a
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
static/js/common.js
static/js/product/list.js
static/js/common.js
View file @
c6b8482
...
...
@@ -191,7 +191,7 @@ function reMarginFooter(fixedElement) {
a
.
async
=
1
;
a
.
src
=
j
;
m
.
parentNode
.
insertBefore
(
a
,
m
);
})(
window
,
document
,
'script'
,
'http://cdn.yoho.cn/yas-jssdk/1.0.1
3.6.3/yas
.js'
,
'_yas'
);
})(
window
,
document
,
'script'
,
'http://cdn.yoho.cn/yas-jssdk/1.0.1
4/yas-debug
.js'
,
'_yas'
);
(
function
()
{
var
uid
=
getUid
();
...
...
@@ -201,7 +201,7 @@ function reMarginFooter(fixedElement) {
window
.
_ozuid
=
uid
;
//暴露ozuid
if
(
window
.
_yas
)
{
window
.
_yas
(
1
*
new
Date
(),
'1.0.1
3.6.3
'
,
'yohobuy_m'
,
uid
,
''
,
''
);
window
.
_yas
(
1
*
new
Date
(),
'1.0.1
4
'
,
'yohobuy_m'
,
uid
,
''
,
''
);
}
}());
...
...
static/js/product/list.js
View file @
c6b8482
...
...
@@ -238,16 +238,16 @@ function search(opt) {
if
(
window
.
_yas
)
{
switch
(
navType
)
{
case
'newest'
:
window
.
_yas
(
1
*
new
Date
(),
'1.0.13.6.3'
,
'yohobuy_m'
,
window
.
_ozuid
,
''
,
'.new-goods .good-info .good-detail-img .good-thumb'
);
window
.
_yas
(
1
*
new
Date
(),
'1.0.14'
,
'yohobuy_m'
,
window
.
_ozuid
,
''
,
$
(
'.new-goods .good-info .good-detail-img .good-thumb'
));
break
;
case
'price'
:
window
.
_yas
(
1
*
new
Date
(),
'1.0.13.6.3'
,
'yohobuy_m'
,
window
.
_ozuid
,
''
,
'.price-goods .good-info .good-detail-img .good-thumb'
);
window
.
_yas
(
1
*
new
Date
(),
'1.0.14'
,
'yohobuy_m'
,
window
.
_ozuid
,
''
,
$
(
'.price-goods .good-info .good-detail-img .good-thumb'
));
break
;
case
'discount'
:
window
.
_yas
(
1
*
new
Date
(),
'1.0.13.6.3'
,
'yohobuy_m'
,
window
.
_ozuid
,
''
,
'.discount-goods .good-info .good-detail-img .good-thumb'
);
window
.
_yas
(
1
*
new
Date
(),
'1.0.14'
,
'yohobuy_m'
,
window
.
_ozuid
,
''
,
$
(
'.discount-goods .good-info .good-detail-img .good-thumb'
));
break
;
}
}
...
...
Please
register
or
login
to post a comment