Authored by 沈志敏

订单列表回退到个人中心

... ... @@ -3,7 +3,7 @@
<ul id="order-nav" class="order-nav clearfix">
{{#each navs}}
<li class="tap-hightlight {{#if active}}active{{/if}}" data-type="{{typeId}}">
<a href="{{url}}">{{name}}</a>
<a class="nav-tap" data-url="{{url}}">{{name}}</a>
</li>
{{/each}}
</ul>
... ...
... ... @@ -338,3 +338,8 @@ $reaMask.on('touchend', function(event) {
$reaMask.css('visibility', 'hidden');
event.stopPropagation();
});
$('.nav-tap').on('click', function(e){
var $cur = $(e.target);
location.replace($cur.data('url'));
})
\ No newline at end of file
... ...