Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-frontend
·
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
2586703@qq.com
2015-03-31 17:33:30 +0800
Commit
2c6edd48ea07ac918860f0bc06784a176dd0c59b
1 parent
018d34c4
lazyload js +注释
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
mobile/public/js/detail.js
mobile/public/js/detail.js
View file @
2c6edd4
...
...
@@ -10,10 +10,13 @@ require('lazyload');
exports
.
init
=
function
()
{
//相关文章截取文字
ellipsis
.
init
();
$
(
".post-list"
).
find
(
"span"
).
each
(
function
(){
$
(
this
).
mlellipsis
(
2
);
})
//图片懒加载
$
(
"img.lazy"
).
lazyload
();
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment