Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
Plain Diff
Browse Files
Authored by
Lynnic
2015-11-30 15:22:05 +0800
Commit
126a07d02d7cca88003e210467a348f3630989d9
2 parents
b98aa13e
95d43626
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
11 deletions
static/js/index/channel.js
static/sass/me/_suggest.scss
template/m.yohobuy.com/actions/index/home/suggest.phtml
static/js/index/channel.js
View file @
126a07d
...
...
@@ -95,12 +95,5 @@ $win.scroll(function() {
updateLayerPosition
();
});
$win
.
on
(
'resize'
,
function
(){
console
.
log
(
'resize'
);
});
$win
.
on
(
'scrollstop'
,
function
(){
console
.
log
(
'stop'
);
});
$doc
.
on
(
'ready'
,
updateLayerPosition
);
...
...
static/sass/me/_suggest.scss
View file @
126a07d
...
...
@@ -135,7 +135,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px);
a
{
color
:
#444
;
display
:
block
;
display
:
inline-
block
;
}
>
span
{
...
...
template/m.yohobuy.com/actions/index/home/suggest.phtml
View file @
126a07d
...
...
@@ -9,9 +9,9 @@
<div
class=
"suggest-content"
id=
"suggest-content"
>
{
{#
suggestContent
}
}
<div
class=
"suggest-item"
data-id=
"{{suggest_id}}"
>
{
{#
imgUrl
}
}
<img
class=
"lazy"
data-original=
"{{.}}"
alt=
""
/>
{
{/
imgUrl
}
}
{
{#if
imgUrl
}
}
<img
class=
"lazy"
data-original=
"{{imgUrl}}"
alt=
""
/>
{
{/if
}
}
<h
2
>
{
{title
}
}</h
2
>
<p>
{
{content
}
}</p>
...
...
Please
register
or
login
to post a comment