|
| xqd
@@ -1,26 +1,76 @@
|
|
|
<!--pages/order-refund-detail/order-refund-detail.wxml-->
|
|
|
-<!-- <view class="bg-white mb-20 goods-item">
|
|
|
- <view class="data-list">
|
|
|
- <view class="data-item flex-row">
|
|
|
- <view class="flex-grow-0 item-icon flex-col">
|
|
|
- <view class="item-line flex-grow-0"></view>
|
|
|
- <view class="item-line flex-grow-0 fs-0">
|
|
|
- <image class="point-gray" src="/images/icon-point-gray.png" style="width:16rpx;height: 16rpx "></image>
|
|
|
- <image class="point-green" src="/images/icon-point-green.png" style="width:32rpx;height: 32rpx;left: -15rpx "></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+<view wx:if='{{order_refund.refund_type==1}}' class='goods-item' style='margin-bottom: 20rpx;'>
|
|
|
+ <view class='flex progress'>
|
|
|
+ <view class='flex-y-center flex-x-center'>
|
|
|
+ <image wx:if='{{order_refund.refund_status==0}}' style='width: 50rpx; height: 50rpx;' src='/images/refund_active.png'></image>
|
|
|
+ <image wx:else style='width: 30rpx; height: 30rpx;' src='/images/refund_active.png'></image>
|
|
|
</view>
|
|
|
- <view class="data-item flex-row">
|
|
|
- <view class="flex-grow-0 item-icon flex-col">
|
|
|
- <view class="item-line flex-grow-0"></view>
|
|
|
- <view class="item-line flex-grow-0 fs-0">
|
|
|
- <image class="point-gray" src="/images/icon-point-gray.png" style="width:16rpx;height: 16rpx "></image>
|
|
|
- <image class="point-green" src="/images/icon-point-green.png" style="width:32rpx;height: 32rpx;left: -15rpx "></image>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ <view class='flex-y-center flex-x-center' style='width: 22%;'>
|
|
|
+ <view wx:if='{{order_refund.refund_status>0}}' style='width: 100%; height: 1px; background-color: #EB4851;'></view>
|
|
|
+ <view wx:else style='width: 100%; height: 1px; background-color: #CACBCC;'></view>
|
|
|
+ </view>
|
|
|
+ <view class='flex-y-center flex-x-center'>
|
|
|
+ <image wx:if='{{order_refund.refund_status==1 || order_refund.refund_status==3}}' style='width: 50rpx; height: 50rpx;' src='/images/refund_active.png'></image>
|
|
|
+ <image wx:elif='{{order_refund.refund_status>1}}' style='width: 30rpx; height: 30rpx;' src='/images/refund_active.png'></image>
|
|
|
+ <image wx:else style='width: 30rpx; height: 30rpx;' src='/images/refund_default.png'></image>
|
|
|
+ </view>
|
|
|
+ <view class='flex-y-center flex-x-center' style='width: 22%;'>
|
|
|
+ <view wx:if='{{order_refund.refund_status>1}}' style='width: 100%; height: 1px; background-color: #EB4851;'></view>
|
|
|
+ <view wx:else style='width: 100%; height: 1px; background-color: #CACBCC;'></view>
|
|
|
+ </view>
|
|
|
+ <view class='flex-y-center flex-x-center'>
|
|
|
+ <image wx:if='{{order_refund.refund_status==4}}' style='width: 50rpx; height: 50rpx;' src='/images/refund_active.png'></image>
|
|
|
+ <image wx:elif='{{order_refund.refund_status>4}}' style='width: 30rpx; height: 30rpx;' src='/images/refund_active.png'></image>
|
|
|
+ <image wx:else style='width: 30rpx; height: 30rpx;' src='/images/refund_default.png'></image>
|
|
|
+ </view>
|
|
|
+ <view class='flex-y-center' style='width: 21%;'>
|
|
|
+ <view wx:if='{{order_refund.refund_status>4}}' style='width: 100%; height: 1px; background-color: #EB4851;'></view>
|
|
|
+ <view wx:else style='width: 100%; height: 1px; background-color: #CACBCC;'></view>
|
|
|
+ </view>
|
|
|
+ <view class='flex-y-center flex-x-center'>
|
|
|
+ <image wx:if='{{order_refund.refund_status==5}}' style='width: 50rpx; height: 50rpx;' src='/images/refund_active.png'></image>
|
|
|
+ <image wx:else style='width: 30rpx; height: 30rpx;' src='/images/refund_default.png'></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
-</view> -->
|
|
|
+ <view class='flex-row' style='text-align: center;'>
|
|
|
+ <view class='flex-grow-1'>提交申请</view>
|
|
|
+ <view wx:if='{{order_refund.refund_status==3}}' class='flex-grow-1'>审核不通过</view>
|
|
|
+ <view wx:else class='flex-grow-1'>审核通过</view>
|
|
|
+ <view class='flex-grow-1'>寄回商品</view>
|
|
|
+ <view class='flex-grow-1'>完成退货</view>
|
|
|
+ </view>
|
|
|
+</view>
|
|
|
+<view wx:else class='goods-item' style='margin-bottom: 20rpx;'>
|
|
|
+ <view class='flex' style='margin: 0 0 5% 14%;'>
|
|
|
+ <view class='flex-y-center flex-x-center'>
|
|
|
+ <image wx:if='{{order_refund.refund_status==0}}' style='width: 50rpx; height: 50rpx;' src='/images/refund_active.png'></image>
|
|
|
+ <image wx:else style='width: 30rpx; height: 30rpx;' src='/images/refund_active.png'></image>
|
|
|
+ </view>
|
|
|
+ <view class='flex-y-center flex-x-center' style='width: 32%;'>
|
|
|
+ <view wx:if='{{order_refund.refund_status>0}}' style='width: 100%; height: 1px; background-color: #EB4851;'></view>
|
|
|
+ <view wx:else style='width: 100%; height: 1px; background-color: #CACBCC;'></view>
|
|
|
+ </view>
|
|
|
+ <view class='flex-y-center flex-x-center'>
|
|
|
+ <image wx:if='{{order_refund.refund_status==2 || order_refund.refund_status==3}}' style='width: 50rpx; height: 50rpx;' src='/images/refund_active.png'></image>
|
|
|
+ <image wx:elif='{{order_refund.refund_status>3}}' style='width: 30rpx; height: 30rpx;' src='/images/refund_active.png'></image>
|
|
|
+ <image wx:else style='width: 30rpx; height: 30rpx;' src='/images/refund_default.png'></image>
|
|
|
+ </view>
|
|
|
+ <view class='flex-y-center flex-x-center' style='width: 32%;'>
|
|
|
+ <view wx:if='{{order_refund.refund_status>3}}' style='width: 100%; height: 1px; background-color: #EB4851;'></view>
|
|
|
+ <view wx:else style='width: 100%; height: 1px; background-color: #CACBCC;'></view>
|
|
|
+ </view>
|
|
|
+ <view class='flex-y-center flex-x-center'>
|
|
|
+ <image wx:if='{{order_refund.refund_status==6}}' style='width: 50rpx; height: 50rpx;' src='/images/refund_active.png'></image>
|
|
|
+ <image wx:else style='width: 30rpx; height: 30rpx;' src='/images/refund_default.png'></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class='flex-row' style='text-align: center;'>
|
|
|
+ <view class='flex-grow-1'>提交申请</view>
|
|
|
+ <view wx:if='{{order_refund.refund_status==3}}' class='flex-grow-1'>审核不通过</view>
|
|
|
+ <view wx:else class='flex-grow-1'>审核通过</view>
|
|
|
+ <view class='flex-grow-1'>完成退款</view>
|
|
|
+ </view>
|
|
|
+</view>
|
|
|
<view class="goods-item">
|
|
|
<view class="flex-row">
|
|
|
<view class="flex-col">
|
|
| xqd
@@ -48,9 +98,10 @@
|
|
|
<view>退款原因:{{order_refund.refund_desc}}</view>
|
|
|
</view>
|
|
|
<view wx:if="{{order_refund.express_name=='' && order_refund.refund_type==1}}" style='text-align: center;'>
|
|
|
- <navigator url='/pages/express-orderid/express-orderid?order_id={{order_id}}' class='button'>填写运单号</navigator>
|
|
|
+ <view wx:if='{{order_refund.refund_status==0}}' class='button'>填写运单号</view>
|
|
|
+ <navigator wx:elif='{{order_refund.refund_status < 3}}' url='/pages/express-orderid/express-orderid?order_id={{order_id}}' class='button' style='background: #EB4851;'>填写运单号</navigator>
|
|
|
</view>
|
|
|
-<view class='wrapper' wx:if="{{order_refund.express_name!==''}}">
|
|
|
+<view class='wrapper bg-white' wx:if="{{order_refund.express_name!==''}}">
|
|
|
<view class='reason-item'>
|
|
|
<view class="flex-grow-1 flex-row">
|
|
|
<view class="flex-y-center" style='width: 100%;'>
|