1、移除class 添加class
<view class="nav">
<view class="nav-ul" style=" transition-duration: 0ms; transform:translate3d({
{transform}}%, 0px, 0px);">
<view class="order_nav {
{type == 'ALL' ? 'current':''}}" bindtap="bindOrderNav" data-type="ALL" >全部订单</view>
<view class="order_nav {
{type == 'WAIT_PAY' ? 'current':''}}" bindtap="bindOrderNav" data-type="WAIT_PAY">待付款</view>
<view class="order_nav {
{type == 'WAIT_DELIVERY' ? 'current':''}}" bindtap="bindOrderNav" data-type="WAIT_DELIVERY">待发货</view>
<view class="order_nav {
{type == 'SHIPPED' ? 'current':''