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
yyq
9 years ago
Commit
ccce13a7bfe4c88d4a86ac10a9c520709935d7fc
1 parent
fe2a7093
店铺样式调整
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
9 deletions
template/www.yohobuy.com/partials/product/shop-header.phtml
web-static/img/product/banner-mark.png
web-static/sass/product/_shop-index.css
template/www.yohobuy.com/partials/product/shop-header.phtml
View file @
ccce13a
{
{#
shopTopBanner
}
}
<div
class=
"shop-banner"
>
<div
class=
"banner-img"
style=
"height: {{bannerHeight}}px;background: url({{banner}})"
></div>
<div
class=
"banner-img"
style=
"height: {{bannerHeight}}px;background: url({{banner}})"
>
<div
class=
"banner-mark"
></div>
</div>
{
{#if
isShowShopName
}
}
<div
class=
"shop-name"
>
{
{brandIntro.brandName
}
}
...
...
@@ -46,12 +48,9 @@
{
{#if
navigationBar
}
}
<ul
class=
"shop-nav clearfix"
>
{
{#navigationBar
}
}
<li
class=
"nav-item {{#if @first}}first{{/if}}
{{#if current}}current{{/if}}"
>
<li
class=
"nav-item {{#if @first}}first{{/if}}{{#if current}}current{{/if}}"
>
<a
href=
"{{url}}"
>
{
{name
}
}
{
{#if
arrow
}
}
<span
class=
"iconfont"
>
63
a;</span>
{
{/if
}
}
</a>
</li>
{
{/navigationBar
}
}
...
...
web-static/img/product/banner-mark.png
0 → 100644
View file @
ccce13a
426 Bytes
web-static/sass/product/_shop-index.css
View file @
ccce13a
...
...
@@ -18,6 +18,12 @@
height
:
150px
;
}
.banner-mark
{
width
:
100%
;
height
:
100%
;
background
:
resolve
(
'/product/banner-mark.png'
);
}
.opt-wrap
{
position
:
absolute
;
top
:
65%
;
...
...
@@ -104,6 +110,11 @@
}
}
.sort-child-list
a
{
height
:
28px
;
line-height
:
28px
;
}
.coupon
{
margin-top
:
20px
;
width
:
100%
;
...
...
@@ -187,7 +198,6 @@
margin-bottom
:
20px
;
width
:
235px
;
height
:
315px
;
font-size
:
14px
;
text-align
:
center
;
line-height
:
1.5
;
background
:
#f5f5f5
;
...
...
@@ -201,10 +211,16 @@
.title
{
width
:
220px
;
padding
:
0
5px
;
font-size
:
12px
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
.price
{
font-size
:
15px
;
line-height
:
32px
;
}
}
.hat
{
...
...
@@ -401,6 +417,7 @@
float
:
left
;
width
:
316px
;
margin-left
:
10px
;
margin-bottom
:
20px
;
text-align
:
center
;
&:first-child
{
...
...
@@ -417,7 +434,7 @@
.sub-title
{
box-sizing
:
border-box
;
font-size
:
16px
;
margin-top
:
15px
;
font-weight
:
bold
;
padding
:
0
10px
;
width
:
100%
;
overflow
:
hidden
;
...
...
@@ -426,8 +443,12 @@
line-height
:
24px
;
}
.main-title
{
padding-top
:
20px
;
}
.sub-title
{
margin-top
:
0
;
padding-bottom
:
20px
;
font-size
:
14px
;
}
}
...
...
@@ -500,14 +521,15 @@
display
:
inline-block
;
line-height
:
14px
;
vertical-align
:
middle
;
font-weight
:
bold
;
.name
{
font-size
:
14px
;
font-weight
:
bold
;
}
.en-name
{
font-size
:
12px
;
margin-top
:
4px
;
}
}
...
...
Please
register
or
login
to post a comment