|
|
|
@ -15,7 +15,11 @@
|
|
|
|
|
|
|
|
|
|
<!-- 给header上与data上加on为退款订单--> |
|
|
|
|
<view class="top-box bg-color-red acea-row row-between-wrapper" :class="refundOrder ? 'on' : ''"> |
|
|
|
|
<view class="acea-row row-middle" v-if="status.type === 0 || status.type === 9"> |
|
|
|
|
<view class="acea-row row-middle" v-if="orderInfo.status == 8"> |
|
|
|
|
<image class="icon" src="../../../static/images/order-close.png" mode=""></image> |
|
|
|
|
<view class="status">订单已取消</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="acea-row row-middle" v-else-if="status.type === 0 || status.type === 9"> |
|
|
|
|
<image class="icon" src="../../../static/images/order-status1.png" mode=""></image> |
|
|
|
|
<view class="status">等待付款</view> |
|
|
|
|
</view> |
|
|
|
@ -35,7 +39,7 @@
|
|
|
|
|
<image class="icon" src="../../../static/images/order-status1.png" mode=""></image> |
|
|
|
|
<view class="status">{{ orderInfo._status._title }}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="data" :class="refundOrder ? 'on' : ''"> |
|
|
|
|
<view class="data" :class="refundOrder ? 'on' : ''" v-if="orderInfo.status !== 8"> |
|
|
|
|
<view class="" v-if="status.type === 0 || status.type === 9">{{ orderInfo._status._msg }}</view> |
|
|
|
|
<view class="" v-else-if="status.type === 1">{{ orderInfo._status._msg }}</view> |
|
|
|
|
<view class="" v-else-if="status.type === 2">{{ orderInfo.deliveryName }}</view> |
|
|
|
@ -315,8 +319,8 @@
|
|
|
|
|
</view> |
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
<view :style="addBottom?'height: 162rpx;':'height: 122rpx'" v-if="!refundOrder && offlineStatus"></view> |
|
|
|
|
<view class="footer acea-row row-right" v-if="!refundOrder && offlineStatus" :style="addBottom?'':'height: 122rpx'"> |
|
|
|
|
<view :style="addBottom?'height: 162rpx;':'height: 122rpx'" v-if="!refundOrder && offlineStatus && orderInfo.status !== 8"></view> |
|
|
|
|
<view class="footer acea-row row-right" v-if="!refundOrder && offlineStatus && orderInfo.status !== 8" :style="addBottom?'':'height: 122rpx'"> |
|
|
|
|
<template v-if="status.type == 0"> |
|
|
|
|
<view class="bnt cancel" @click="cancelOrder">取消订单</view> |
|
|
|
|
<view class="bnt bg-color-red" @click="pay = true">立即付款</view> |
|
|
|
|