Authored by 郭成尧

Merge branch 'feature/newHome' into 'release/6.1'

nav-home



See merge request !921
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 {{/navBack}} 10 {{/navBack}}
11 {{/unless}} 11 {{/unless}}
12 {{#navBtn}} 12 {{#navBtn}}
13 - <span class="iconfont nav-home">&#xe638;</span> 13 + <span class="iconfont nav-home new-nav-home">&#xe638;</span>
14 {{/navBtn}} 14 {{/navBtn}}
15 {{#shopPage}} 15 {{#shopPage}}
16 <a href="{{url}}" class="nav-sub-right">{{text}}</a> 16 <a href="{{url}}" class="nav-sub-right">{{text}}</a>
@@ -309,7 +309,7 @@ $('.nav-home').on('touchstart', function() { @@ -309,7 +309,7 @@ $('.nav-home').on('touchstart', function() {
309 $('.main-wrap').on('click', '*', (e) => { 309 $('.main-wrap').on('click', '*', (e) => {
310 let $this = $(e.currentTarget); 310 let $this = $(e.currentTarget);
311 311
312 - if (!$this.hasClass('nav-home')) { 312 + if (!$this.hasClass('new-nav-home')) {
313 $('.homebuttom').addClass('hide'); 313 $('.homebuttom').addClass('hide');
314 } else { 314 } else {
315 return false; 315 return false;
@@ -97,13 +97,13 @@ @@ -97,13 +97,13 @@
97 .nav-back { 97 .nav-back {
98 @extend nav; 98 @extend nav;
99 99
100 - left: 10px; 100 + left: 0;
101 } 101 }
102 102
103 .nav-home { 103 .nav-home {
104 @extend nav; 104 @extend nav;
105 105
106 - right: 10px; 106 + right: 0;
107 } 107 }
108 108
109 .nav-btn { 109 .nav-btn {