Files
coupon/pages/refund/refund.wxml
2023-02-22 23:52:12 +08:00

172 lines
7.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<view class="transition">
<text class="status_msg" wx:if="{{type == 1}}">退款失败,请修改申请</text>
<text wx:if="{{type == 4}}" class="status_msg">请等待商家处理</text>
<text wx:if="{{type == 2}}" class="status_msg">退款成功</text>
<view class="tran_time">
<text wx:if="{{type == 1}}">失败原因:</text>
<text wx:if="{{type == 4}}" >剩余时间:</text>
<text wx:if="{{type==2}}">退款金额:</text>
<text wx:if="{{type==3}}">可退款时间剩余:</text>
<text wx:if="{{btn}}"></text>
<text style="font-weight:700;margin:18rpx 10rpx" wx:if="{{type==1}}">请重新填写您的退款申请</text>
<text style="font-weight:700;" wx:if="{{type==2}}">{{infro.total_money}}</text>
<text style="font-weight:700;" wx:if="{{type==3}}">9天23小时59分钟</text>
<!-- <text style="font-weight:700;margin-top:16rpx;" wx:if="{{type==4}}">23小时59分钟59秒</text> -->
<van-count-down wx:if="{{type==4}}" use-slot time="{{ time }}" bind:change="onChange">
<text class="item">{{ timeData.hours }}</text>
<text style="color: #fff;">时</text>
<text class="item">{{ timeData.minutes }}</text>
<text style="color: #fff;">分钟</text>
<text class="item">{{ timeData.seconds }}</text>
<text style="color: #fff;">秒</text>
</van-count-down>
</view>
<image src="../image/refund.png" class="cang_img" style="width:87rpx;height:72rpx;" ></image>
<view class="tran_text" wx:if="{{type==4}}">商家同意或者超时系统会在1-2个工作日自动退款</view>
<view class="tran_text" wx:if="{{type==2}}">退款金额已退到平台余额里</view>
</view>
<view class="status_infor">
<image src="../image/revice.png" style="width:22rpx;height:26rpx;margin-top: 10rpx;"></image>
<text style="margin:0 36rpx 0 50rpx">联系方式</text>
<text>{{refund.phone}}</text>
</view>
<view style="background: #ffffff;margin-top:64rpx;">
<!-- <view style="height:66rpx;padding: 0 24rpx;">
<text class="time_msg"></text>
<text wx:if="{{infro.status==1}}" class="status_msg">未核销</text>
<text wx:if="{{infro.status==2}}" class="status_msg">已核销</text>
</view> -->
<view style="display: flex;align-items: center;margin:29rpx 0 50rpx 29rpx">
<image src="{{infro.wechat_logo}}" style="width:94rpx;height:94rpx;border-radius:50% ;margin-right:23rpx;background:#666">
</image>
<view>
<view style="color: #333;font-size: 28rpx;font-family: PingFang SC;font-weight: bold;">{{infro.mechanism_name}}</view>
<view
style="color: #ABABAB;font-size: 24rpx;font-family: PingFang SC;font-weight: 400;width:532rpx;">
{{infro.address}}</view>
</view>
<image style="width:80rpx;height:80rpx;" src="/pages/image/phone.png" bindtap="callphone"></image>
</view>
<view class="details_box">
<image src="{{infro.index_img}}" style="width:155rpx;height:155rpx;"></image>
<view style="margin-left: 31rpx;">
<view class="title">{{infro.goods_name}}</view>
<view class="money">实付款:
<text style="font-size: 30rpx;color: #DB1F2B;font-family: PingFang SC;font-weight: bold;">¥{{infro.total_money}}</text>
<text class="detail_number" style="float:right">x{{infro.num}}</text>
</view>
</view>
</view>
</view>
<view class="contact" wx:if="{{infro.status==2}}">
<view style="margin-bottom: 30rpx;">
<text class="information_title">核销时间</text>
<text class="information_title" style="position: absolute;right: 0rpx;">{{infro.jurisdiction_time}}</text>
</view>
<view style="margin-bottom: 30rpx;">
<text class="information_title">操作人</text>
<text class="information_title" style="position: absolute;right: 0rpx;display: flex;">{{infro.jurisdiction_name}}</text>
</view>
</view>
<!--
<view wx:if="{{type==2}}" style=" height:161rpx;position: relative;background: #ffffff;margin-top:8rpx;" >
<view style="padding-top: 22rpx;margin-left: 24rpx;">
<text class="" style="color: #DB1F2B;font-size: 38rpx;font-weight: bold;">退款成功</text>
</view>
<view style="margin-left: 24rpx;">
<text style="font-size: 24rpx;color: #686868;margin-top: 18rpx;">退款金额已退到平台余额里</text>
</view>
</view>
<view wx:if="{{type==1}}" style=" height:161rpx;position: relative;background: #ffffff;margin-top:8rpx;" >
<view style="padding-top: 22rpx;margin-left: 24rpx;">
<text class="" style="color: #DB1F2B;font-size: 38rpx;font-weight: bold;">退款失败,请修改申请</text>
</view>
<view style="margin-left: 24rpx;">
<text style="font-size: 24rpx;color: #686868;margin-top: 18rpx;">失败原因:请重新填写您的退款申请</text>
</view>
</view> -->
<view wx:if="{{type==3||type==2||type==1||type==4}}" class="informationtwo">
<!-- <view class="contact_title" style="height: 10rpx; font-size: 10rpx;font-weight: bold;line-height: 36rpx;color: #333333;">
</view> -->
<view style="margin-top: 26rpx;margin-bottom:170rpx;background-color:#fff ;line-height: 88rpx;padding-left:20rpx">
<view wx:if="{{type==1||type==2||type==4}}">
<text class="information_title">订单编号:</text>
<text class="information_title">{{infro.order_id}}</text>
</view>
<view>
<text class="information_title">退款原因:</text>
<text class="information_title" style="width: 300rpx;">{{refund_name}}</text>
<!-- <text class="information_title" wx:if="{{type==3||type==1||type==4}}" style="float:right;margin-top:24rpx" bindtap="select">请选择></text> -->
</view>
<view >
<text class="information_title">退款金额:</text>
<text class="information_title" style="color:#DB1F2B;">¥{{infro.total_money}}</text>
</view>
<view>
<text class="information_title">退款说明:</text>
<text class="information_title">{{refund.refund_remark}}</text>
</view>
<view wx:if="{{type==1||type==2||type==4}}" >
<text class="information_title">申请时间:</text>
<text class="information_title">{{refund.time}}</text>
</view>
<view >
<text class="information_title">凭证:</text>
</view>
<view class="row-box">
<van-uploader file-list="{{fileListtwo}}"max-count="3" deletable="{{ true }}" bind:after-read="afterReadtwo" bind:delete="deletetwo"/>
</view>
</view>
</view>
<!-- <view wx:if="{{type==3}}" style="font-size: 26rpx;color: #7B7B7B;margin-top: 26rpx;text-align: center;">退款申请提交后,支付款项将退回平台余额</view>
<view wx:if="{{type==3}}" style="font-size: 26rpx;color: #7B7B7B;text-align: center;">1-2个小时到账</view>
<view wx:if="{{type==3}}" class="addperson" bindtap="addperson" style="margin-top: 77rpx;">
<view class="text" style="background-color: #DB1F2B;border-radius: 85px;margin-bottom: 48rpx;"bindtap="commit">提交申请</view>
</view> -->
<view wx:if="{{type==1}}" class="addperson">
<view class="addperson_anniu" bindtap="commit">修改申请</view>
</view>
<view wx:if="{{type==4}}" class="addperson">
<view class="addperson_anniu" bindtap="revoke">撤销申请</view>
<view class="addperson_anniu" bindtap="commit">修改申请</view>
</view>
<!-- 蒙层 -->
<view class="mengceng" wx:if="{{mengceng}}" bindtap="mengceng"></view>
<!-- 退款弹窗 -->
<view wx:if="{{refund_box}}" class="refund_box" style="z-index: 2;">
<view class="gang" bindtap="gang"></view>
<view class="refund_title">
退款原因</view>
<scroll-view scroll-y style="height: 700rpx;">
<radio-group bindchange="radioChange">
<view wx:for="{{reason}}" class="list_box">
<view>{{item.reason}}</view>
<view>
<radio value="{{item.id}}" checked=""/>
</view>
</view>
</radio-group>
<view style="height:50rpx;"></view>
</scroll-view>
<!-- <button type="primary" plain="true" style="margin-bottom:20rpx" bindtap="isok">完成</button> -->
</view>