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
郭成尧
2017-04-21 13:38:23 +0800
Commit
38473aca8d986a3565b7d8ba5a14becdc658b739
1 parent
7adb943e
seckillgoods
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
public/hbs/product/seckill/index.hbs
public/js/product/seckill.page.js
public/js/product/seckill/goods-list.js
public/hbs/product/seckill/index.hbs
View file @
38473ac
@@ -18,4 +18,7 @@
@@ -18,4 +18,7 @@
18
<li>
活动最终解释权归YOHO!BUY有货所有
</li>
18
<li>
活动最终解释权归YOHO!BUY有货所有
</li>
19
</ol>
19
</ol>
20
</section>
20
</section>
21
+
<div
id=
"goodsContainer"
class=
"goods-container"
>
22
+
<div
class=
"default-goods container clearfix"
></div>
23
+
</div>
21
</div>
24
</div>
public/js/product/seckill.page.js
View file @
38473ac
@@ -466,3 +466,5 @@ window.seckillRefresh = function() {
@@ -466,3 +466,5 @@ window.seckillRefresh = function() {
466
$
(
function
()
{
466
$
(
function
()
{
467
seckillObj
.
init
();
467
seckillObj
.
init
();
468
});
468
});
469
+
470
+
require
(
'./seckill/goods-list'
);
public/js/product/seckill/goods-list.js
0 → 100644
View file @
38473ac
1
+
/*
2
+
* @Author: Targaryen
3
+
* @Date: 2017-04-21 13:36:34
4
+
* @Last Modified by: Targaryen
5
+
* @Last Modified time: 2017-04-21 13:38:09
6
+
*/
7
+
8
+
const
$
=
require
(
'yoho-jquery'
);
9
+
10
+
let
$goodsContainer
=
$
(
'#goodsContainer'
);
11
+
12
+
console
.
log
(
$goodsContainer
);
Please
register
or
login
to post a comment