You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
8.3 KiB

<block wx:if="{{detail.id}}"><view class="order-pages"><view class="item-child flex-center pd-lg fill-base f-paragraph c-base" style="{{'height:200rpx;'+('background:'+(primaryColor)+';')}}"><view class="flex-1 flex-y-baseline f-md-title">{{statusType[detail.status]+''}}<block wx:if="{{detail.status==2}}"><view class="f-desc ml-md">{{"退款金额¥"+detail.refund_price}}</view></block></view></view><view class="item-child mt-md ml-lg mr-lg pd-lg fill-base radius-16"><view class="flex-between pb-lg"><view class="f-paragraph c-title max-380 ellipsis">服务内容</view></view><block wx:for="{{$root.l0}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><view class="{{['flex-center',[(aindex!=aitem.g0-1)?'mb-lg':'']]}}"><image class="avatar lg radius-16" mode="aspectFill" src="{{aitem.$orig.goods_cover}}"></image><view class="flex-1 ml-md"><view class="flex-between"><view class="f-mini-title c-title text-bold max-380 ellipsis">{{''+aitem.$orig.goods_name+''}}</view><view class="c-paragraph">{{"x"+aitem.$orig.num}}</view></view><block wx:if="{{aitem.$orig.material_price*1>0}}"><view class="f-caption c-caption">{{"物料费:¥"+aitem.$orig.material_price+''}}</view></block><view class="f-caption mt-md" style="color:#777;">{{"服务时长 "+aitem.$orig.time_long+"分钟"}}</view><view class="f-paragraph c-warning text-bold mt-sm">{{"¥"+aitem.$orig.goods_price+''}}</view></view></view></block></view><block wx:if="{{detail.store_id}}"><view class="store-info mt-md ml-lg mr-lg pd-lg fill-base radius-16"><view class="f-mini-title c-title text-bold pb-md">{{''+detail.store_info.title+''}}</view><view class="flex-between"><view class="flex-y-center" style="color:#303030;"><view class="iconfont icondizhi1 mr-sm _i"></view><view class="c-title flex-1 mr-md"><label class="_span">{{detail.store_info.address||'暂未设置门店地址'}}</label><block wx:if="{{detail.store_info.address}}"><label data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="copy-btn span radius-5 f-icontext ml-sm _span" style="{{'color:'+(primaryColor)+';'+('border-color:'+(primaryColor)+';')}}" catchtap="__e">复制</label></block></view></view><view class="flex-center"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="item-icon rel flex-center radius-16" catchtap="__e"><view class="item-icon radius-16 abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="iconfont icondadianhua_1 _i" style="{{'color:'+(primaryColor)+';'}}"></view></view><block wx:if="{{detail.store_info.address}}"><view data-event-opts="{{[['tap',[['toMap',['store_info']]]]]}}" class="item-icon rel flex-center radius-16 ml-md" catchtap="__e"><view class="item-icon radius-16 abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="iconfont icondizhi_1 _i" style="{{'color:'+(primaryColor)+';'}}"></view></view></block></view></view></view></block><view class="order-agent-info store-info mt-md ml-lg mr-lg pd-lg fill-base f-paragraph radius-16"><view class="flex-between"><image class="coach-img radius" mode="aspectFill" src="{{detail.coach_info.work_img}}"></image><view class="f-title text-bold max-450 ellipsis">{{''+(detail.coach_info?detail.coach_info.coach_name:'')+''}}</view></view><view class="flex-center mt-lg"><view class="title">下单人</view><view class="text flex-1 ellipsis">{{detail.address_info.user_name}}</view></view><view class="flex-center mt-lg"><view class="title">联系方式</view><view class="text flex-1 flex-between"><view>{{''+$root.g1+"****"+$root.g2+''}}</view><view data-event-opts="{{[['tap',[['toTel',['$event']]]]]}}" class="item-icon rel flex-center radius-16" catchtap="__e"><view class="item-icon radius-16 abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="iconfont icondadianhua_1 _i" style="{{'color:'+(primaryColor)+';'}}"></view></view></view></view><block wx:if="{{!detail.store_id}}"><view class="flex-warp mt-lg"><view class="title">服务地址</view><view class="text flex-1 flex-between"><view style="max-width:350rpx;"><label class="_span">{{''+detail.address_info.address+detail.address_info.address_info}}</label><label data-event-opts="{{[['tap',[['toCopy',['$event']]]]]}}" class="copy-btn fill radius-5 f-icontext ml-sm _span" bindtap="__e">复制</label></view><view data-event-opts="{{[['tap',[['toMap',['address_info']]]]]}}" class="item-icon rel flex-center radius-16" catchtap="__e"><view class="item-icon radius-16 abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="iconfont icondizhi_1 _i" style="{{'color:'+(primaryColor)+';'}}"></view></view></view></view></block><view class="flex-between mt-lg pt-lg b-1px-t"><view class="title"></view><view class="flex-y-baseline f-paragraph c-black text-bold">总计:<view class="c-warning">{{'¥'+detail.apply_price}}</view><block wx:if="{{detail.car_price*1>0}}"><view class="flex-y-center ml-md">含车费:<view class="f-icontext">¥</view>{{detail.car_price+''}}</view></block></view></view></view><view class="order-agent-info mt-md ml-lg mr-lg pd-lg fill-base radius-16"><view class="flex-center"><view class="title">退款单号</view><view class="text flex-1"><view class="flex-between"><view class="max-350 ellipsis">{{detail.order_code}}</view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="copy-btn flex-center radius-5 f-icontext" style="{{'color:'+(primaryColor)+';'+('border-color:'+(primaryColor)+';')}}" bindtap="__e">复制</view></view></view></view><block wx:if="{{detail.out_refund_no}}"><view class="flex-center mt-lg"><view class="title">微信退款单号</view><view class="text flex-1"><view class="flex-between"><view class="max-350 ellipsis">{{detail.out_refund_no}}</view><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="copy-btn flex-center radius-5 f-icontext" style="{{'color:'+(primaryColor)+';'+('border-color:'+(primaryColor)+';')}}" bindtap="__e">复制</view></view></view></view></block><view class="flex-center mt-lg"><view class="title">提交日期</view><view class="text flex-1 ellipsis">{{detail.create_time}}</view></view><block wx:if="{{detail.status!=1}}"><view class="flex-center mt-lg"><view class="title">审核日期</view><view class="text flex-1 ellipsis">{{detail.refund_time}}</view></view></block><view class="mt-lg"><view class="title">退款原因</view><view class="text mt-sm">{{detail.text}}</view></view><block wx:if="{{$root.g3}}"><view class="flex-column"><view class="title">上传图片</view><view class="flex-warp"><block wx:for="{{detail.imgs}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><image class="refund-img mt-md mr-md radius-10" src="{{item}}" data-event-opts="{{[['tap',[['previewImage',['$0','$1'],[[['detail.imgs','',index]],'detail.imgs']]]]]}}" bindtap="__e"></image></block></block></view></view></block></view><view class="space-max-footer"></view><block wx:if="{{detail.status==1}}"><fix-bottom-button vue-id="28fbb911-1" text="{{[{text:'拒绝退款',type:'cancel'},{text:'同意退款',type:'confirm'}]}}" bgColor="#fff" classType="{{2}}" data-event-opts="{{[['^cancel',[['toConfirm',[3]]]],['^confirm',[['toConfirm',[2]]]]]}}" bind:cancel="__e" bind:confirm="__e" bind:__l="__l"></fix-bottom-button></block><uni-popup class="vue-ref" vue-id="28fbb911-2" type="center" custom="{{true}}" data-ref="change_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="common-popup-content fill-base pd-lg radius-34"><view class="title">温馨提示</view><view class="desc">{{'你确认要操作'+statusType[popupInfo.type]+'吗?'}}</view><block wx:if="{{popupInfo.type==2}}"><view class="mt-lg"><input class="input flex-y-center pl-lg pr-lg f-sm-title c-title radius-16" type="digit" placeholder-class="c-placeholder" placeholder="请输入退款金额" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],['popupInfo']]]]]}}" value="{{popupInfo.price}}" bindinput="__e"/><view class="f-desc c-caption mt-md"><view class="flex-y-center">实际可退款金额<view class="ml-sm c-warning">{{"¥"+popupInfo.apply_price+''}}</view></view><view>退款金额不能大于可退款金额</view></view></view></block><view class="button"><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="item-child" catchtap="__e">取消</view><view data-event-opts="{{[['tap',[['confirmChangeOrder',['$event']]]]]}}" class="item-child c-base" style="{{'background:'+(primaryColor)+';'+('color:'+('#fff')+';')}}" catchtap="__e">确定</view></view></view></uni-popup></view></block>