Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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-02-14 14:55:33 +0800
Commit
85ea5991bd0f57346cdfaa6edace11f885f72646
1 parent
0295dd16
右上角导航修改
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
8 deletions
static/js/common.js
static/js/home/home.js
static/sass/layout/_header.scss
template/m.yohobuy.com/partials/layout/page_header.phtml
static/js/common.js
View file @
85ea599
...
...
@@ -220,7 +220,7 @@ $yohoPage.on('touchstart', '.tap-hightlight', function() {
});
$
(
'.nav-home'
).
on
(
'touchstart'
,
function
()
{
$
(
'.homebuttom'
).
toggleClass
(
'
non
e'
);
$
(
'.homebuttom'
).
toggleClass
(
'
hid
e'
);
});
(
function
()
{
...
...
static/js/home/home.js
View file @
85ea599
...
...
@@ -28,8 +28,6 @@ $('.nav-btn').on('touchstart', function(event) {
$mobileWrap
.
addClass
(
'menu-open'
);
$overlay
.
show
().
css
(
'opacity'
,
0.3
);
$sideNav
.
addClass
(
'on'
);
event
.
preventDefault
();
event
.
stopPropagation
();
openSideNav
=
true
;
return
false
;
});
...
...
static/sass/layout/_header.scss
View file @
85ea599
...
...
@@ -122,7 +122,6 @@
}
.homebuttom
{
display
:
block
;
width
:
100%
;
height
:
90rem
/
$pxConvertRem
;
overflow
:
hidden
;
...
...
@@ -173,6 +172,4 @@
}
}
}
.none
{
display
:
none
;
}
...
...
template/m.yohobuy.com/partials/layout/page_header.phtml
View file @
85ea599
...
...
@@ -20,7 +20,7 @@
{
{/navTitle
}
}
</header>
{
{#navBtn
}
}
<div
class=
"homebuttom
non
e {{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}"
>
<div
class=
"homebuttom
hid
e {{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}"
>
<ul>
<li>
<a
href=
"{{ indexUrl }}"
>
...
...
Please
register
or
login
to post a comment