Authored by 梁志锋

右上角导航修改

... ... @@ -220,7 +220,7 @@ $yohoPage.on('touchstart', '.tap-hightlight', function() {
});
$('.nav-home').on('touchstart', function() {
$('.homebuttom').toggleClass('none');
$('.homebuttom').toggleClass('hide');
});
(function() {
... ...
... ... @@ -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;
});
... ...
... ... @@ -122,7 +122,6 @@
}
.homebuttom{
display: block;
width: 100%;
height: 90rem / $pxConvertRem;
overflow: hidden;
... ... @@ -173,6 +172,4 @@
}
}
}
.none{
display: none;
}
... ...
... ... @@ -20,7 +20,7 @@
{{/navTitle}}
</header>
{{#navBtn}}
<div class="homebuttom none {{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}">
<div class="homebuttom hide {{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}">
<ul>
<li>
<a href="{{ indexUrl }}">
... ...