<view class="minNum {{num<=1?'disabled':''}}" bindtap="sub">-</view> 转载于:https://www.cnblogs.com/shimily/articles/10598610.html