Commit ed5f05069775860f486ef162455b22ff5e66cfe4

Authored by yvan.ni
1 parent 8bd975eb

1。 再来一单的优化

pages/user/order_detail/order_detail.wxml
@@ -162,7 +162,7 @@ @@ -162,7 +162,7 @@
162 </block> 162 </block>
163 163
164 164
165 - <block wx:if="{{order.order_status==2 || order.order_status==4 }}"> 165 + <block wx:if="{{order.pay_status==1 || order.order_status==3 }}">
166 <view style="background-color: #feca53;" class="tips-btn" bindtap="moreOrder" >再来一单</view> 166 <view style="background-color: #feca53;" class="tips-btn" bindtap="moreOrder" >再来一单</view>
167 </block> 167 </block>
168 168
pages/user/order_list/order_list.wxml
@@ -156,7 +156,7 @@ @@ -156,7 +156,7 @@
156 <view bindtap="confirmOrder" data-zsorder="{{item.is_zsorder}}" class="commodity_To_evaluate flex-level comment_go" data-id="{{item.order_id}}" hidden="{{!(item.order_status==1&&item.pay_status==1&&item.shipping_status==2)}}">确认收货</view> 156 <view bindtap="confirmOrder" data-zsorder="{{item.is_zsorder}}" class="commodity_To_evaluate flex-level comment_go" data-id="{{item.order_id}}" hidden="{{!(item.order_status==1&&item.pay_status==1&&item.shipping_status==2)}}">确认收货</view>
157 </block> 157 </block>
158 158
159 - <block wx:if="{{item.order_status==2 || item.order_status==4 }}"> 159 + <block wx:if="{{item.pay_status==1 || item.order_status==3 }}">
160 <view bindtap="moreOrder" class="commodity_To_evaluate flex-level comment_go" style="background-color: #feca53;" 160 <view bindtap="moreOrder" class="commodity_To_evaluate flex-level comment_go" style="background-color: #feca53;"
161 data-index="{{index}}" >再来一单</view> 161 data-index="{{index}}" >再来一单</view>
162 </block> 162 </block>