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
沈志敏
2016-12-22 11:27:51 +0800
Commit
69de8046900dc7bd1544318259ec893b96f9bbc2
1 parent
2f4f911f
修改样式
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
apps/channel/views/partial/brand/hot_brands_swipe.hbs
public/scss/channel/_hot-brands.css
apps/channel/views/partial/brand/hot_brands_swipe.hbs
View file @
69de804
...
...
@@ -6,8 +6,8 @@
<li
class=
"swiper-slide"
>
<a
href=
"
{{
url
}}
"
>
<img
src=
"
{{
image2
img
q
=
60
}}
"
alt=
""
>
<span
class=
"brands-title"
>
{{
textCn
}}
</span>
</a>
<span
class=
"brands-title"
>
{{
textCn
}}
</span>
</li>
{{/
list
}}
</ul>
...
...
public/scss/channel/_hot-brands.css
View file @
69de804
...
...
@@ -97,8 +97,10 @@
li
{
float
:
left
;
padding-left
:
5%
;
padding-bottom
:
5%
;
width
:
21.875%
;
height
:
140px
;
position
:
relative
;
a
{
position
:
relative
;
...
...
@@ -113,14 +115,13 @@
display
:
inline-block
;
max-width
:
100%
;
max-height
:
100%
;
vertical-align
:
middle
;
}
.brands-title
{
position
:
absolute
;
left
:
8
px
;
left
:
40
px
;
right
:
8px
;
bottom
:
8
px
;
bottom
:
-5
px
;
height
:
28px
;
line-height
:
28px
;
text-align
:
center
;
...
...
Please
register
or
login
to post a comment