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
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
7 years ago
Commit
66bb25c64be802f3da47962ebf17e590e5cc9655
1 parent
14ea57bf
maybe-like
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
public/js/cart/pay.page.js
public/js/channel/maybe-like.js
public/js/cart/pay.page.js
View file @
66bb25c
...
...
@@ -64,12 +64,11 @@ function getGender() {
require
(
'channel/maybe-like'
)({
gender
:
getGender
()});
// 你可能喜欢没有数据就隐藏
setTimeout
(
function
()
{
$
(
document
).
on
(
'PAY_SUCCESS_PAGE_MAYBE_LIKE_LOAD'
,
()
=>
{
if
(
$
(
'#goods-list'
).
find
(
'.good-info'
).
length
===
0
)
{
$
(
'.maybe-like'
).
hide
();
}
}
,
200
);
});
function
Marquee
()
{
prompt
.
scrollLeft
(
prompt
.
scrollLeft
()
+
1
);
...
...
public/js/channel/maybe-like.js
View file @
66bb25c
...
...
@@ -213,8 +213,13 @@ module.exports = function(likeParameter) {
});
// 为您优选埋点 end
// 支付成功页,请求数据完成
$
(
document
).
trigger
(
'PAY_SUCCESS_PAGE_MAYBE_LIKE_LOAD'
);
},
error
:
function
()
{
// 支付成功页,请求数据完成
$
(
document
).
trigger
(
'PAY_SUCCESS_PAGE_MAYBE_LIKE_LOAD'
);
tip
.
show
(
'网络断开连接了~'
);
searching
=
false
;
loading
.
hideLoadingMask
();
...
...
Please
register
or
login
to post a comment