Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Plain Diff
Browse Files
Authored by
zhangxiaoru
9 years ago
Commit
56ca314c9871f9d27bf62c900f8243085a69ccbe
2 parents
4e2e7c9a
6f346cb7
首页
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
73 additions
and
67 deletions
static/sass/product/_product-category.css
static/sass/product/_shop-prodfile.css
template/m.yohobuy.com/actions/product/index/brand.phtml
template/m.yohobuy.com/actions/product/index/category.phtml
template/m.yohobuy.com/actions/product/index/intro.phtml
template/m.yohobuy.com/partials/product/shop-footer.phtml
static/sass/product/_product-category.css
View file @
56ca314
...
...
@@ -4,12 +4,11 @@
.allproduct
{
position
:
relative
;
padding
:
15px
0
;
height
:
89px
;
line-height
:
89px
;
background
:
#fff
;
border-top
:
15px
;
border-bottom
:
15px
;
padding-left
:
32px
;
border-top
:
1px
solid
#e6e6e6
;
margin-left
:
30px
;
}
.margin-under-allproduct
{
...
...
@@ -23,9 +22,9 @@
}
.arrow-icon
{
position
:
absolute
;
font-size
:
16px
;
top
:
15px
;
right
:
20px
;
font-size
:
30px
;
top
:
0px
;
right
:
33px
;
color
:
#e1e1e1
;
}
...
...
static/sass/product/_shop-prodfile.css
View file @
56ca314
.shop-introduce
{
.shop-introduce
-page
{
.banner
{
margin
:
30px
auto
;
width
:
auto
;
...
...
@@ -9,18 +9,18 @@
.descripition
{
margin
:
40px
20px
0px
20px
;
font-size
:
16px
;
line-height
:
22px
;
padding
:
20px
0
;
font-size
:
22px
;
line-height
:
36px
;
padding
:
40px
20px
40px
20px
;
border-top
:
1px
solid
#e6e6e6
;
border-bottom
:
1px
solid
#e6e6e6
;
text-indent
:
2em
;
}
.sign-icon
{
font-size
:
20px
;
height
:
40px
;
line-height
:
40px
;
font-size
:
32px
;
height
:
80px
;
line-height
:
80px
;
text-align
:
center
;
font-weight
:
100
;
}
...
...
@@ -30,14 +30,14 @@
}
}
.brand
{
.brand
-shop-page
{
.brand-list{
margin-left
:
20px
;
font-size
:
18
px
;
font-size
:
36
px
;
border-bottom
:
1px
solid
#e6e6e6
;
text-align
:
left
;
height
:
44px
;
line-height
:
44px
;
height
:
70px
;
line-height
:
70px
;
vertical-align
:
middle
;
display
:
block
;
width
:
100%
;
...
...
template/m.yohobuy.com/actions/product/index/brand.phtml
View file @
56ca314
{
{>
layout/header
}
}
<div
class=
"brand"
>
<div
class=
"brand
-shop-page
"
>
{
{#
content
}
}
<a
class=
"brand-list"
href=
"{{url}}"
>
{
{brand_name
}
}
...
...
template/m.yohobuy.com/actions/product/index/category.phtml
View file @
56ca314
...
...
@@ -2,40 +2,41 @@
<div
class=
"product-category yoho-page"
>
<div
id=
"allproduct"
class=
"allproduct"
>
<div
class=
"allproduct"
>
<a
href=
{
{allproduct
}
}>
<p
class=
"allproductParagaraph"
>全部商品</p>
全部商品
<i
class=
"arrow-icon iconfont"
>
614
;</i>
</a>
</div>
<div
class=
"margin-under-allproduct"
>
</div>
<div
class=
"category-container clearfix"
>
<div
class=
"content"
>
{
{#
content
}
}
<ul
class=
"primary-level"
>
{
{#
class
}
}
<li
class=
"p-level-item"
>
{
{name
}
}
<div
class=
"primary-level-trilangle hide"
></div>
<!--
<img
class=
"primary-level-trilangle trilanglefont"
src=
"../static/img/product/arrow.jpg"
>
-->
</li>
{
{/
class
}
}
</ul>
<div
class=
"sub-level-container hide"
>
{
{#
category
}
}
<ul
class=
"sub-level"
>
{
{#
subcategory
}
}
<li>
<a
href=
{
{url
}
}>
{
{category_name
}
}
</a>
</li>
{
{/
subcategory
}
}
<ul
class=
"primary-level"
>
{
{#
class
}
}
<li
class=
"p-level-item"
>
{
{name
}
}
<div
class=
"primary-level-trilangle hide"
></div>
</li>
{
{/
class
}
}
</ul>
{
{/
category
}
}
</div>
{
{/
content
}
}
<div
class=
"sub-level-container hide"
>
{
{#
category
}
}
<ul
class=
"sub-level"
>
{
{#
subcategory
}
}
<li>
<a
href=
{
{url
}
}>
{
{category_name
}
}
</a>
</li>
{
{/
subcategory
}
}
</ul>
{
{/
category
}
}
</div>
{
{/
content
}
}
</div>
</div>
</div>
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/product/index/intro.phtml
View file @
56ca314
{
{>
layout/header
}
}
<div
class=
"shop-introduce"
>
<div
class=
"shop-introduce
-page
"
>
<a
class=
"banner"
>
<img
src=
"{{content.shop_logo}}"
>
</a>
...
...
template/m.yohobuy.com/partials/product/shop-footer.phtml
View file @
56ca314
<div class="shop-foot-wrapper">
<ul>
<li>
商品分类
{{#if shopCategory.url}}
<a href="{{shopCategory.url}}">商品分类</a>
{{^}}
商品分类
<div class="sub-group hide">
<dl>
{{# shopCategory.list}}
<dd><a href="url">name</a></dd>
{{/ shopCategory.list}}
</dl>
<div class="sharp"></div>
</div>
{{/if}}
<div class="wall"></div>
<div class="sub-group hide">
<dl>
<dd><a href="/">套装</a></dd>
<dd><a href="/">套装</a></dd>
<dd><a href="/">套装</a></dd>
<dd><a href="/">套装</a></dd>
<dd><a href="/">套装</a></dd>
<dd><a href="/">套装</a></dd>
</dl>
<div class="sharp"></div>
</div>
</li>
{{#if brandList}}
<li>
品牌一览
{{#if brandList.url}}
<a href="{{shopCategory.url}}">品牌一览</a>
{{^}}
品牌一览
<div class="sub-group hide">
<dl>
{{# brandList.list}}
<dd><a href="url">name</a></dd>
{{/ brandList.list}}
</dl>
<div class="sharp"></div>
</div>
{{/if}}
<div class="wall"></div>
<div class="sub-group hide">
<dl>
<dd><a href="/">套装</a></dd>
<dd><a href="/">套装</a></dd>
<dd><a href="/">套装</a></dd>
<dd><a href="/">套装</a></dd>
</dl>
<div class="sharp"></div>
</div>
</li>
{{/if}}
<li>
<a href="
/
">店铺简介</a>
<a href="
{{shopIntroHref}}
">店铺简介</a>
</li>
</ul>
</div>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment