...
|
...
|
@@ -31,14 +31,17 @@ |
|
|
<text>剩余 {{payLeftTime}}</text>
|
|
|
</view>
|
|
|
<view class="right-block">
|
|
|
<block wx:for="{{links}}" wx:for-item="link" wx:key="unique">
|
|
|
<view wx:if="{{link === 'closeOrder'}}" class="option-btn" catchtap="cancelOrder">取消订单</view>
|
|
|
<view wx:if="{{link === 'buyNow'}}" class="option-btn red-btn" catchtap="payNow">立即付款</view>
|
|
|
<view wx:if="{{link === 'delOrder'}}" class="option-btn" catchtap="deleteOrder">删除订单</view>
|
|
|
<view wx:if="{{link === 'getExpress'}}" class="option-btn" catchtap="viewExpress">查看物流</view>
|
|
|
<view wx:if="{{link === 'confirm'}}" class="option-btn red-btn" catchtap="confirmOrder">确认收货</view>
|
|
|
<view wx:if="{{link === 'refundApply'}}" class="option-btn" catchtap="refundNow">申请退款</view>
|
|
|
</block>
|
|
|
<view wx:if="{{attribute == 9}}" class="only-app-tips">*此订单只能在APP端操作</view>
|
|
|
<form bindsubmit="submitFormId" report-submit='true'>
|
|
|
<block wx:for="{{links}}" wx:for-item="link" wx:key="unique">
|
|
|
<button wx:if="{{link === 'closeOrder'}}" formType="submit" class="option-btn" catchtap="cancelOrder">取消订单</button>
|
|
|
<view wx:if="{{link === 'buyNow'}}" class="option-btn red-btn" catchtap="payNow">立即付款</view>
|
|
|
<view wx:if="{{link === 'delOrder'}}" class="option-btn" catchtap="deleteOrder">删除订单</view>
|
|
|
<view wx:if="{{link === 'getExpress'}}" class="option-btn" catchtap="viewExpress">查看物流</view>
|
|
|
<button wx:if="{{link === 'confirm'}}" formType="submit" class="option-btn red-btn" catchtap="confirmOrder">确认收货</button>
|
|
|
<button wx:if="{{link === 'refundApply'}}" formType="submit" class="option-btn" catchtap="refundNow">申请退款</button>
|
|
|
</block>
|
|
|
</form>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view> |
...
|
...
|
|