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
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
8 years ago
Commit
447a9caf4f450f3e7bc1b368ce9458a92232883f
1 parent
c6537ec6
gulp ge
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
0 deletions
web-static/dist/yohobuy/5.4.3/index-debug.js
web-static/dist/yohobuy/5.4.3/index.css
web-static/dist/yohobuy/5.4.3/index.js
web-static/dist/yohobuy/5.4.3/index-debug.js
View file @
447a9ca
...
...
@@ -46,6 +46,9 @@ require("js/shopping/pay");
//微信扫码支付
require
(
"js/pay/wechatqrcode"
);
//支付成功页
require
(
"js/pay/success"
);
//关于我们
require
(
"js/about/entry"
);
...
...
@@ -18987,6 +18990,43 @@ var jQuery = require("jquery");
/* jscs: enable */
/* jshint ignore:end */
});
define
(
"js/pay/success"
,
[
"jquery"
],
function
(
require
,
exports
,
module
){
/**
* 支付成功页
*/
require
(
"js/pay/best-for-you"
);
});
define
(
"js/pay/best-for-you"
,
[
"jquery"
],
function
(
require
,
exports
,
module
){
var
$
=
require
(
"jquery"
);
(
function
()
{
var
$bestForYou
=
$
(
'#best-for-you'
);
var
$box
,
boxInfo
;
if
(
!
$bestForYou
.
length
)
{
return
;
}
$box
=
$bestForYou
.
children
(
'.product-wrap'
);
boxInfo
=
{
index
:
0
,
width
:
$box
.
find
(
'li'
).
width
()
+
10
,
totalPage
:
Math
.
ceil
((
$box
.
find
(
'li'
).
length
+
1
)
/
5
)
};
if
(
boxInfo
.
totalPage
>
1
)
{
boxInfo
.
totalPage
=
boxInfo
.
totalPage
>
3
?
3
:
boxInfo
.
totalPage
;
$bestForYou
.
find
(
'.change-btn'
).
show
().
click
(
function
()
{
boxInfo
.
index
++
;
$box
.
get
(
0
).
scrollLeft
=
(
boxInfo
.
index
%
boxInfo
.
totalPage
)
*
boxInfo
.
width
*
5
;
});
}
})();
});
define
(
"js/about/entry"
,
[
"jquery"
,
"jquery.placeholder"
,
"handlebars"
,
"source-map"
],
function
(
require
,
exports
,
module
){
/**
* 逛打包入口
...
...
web-static/dist/yohobuy/5.4.3/index.css
View file @
447a9ca
This diff could not be displayed because it is too large.
web-static/dist/yohobuy/5.4.3/index.js
View file @
447a9ca
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment