Showing
1 changed file
with
2 additions
and
3 deletions
@@ -40,7 +40,7 @@ $backBtn.on('touchend', function(e) { | @@ -40,7 +40,7 @@ $backBtn.on('touchend', function(e) { | ||
40 | 40 | ||
41 | // 恢复默认的三级选择 | 41 | // 恢复默认的三级选择 |
42 | $addressListPage.hide(); | 42 | $addressListPage.hide(); |
43 | - $addressListPage.find('ul').hide(); | 43 | + $addressListPage.find('ul').hide().find('li').removeClass('highlight'); |
44 | $addressListPage.children('ul').show().children('li').show(); | 44 | $addressListPage.children('ul').show().children('li').show(); |
45 | newArea = []; | 45 | newArea = []; |
46 | } else { | 46 | } else { |
@@ -131,7 +131,6 @@ $addressListPage.find('.address').each(function(i, elem) { | @@ -131,7 +131,6 @@ $addressListPage.find('.address').each(function(i, elem) { | ||
131 | $this.siblings().hide(); | 131 | $this.siblings().hide(); |
132 | $this.children('ul').show().children('li').show(); | 132 | $this.children('ul').show().children('li').show(); |
133 | 133 | ||
134 | - $(this).removeClass('highlight'); | ||
135 | e.srcEvent.preventDefault(); | 134 | e.srcEvent.preventDefault(); |
136 | e.srcEvent.stopPropagation(); | 135 | e.srcEvent.stopPropagation(); |
137 | }); | 136 | }); |
@@ -155,7 +154,7 @@ $addressListPage.find('.address-last').each(function(i, elem) { | @@ -155,7 +154,7 @@ $addressListPage.find('.address-last').each(function(i, elem) { | ||
155 | 154 | ||
156 | // 恢复默认的三级选择 | 155 | // 恢复默认的三级选择 |
157 | $addressListPage.hide(); | 156 | $addressListPage.hide(); |
158 | - $addressListPage.find('ul').hide(); | 157 | + $addressListPage.find('ul').hide().find('li').removeClass('highlight'); |
159 | $addressListPage.children('ul').show().children('li').show(); | 158 | $addressListPage.children('ul').show().children('li').show(); |
160 | newArea = []; | 159 | newArea = []; |
161 | 160 |
-
Please register or login to post a comment