Authored by 梁志锋

右上角导航修改

@@ -220,7 +220,7 @@ $yohoPage.on('touchstart', '.tap-hightlight', function() { @@ -220,7 +220,7 @@ $yohoPage.on('touchstart', '.tap-hightlight', function() {
220 }); 220 });
221 221
222 $('.nav-home').on('touchstart', function() { 222 $('.nav-home').on('touchstart', function() {
223 - $('.homebuttom').toggleClass('none'); 223 + $('.homebuttom').toggleClass('hide');
224 }); 224 });
225 225
226 (function() { 226 (function() {
@@ -28,8 +28,6 @@ $('.nav-btn').on('touchstart', function(event) { @@ -28,8 +28,6 @@ $('.nav-btn').on('touchstart', function(event) {
28 $mobileWrap.addClass('menu-open'); 28 $mobileWrap.addClass('menu-open');
29 $overlay.show().css('opacity', 0.3); 29 $overlay.show().css('opacity', 0.3);
30 $sideNav.addClass('on'); 30 $sideNav.addClass('on');
31 - event.preventDefault();  
32 - event.stopPropagation();  
33 openSideNav = true; 31 openSideNav = true;
34 return false; 32 return false;
35 }); 33 });
@@ -122,7 +122,6 @@ @@ -122,7 +122,6 @@
122 } 122 }
123 123
124 .homebuttom{ 124 .homebuttom{
125 - display: block;  
126 width: 100%; 125 width: 100%;
127 height: 90rem / $pxConvertRem; 126 height: 90rem / $pxConvertRem;
128 overflow: hidden; 127 overflow: hidden;
@@ -173,6 +172,4 @@ @@ -173,6 +172,4 @@
173 } 172 }
174 } 173 }
175 } 174 }
176 -.none{  
177 - display: none;  
178 -} 175 +
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
20 {{/navTitle}} 20 {{/navTitle}}
21 </header> 21 </header>
22 {{#navBtn}} 22 {{#navBtn}}
23 -<div class="homebuttom none {{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}"> 23 +<div class="homebuttom hide {{#if boys}} boys{{/if}}{{#if girls}} girls{{/if}}{{#if kids}} kids{{/if}}{{#if lifeStyle}} life-style{{/if}}">
24 <ul> 24 <ul>
25 <li> 25 <li>
26 <a href="{{ indexUrl }}"> 26 <a href="{{ indexUrl }}">