| @@ -36,7 +36,13 @@ | |||||
| 2 已过期 | 2 已过期 | ||||
| 3 已经退款 | 3 已经退款 | ||||
| --> | --> | ||||
| <view data-couponOrderStatus="{{order.couponOrderStatus}}" data-title="{{order.title}}" data-subtitle="{{order.subTitle}}" data-remark="{{order.remark}}" data-quancode="{{order.couponOrderId}}" bindtap="powerDrawer"> | |||||
| <!-- | |||||
| orderStatus | |||||
| 0 | |||||
| 只有支付完成的时 | |||||
| 才显示兑换码 | |||||
| --> | |||||
| <view wx:if="{{order.orderStatus==1}}" data-couponOrderStatus="{{order.couponOrderStatus}}" data-title="{{order.title}}" data-subtitle="{{order.subTitle}}" data-remark="{{order.remark}}" data-quancode="{{order.couponOrderId}}" bindtap="powerDrawer"> | |||||
| <view style="width:86%;clear: both;"> | <view style="width:86%;clear: both;"> | ||||
| <text>兑换码</text> | <text>兑换码</text> | ||||
| <text class="fr">{{order.couponOrderId}}</text> | <text class="fr">{{order.couponOrderId}}</text> | ||||
| @@ -45,11 +51,6 @@ | |||||
| <image class="spcode" src="./../../../assets/img/spcode.png" mode="widthFix"></image> | <image class="spcode" src="./../../../assets/img/spcode.png" mode="widthFix"></image> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view> | <view> | ||||
| <text>下单时间</text> | <text>下单时间</text> | ||||
| <text>{{createDate}}</text> | <text>{{createDate}}</text> | ||||