|
@@ -1,10 +1,27 @@
|
|
|
<template>
|
|
|
<view class="page">
|
|
|
- <view class="top">
|
|
|
+ <view
|
|
|
+ class="top"
|
|
|
+ v-if="
|
|
|
+ orderInformation.goods[0].refund.status == '0' ||
|
|
|
+ orderInformation.goods[0].refund.status == '3'
|
|
|
+ "
|
|
|
+ >
|
|
|
<view class="top-title"> 请处理退款申请 </view>
|
|
|
<view class="top-detail"> 如果您同意,请点击“同意退款” </view>
|
|
|
</view>
|
|
|
-
|
|
|
+ <view
|
|
|
+ class="top"
|
|
|
+ v-else-if="orderInformation.goods[0].refund.status == '2'"
|
|
|
+ >
|
|
|
+ <view class="top-title"> 您拒绝了退款申请 </view>
|
|
|
+ <view class="top-detail">
|
|
|
+ 商家:{{ orderInformation.goods[0].refund.reason }}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="top" v-else>
|
|
|
+ <view class="top-title"> 您同意了退款申请 </view>
|
|
|
+ </view>
|
|
|
<!-- 地址信息 -->
|
|
|
<view class="address">
|
|
|
<view class="name-phone">
|
|
@@ -29,7 +46,13 @@
|
|
|
<RefusePopup :show="show" @close="close" />
|
|
|
<AgreePopup :agreeShow="agreeShow" @close="close" />
|
|
|
|
|
|
- <view class="footer">
|
|
|
+ <view
|
|
|
+ class="footer"
|
|
|
+ v-if="
|
|
|
+ orderInformation.goods[0].refund.status == '0' ||
|
|
|
+ orderInformation.goods[0].refund.status == '3'
|
|
|
+ "
|
|
|
+ >
|
|
|
<button class="btn-1" @click="refuseApplication">拒绝申请</button
|
|
|
><button @click="agreeShow = true" class="btn-2">同意退款</button>
|
|
|
</view>
|