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
王水玲
2016-03-03 19:35:16 +0800
Commit
0ed9ad370dd648f3e9ba1e4e84a0d0428e19fb08
1 parent
68764a04
新人专享列表页添加
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
0 deletions
static/js/home/fresh-list.js
static/sass/home/_fresh-only.css
template/m.yohobuy.com/partials/layout/use.phtml
static/js/home/fresh-list.js
0 → 100644
View file @
0ed9ad3
1
+
/**
2
+
* 新人专享
3
+
* @author: wsl<shuiling.wang@yoho.cn>
4
+
* @date: 2016/3/3
5
+
*/
6
+
7
+
var
$
=
require
(
'jquery'
),
8
+
lazyLoad
=
require
(
'yoho.lazyload'
);
9
+
10
+
lazyLoad
(
$
(
'img.lazy'
));
static/sass/home/_fresh-only.css
View file @
0ed9ad3
@@ -108,4 +108,10 @@
@@ -108,4 +108,10 @@
108
}
108
}
109
}
109
}
110
}
110
}
111
+
}
112
+
113
+
.fresh-list
{
114
+
position
:
relative
;
115
+
min-height
:
440px
;
116
+
padding-left
:
14px
;
111
}
117
}
template/m.yohobuy.com/partials/layout/use.phtml
View file @
0ed9ad3
@@ -340,3 +340,10 @@
@@ -340,3 +340,10 @@
340
seajs.use('js/me/currency-new');
340
seajs.use('js/me/currency-new');
341
</script>
341
</script>
342
{{/if}}
342
{{/if}}
343
+
344
+
{{#if freshListPage}}
345
+
<script>
346
+
seajs.use('js/home/fresh-list');
347
+
</script>
348
+
{{/if}}
349
+
Please
register
or
login
to post a comment