Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
梁志锋
9 years ago
Commit
bd57e6428c74fe15482632e3078df83c993aeaa4
1 parent
6c1ad566
升级yas到1.0.15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
static/js/common.js
static/js/product/list.js
static/js/common.js
View file @
bd57e64
...
...
@@ -191,7 +191,7 @@ function reMarginFooter(fixedElement) {
a
.
async
=
1
;
a
.
src
=
j
;
m
.
parentNode
.
insertBefore
(
a
,
m
);
})(
window
,
document
,
'script'
,
(
'https:'
==
document
.
location
.
protocol
?
'https'
:
'http'
)
+
'://'
+
'cdn.yoho.cn/yas-jssdk/1.0.1
4
/yas.js'
,
'_yas'
);
})(
window
,
document
,
'script'
,
(
'https:'
==
document
.
location
.
protocol
?
'https'
:
'http'
)
+
'://'
+
'cdn.yoho.cn/yas-jssdk/1.0.1
5
/yas.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
4
'
,
'yohobuy_m'
,
uid
,
''
,
''
);
window
.
_yas
(
1
*
new
Date
(),
'1.0.1
5
'
,
'yohobuy_m'
,
uid
,
''
,
''
);
}
}());
...
...
static/js/product/list.js
View file @
bd57e64
...
...
@@ -238,15 +238,15 @@ function search(opt) {
if
(
window
.
_yas
)
{
switch
(
navType
)
{
case
'newest'
:
window
.
_yas
(
1
*
new
Date
(),
'1.0.1
4
'
,
'yohobuy_m'
,
window
.
_ozuid
,
window
.
_yas
(
1
*
new
Date
(),
'1.0.1
5
'
,
'yohobuy_m'
,
window
.
_ozuid
,
''
,
$
(
'.new-goods .good-info .good-detail-img .good-thumb'
));
break
;
case
'price'
:
window
.
_yas
(
1
*
new
Date
(),
'1.0.1
4
'
,
'yohobuy_m'
,
window
.
_ozuid
,
window
.
_yas
(
1
*
new
Date
(),
'1.0.1
5
'
,
'yohobuy_m'
,
window
.
_ozuid
,
''
,
$
(
'.price-goods .good-info .good-detail-img .good-thumb'
));
break
;
case
'discount'
:
window
.
_yas
(
1
*
new
Date
(),
'1.0.1
4
'
,
'yohobuy_m'
,
window
.
_ozuid
,
window
.
_yas
(
1
*
new
Date
(),
'1.0.1
5
'
,
'yohobuy_m'
,
window
.
_ozuid
,
''
,
$
(
'.discount-goods .good-info .good-detail-img .good-thumb'
));
break
;
}
...
...
Please
register
or
login
to post a comment