作者 wumengyu

订单消息0不显示

@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 <view class="tab_item {{current==4?'active':''}}" data-current='4' bindtap='chargeTab'>已拼成</view> 6 <view class="tab_item {{current==4?'active':''}}" data-current='4' bindtap='chargeTab'>已拼成</view>
7 <view class="tab_item {{current==6?'active':''}}" data-current='6' bindtap='chargeTab'>已完成</view> 7 <view class="tab_item {{current==6?'active':''}}" data-current='6' bindtap='chargeTab'>已完成</view>
8 <view class="tab_item {{current==5?'active':''}}" data-current='5' bindtap='chargeTab'>已取消</view> 8 <view class="tab_item {{current==5?'active':''}}" data-current='5' bindtap='chargeTab'>已取消</view>
9 - <view class="message">{{message_num}}</view> 9 + <view class="message" wx:if="{{message_num>0}}">{{message_num}}</view>
10 </view> 10 </view>
11 11
12 <!--订单列表--> 12 <!--订单列表-->