Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
f0c4d5f93811d78c9a8448f5e2576d79fc34be98
1 parent
2bc0ca10
update for banner
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
apps/channel/views/partial/slider.hbs
public/scss/channel/_home.css
public/scss/channel/_new-arrival.css
apps/channel/views/partial/slider.hbs
View file @
f0c4d5f
...
...
@@ -2,9 +2,8 @@
<div
class=
"slide-wrapper"
>
<ul>
{{#
slider
}}
<li
style=
"
{{#if
bgColor
}}
background:
{{
bgColor
}}{{/if}}
"
>
<a
href=
"
{{
url
}}
"
target=
"_blank"
>
<
img
class=
"lazy"
data-original=
"
{{
image
src
1150
570
}}
"
alt=
"
"
>
<
li
class=
"banner-item"
style=
"
{{#if
bgColor
}}
background-color:
{{
bgColor
}}{{/if}}
; background-image:url('
{{
image
src
1150
570
}}
')
"
>
</a>
{{#
tips
}}
<div
class=
"slide-tips"
>
...
...
public/scss/channel/_home.css
View file @
f0c4d5f
.home-page
{
$
sliderHeight
:
600px
;
margin
:
10px
auto
0
;
.top-slider-container
{
height
:
$
sliderHeight
;
}
...
...
@@ -12,6 +10,11 @@
left
:
0
;
right
:
0
;
height
:
$
sliderHeight
;
.banner-item
{
background-position
:
center
;
background-repeat
:
no-repeat
;
}
}
.slide-pagination
{
...
...
public/scss/channel/_new-arrival.css
View file @
f0c4d5f
...
...
@@ -5,7 +5,7 @@
@extend
.resource-container;
height
:
calc
(
$
textHeight
+$
imgHeight
+
6
0px
);
/* 60px is the height of the floor header */
height
:
calc
(
$
textHeight
+$
imgHeight
+
9
0px
);
/* 60px is the height of the floor header */
.arrival-item-box
{
box-sizing
:
border-box
;
...
...
Please
register
or
login
to post a comment