|
|
@@ -27,8 +27,9 @@
|
|
|
round
|
|
|
type="default"
|
|
|
@click.stop="cancelOrder"
|
|
|
- >取消订单</van-button
|
|
|
>
|
|
|
+ 取消订单
|
|
|
+ </van-button>
|
|
|
<van-button
|
|
|
v-if="info.presaleOrderCanPay"
|
|
|
:color="$colors.prim"
|
|
|
@@ -40,19 +41,19 @@
|
|
|
</van-button>
|
|
|
</template>
|
|
|
<template v-else-if="info.status === '2'">
|
|
|
- <van-button v-if="info.canRefund" size="small" round type="default" @click.stop="toRefundOrder"
|
|
|
- >申请退款</van-button
|
|
|
- >
|
|
|
+ <van-button v-if="info.canRefund" size="small" round type="default" @click.stop="toRefundOrder">
|
|
|
+ 申请退款
|
|
|
+ </van-button>
|
|
|
</template>
|
|
|
<template v-else-if="info.status === '3'">
|
|
|
- <van-button size="small" round :color="$colors.prim" type="default" @click.stop="toCheckLogistics"
|
|
|
- >查看物流</van-button
|
|
|
- >
|
|
|
+ <van-button size="small" round :color="$colors.prim" type="default" @click.stop="toCheckLogistics">
|
|
|
+ 查看物流
|
|
|
+ </van-button>
|
|
|
</template>
|
|
|
<template v-else-if="info.status === '4'">
|
|
|
- <van-button v-if="info.canReturn" size="small" round type="default" @click.stop="toReturnOrder"
|
|
|
- >申请退货</van-button
|
|
|
- >
|
|
|
+ <van-button v-if="info.canReturn" size="small" round type="default" @click.stop="toReturnOrder">
|
|
|
+ 申请退货
|
|
|
+ </van-button>
|
|
|
|
|
|
<van-button
|
|
|
v-if="info.evaluationStatus === '0'"
|
|
|
@@ -61,15 +62,16 @@
|
|
|
:color="$colors.prim"
|
|
|
type="default"
|
|
|
@click.stop="toevaluation"
|
|
|
- >评价晒单</van-button
|
|
|
- >
|
|
|
- <van-button v-else size="small" round type="default" @click.stop="toevaluationDetail"
|
|
|
- >查看评价</van-button
|
|
|
>
|
|
|
+ 评价晒单
|
|
|
+ </van-button>
|
|
|
+ <van-button v-else size="small" round type="default" @click.stop="toevaluationDetail">
|
|
|
+ 查看评价
|
|
|
+ </van-button>
|
|
|
|
|
|
- <van-button v-if="info.canRefund" size="small" round type="default" @click.stop="toRefundOrder"
|
|
|
- >申请退款</van-button
|
|
|
- >
|
|
|
+ <van-button v-if="info.canRefund" size="small" round type="default" @click.stop="toRefundOrder">
|
|
|
+ 申请退款
|
|
|
+ </van-button>
|
|
|
</template>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
@@ -79,16 +81,18 @@
|
|
|
round
|
|
|
type="default"
|
|
|
@click.stop="goDetail"
|
|
|
- >查看进度</van-button
|
|
|
>
|
|
|
+ 查看进度
|
|
|
+ </van-button>
|
|
|
<van-button
|
|
|
v-if="['2', '3', '5', '8', '9'].indexOf(info.status) !== -1"
|
|
|
size="small"
|
|
|
round
|
|
|
type="default"
|
|
|
@click.stop="goDetail"
|
|
|
- >查看结果</van-button
|
|
|
>
|
|
|
+ 查看结果
|
|
|
+ </van-button>
|
|
|
<van-button
|
|
|
v-if="info.status === '6'"
|
|
|
size="small"
|
|
|
@@ -96,8 +100,9 @@
|
|
|
type="default"
|
|
|
:color="$colors.prim"
|
|
|
@click.stop="goDetail"
|
|
|
- >填写物流信息</van-button
|
|
|
>
|
|
|
+ 填写物流信息
|
|
|
+ </van-button>
|
|
|
</template>
|
|
|
</div>
|
|
|
|