Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
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
ccbikai
2015-10-29 17:13:51 +0800
Commit
aa5a5790a5ec405c00bbd18bc90bedd337ad2565
2 parents
a20bbc2c
ec1f443e
Merge branch 'bugfix' into develop
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
66 additions
and
7 deletions
static/sass/index.scss
static/sass/layout/_footer_tab.scss
template/m.yohobuy.com/actions/index/boys/index.phtml
template/m.yohobuy.com/actions/index/girls/index.phtml
template/m.yohobuy.com/actions/index/kids/index.phtml
template/m.yohobuy.com/actions/index/lifestyle/index.phtml
template/m.yohobuy.com/partials/layout/footer_tab.phtml
yohobuy/m.yohobuy.com/application/controllers/Boys.php
yohobuy/m.yohobuy.com/application/controllers/Girls.php
yohobuy/m.yohobuy.com/application/controllers/Kids.php
yohobuy/m.yohobuy.com/application/controllers/Lifestyle.php
static/sass/index.scss
View file @
aa5a579
...
...
@@ -93,4 +93,4 @@ a {
}
@import
"layout/header"
,
"layout/footer"
,
"good"
,
"filter"
,
"passport/index"
,
"guang/index"
,
"home/index"
,
"category/index"
,
"product/index"
,
"index/index"
,
"shopping-cart/index"
;
@import
"layout/header"
,
"layout/footer"
,
"
layout/footer_tab"
,
"
good"
,
"filter"
,
"passport/index"
,
"guang/index"
,
"home/index"
,
"category/index"
,
"product/index"
,
"index/index"
,
"shopping-cart/index"
;
...
...
static/sass/layout/_footer_tab.scss
0 → 100644
View file @
aa5a579
.footer-tab
{
position
:
fixed
;
left
:
0
;
bottom
:
0
;
width
:
100%
;
height
:
100rem
/
$pxConvertRem
;
padding-top
:
20rem
/
$pxConvertRem
;
box-sizing
:
border-box
;
background
:
#fff
;
border-top
:
1px
solid
#b0b0b0
;
z-index
:
3
;
.tab-item
{
float
:
left
;
width
:
20%
;
text-align
:
center
;
color
:
#b0b0b0
;
&
.current
{
color
:
#5e4b3c
;
}
}
.tab-icon
{
font-size
:
40rem
/
$pxConvertRem
;
line-height
:
1
;
}
.tab-name
{
margin-top
:
10rem
/
$pxConvertRem
;
font-size
:
20rem
/
$pxConvertRem
;
line-height
:
1
;
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/boys/index.phtml
View file @
aa5a579
...
...
@@ -15,5 +15,5 @@
<div
class=
"overlay"
></div>
</div>
{
{>
home/side_nav
}
}
{
{>
layout/footer
}
}
{
{>
layout/download_app
}
}
\ No newline at end of file
{
{>
layout/footer_tab
}
}
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/girls/index.phtml
View file @
aa5a579
...
...
@@ -10,5 +10,5 @@
<div
class=
"overlay"
></div>
</div>
{
{>
home/side_nav
}
}
{
{>
layout/footer_tab
}
}
{
{>
layout/footer
}
}
{
{>
layout/download_app
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/kids/index.phtml
View file @
aa5a579
...
...
@@ -21,5 +21,5 @@
<div
class=
"overlay"
></div>
</div>
{
{>
home/side_nav
}
}
{
{>
layout/footer_tab
}
}
{
{>
layout/footer
}
}
{
{>
layout/download_app
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/lifestyle/index.phtml
View file @
aa5a579
...
...
@@ -19,5 +19,5 @@
<div
class=
"overlay"
></div>
</div>
{
{>
home/side_nav
}
}
{
{>
layout/footer
}
}
{
{>
layout/download_app
}
}
\ No newline at end of file
{
{>
layout/footer_tab
}
}
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/layout/footer_tab.phtml
0 → 100644
View file @
aa5a579
{
{#
showFooterTab
}
}
<div
class=
"footer-tab"
>
<div
class=
"tab-item {{#if grilsHomePage}}current{{/if}}{{#if boysHomePage}}current{{/if}}{{#if kidsHomePage}}current{{/if}}{{#if lifestyleHomePage}}current{{/if}}"
>
<p
class=
"iconfont tab-icon"
>
611
;</p>
<p
class=
"tab-name"
>首页</p>
</div>
<div
class=
"tab-item {{#if categoryPage}}current{{/if}}"
>
<p
class=
"iconfont tab-icon"
>
611
;</p>
<p
class=
"tab-name"
>分类</p>
</div>
<div
class=
"tab-item {{#if guangHome}}current{{/if}}"
>
<p
class=
"iconfont tab-icon"
>
611
;</p>
<p
class=
"tab-name"
>逛</p>
</div>
<div
class=
"tab-item {{#if shoppingCartPage}}current{{/if}}"
>
<p
class=
"iconfont tab-icon"
>
611
;</p>
<p
class=
"tab-name"
>购物车</p>
</div>
<div
class=
"tab-item {{#if minePage}}current{{/if}}"
>
<p
class=
"iconfont tab-icon"
>
611
;</p>
<p
class=
"tab-name"
>我的</p>
</div>
</div>
{
{/
showFooterTab
}
}
\ No newline at end of file
...
...
yohobuy/m.yohobuy.com/application/controllers/Boys.php
View file @
aa5a579
...
...
@@ -27,6 +27,7 @@ class BoysController extends AbstractAction
$this
->
_view
->
display
(
'index'
,
array
(
'boysHomePage'
=>
true
,
'showDownloadApp'
=>
true
,
'showFooterTab'
=>
true
,
'maybeLike'
=>
true
,
'content'
=>
Index\HomeModel
::
getBoysFloor
()
));
...
...
yohobuy/m.yohobuy.com/application/controllers/Girls.php
View file @
aa5a579
...
...
@@ -27,6 +27,7 @@ class GirlsController extends AbstractAction
$this
->
_view
->
display
(
'index'
,
array
(
'grilsHomePage'
=>
true
,
'showDownloadApp'
=>
true
,
'showFooterTab'
=>
true
,
'maybeLike'
=>
true
,
'content'
=>
Index\HomeModel
::
getGirlsFloor
()
));
...
...
yohobuy/m.yohobuy.com/application/controllers/Kids.php
View file @
aa5a579
...
...
@@ -27,6 +27,7 @@ class KidsController extends AbstractAction
$this
->
_view
->
display
(
'index'
,
array
(
'kidsHomePage'
=>
true
,
'showDownloadApp'
=>
true
,
'showFooterTab'
=>
true
,
'maybeLike'
=>
true
,
'content'
=>
Index\HomeModel
::
getKidsFloor
()
));
...
...
yohobuy/m.yohobuy.com/application/controllers/Lifestyle.php
View file @
aa5a579
...
...
@@ -27,6 +27,7 @@ class LifestyleController extends AbstractAction
$this
->
_view
->
display
(
'index'
,
array
(
'lifestyleHomePage'
=>
true
,
'showDownloadApp'
=>
true
,
'showFooterTab'
=>
true
,
'maybeLike'
=>
true
,
'content'
=>
Index\HomeModel
::
getLifestyleFloor
()
));
...
...
Please
register
or
login
to post a comment