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
12 KiB
1 lines
12 KiB
<block wx:if="{{detail.id}}"><view class="order-pages"><view class="item-child pd-lg fill-base f-paragraph c-base" style="{{'background:'+(primaryColor)+';'}}"><view class="flex-y-baseline"><view class="text-bold">{{statusType[detail.pay_type]}}</view><block wx:if="{{(detail.pay_type==-1||detail.pay_type==8)&&detail.coach_refund_time}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="ml-md" catchtap="__e">{{''+$root.m0+'拒单,查看原因'}}</view></block></view><block wx:if="{{detail.pay_type==1&&detail.end_time>0}}"><view class="f-caption mt-sm">请在<min-countdown vue-id="48f551a3-1" targetTime="{{over_time_text}}" data-event-opts="{{[['^callback',[['countEnd']]]]}}" bind:callback="__e" bind:__l="__l"></min-countdown>内完成支付,逾期未支付,订单将自动取消</view></block><view class="space-lg"></view></view><view class="{{['menu-list','flex-warp','rel','ml-lg','mr-lg','pt-lg','pb-lg','pl-md','pr-md','fill-base','f-paragraph','c-caption','radius-16',[(detail.is_add||detail.store_id)?'add-bell':'']]}}"><view class="menu-line abs b-1px-b"></view><block wx:for="{{lineList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.icon}}"><view class="item-child flex-center flex-column f-icontext c-paragraph" style="{{'color:'+(detail.pay_type>item.pay_type-1&&detail.pay_type!=8?primaryColor:'')+';'}}"><view class="item-img fill-base flex-center mb-sm radius" style="{{'border-color:'+(detail.pay_type>item.pay_type-1&&detail.pay_type!=8?primaryColor:'')+';'}}"><view class="{{['iconfont','_i',item.icon]}}"></view></view><view class="ellipsis" style="max-width:100%;">{{item.title}}</view></view></block></block></block></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-warp',[(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','ellipsis',[(aitem.$orig.refund_num>0)?'max-300':''],[(aitem.$orig.refund_num==0)?'max-450':'']]}}">{{''+aitem.$orig.goods_name+''}}</view><block wx:if="{{aitem.$orig.refund_num>0}}"><view class="f-caption c-warning">{{"已退x"+aitem.$orig.refund_num}}</view></block></view><view class="f-caption c-caption">{{'服务'+aitem.m1+":"+(detail.coach_info?detail.coach_info.coach_name:'-')+''}}</view><view class="f-caption c-caption">{{"服务时长:"+aitem.$orig.time_long+"分钟"}}</view><block wx:if="{{aitem.$orig.material_price*1>0}}"><view class="f-caption c-caption">{{"物料费:¥"+aitem.$orig.material_price+''}}</view></block><view class="flex-between"><view class="flex-y-baseline f-caption c-warning">¥<view class="f-title text-bold">{{''+aitem.$orig.price+''}}</view></view><view class="c-paragraph">{{"x"+aitem.$orig.num}}</view></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',[['e1',['$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',[['e2',['$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="mt-md ml-lg mr-lg pd-lg fill-base f-paragraph c-caption radius-16"><view class="flex-between"><view>下单人</view><view class="c-title">{{detail.address_info.user_name}}</view></view><view class="flex-between mt-md"><view>联系方式</view><view class="c-title">{{detail.address_info.mobile}}</view></view><block wx:if="{{!detail.store_id}}"><view class="mt-md"><view>服务地址</view><view class="c-title mt-sm">{{''+detail.address_info.address+detail.address_info.address_info+''}}</view></view></block><block wx:if="{{detail.text}}"><view class="mt-md"><view>订单备注</view><view class="c-title mt-sm">{{detail.text}}</view></view></block></view><view class="mt-md ml-lg mr-lg pd-lg fill-base f-paragraph c-caption radius-16"><view class="flex-center"><image class="avatar sm radius" mode="aspectFill" src="{{detail.coach_info.work_img}}"></image><view class="{{['flex-1','ml-lg',[(configInfo.order_contact_coach)?'flex-between':'']]}}"><view class="c-title max-380 ellipsis">{{(detail.coach_info?detail.coach_info.coach_name:'')+''}}</view><block wx:if="{{configInfo.order_contact_coach}}"><view data-event-opts="{{[['tap',[['toTel',['$event']]]]]}}" class="call-btn flex-center f-desc text-bold" style="{{'color:'+(primaryColor)+';'+('border:'+('1rpx solid '+primaryColor)+';')}}" bindtap="__e">联系Ta</view></block></view></view><view class="flex-between mt-md"><view>下单时间</view><view class="c-title">{{detail.create_time}}</view></view><view class="flex-between mt-md"><view>服务时间</view><view class="c-title">{{detail.start_time}}</view></view><view class="flex-between mt-md"><view>服务时长</view><view class="c-title">{{detail.time_long+"分钟"}}</view></view><block wx:if="{{!detail.is_add&&!detail.store_id}}"><block><view class="flex-between mt-md"><view>车费详情</view><view class="flex-y-center c-title">{{carType[detail.car_type]+''}}<block wx:if="{{detail.car_type==1}}"><view class="ml-md">{{"全程"+detail.distance}}</view></block></view></view><block wx:if="{{detail.car_type==1}}"><view class="flex-between mt-md"><view>出行费用</view><view class="c-warning">{{"出租车 ¥"+detail.car_price}}</view></view></block></block></block><view class="flex-between mt-md"><view>服务项目费用</view><view class="c-warning">{{"¥"+detail.init_service_price}}</view></view><block wx:if="{{detail.material_price*1>0}}"><view class="flex-between mt-md"><view>物料费</view><view class="c-warning">{{"¥"+detail.material_price}}</view></view></block><block wx:if="{{detail.discount*1>0}}"><view class="flex-between mt-md"><view>卡券优惠</view><view class="c-warning">{{"-¥"+detail.discount}}</view></view></block><view class="flex-between mt-md"><view>支付方式</view><view class="flex-y-baseline c-title">{{payType[detail.pay_model]}}</view></view><view class="flex-between mt-md pt-md b-1px-t"><view></view><view class="flex-y-baseline c-title">总计:<view class="c-warning">{{"¥"+detail.pay_price}}</view></view></view></view><view class="mt-md ml-lg mr-lg pd-lg fill-base f-paragraph c-caption radius-16"><view class="flex-y-center pb-lg flex-warp"><view class="flex-between c-title">订单编号:</view><view class="flex-between flex-1"><view class="c-title">{{detail.order_code}}</view><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="copy-btn flex-center radius-5 f-icontext" style="{{'border-color:'+(primaryColor)+';'+('color:'+(primaryColor)+';')}}" catchtap="__e">复制</view></view></view><timeline vue-id="48f551a3-2" list="{{lineList}}" info="{{detail}}" type="{{1}}" bind:__l="__l"></timeline></view><view class="space-max-footer"></view><block wx:if="{{detail.pay_type!=-1}}"><view class="footer-info fix fill-base"><view class="flex-between pd-lg"><view></view><view class="flex-center f-desc c-title"><button class="clear-btn item-btn flex-center f-desc" style="border-radius:100rpx;" open-type="{{configInfo.im_type==2?'contact':''}}" data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" catchtap="__e">联系客服</button><block wx:if="{{detail.pay_type==1}}"><block><view data-event-opts="{{[['tap',[['toCancel',['$event']]]]]}}" class="item-btn flex-center ml-md radius" catchtap="__e">取消订单</view><view data-event-opts="{{[['tap',[['toPay',['$event']]]]]}}" class="item-btn flex-center ml-md c-base radius" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">去支付</view></block></block><block wx:if="{{detail.can_refund*1>0}}"><view data-event-opts="{{[['tap',[['goDetail',['refund']]]]]}}" class="item-btn flex-center ml-md radius" catchtap="__e">申请退款</view></block><block wx:if="{{detail.pay_type==6&&(detail.is_add||!detail.is_add&&detail.can_add_order)}}"><view data-event-opts="{{[['tap',[['e5',['$event']]]]]}}" class="item-btn flex-center ml-md c-base radius" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">{{''+(detail.is_add?'升级项目':'升级/加钟')+''}}</view></block><block wx:if="{{detail.is_add}}"><view data-event-opts="{{[['tap',[['e6',['$event']]]]]}}" class="item-btn flex-center ml-md c-base radius" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">查看主订单</view></block><block wx:if="{{$root.g1}}"><view data-event-opts="{{[['tap',[['e7',['$event']]]]]}}" class="item-btn flex-center ml-md c-base radius" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">查看加钟</view></block></view></view><view class="space-safe"></view></view></block><common-popup class="vue-ref" vue-id="48f551a3-3" type="CANCEL_ORDER" info="{{popupInfo}}" data-ref="cancel_item" data-event-opts="{{[['^confirm',[['confirmCancel']]]]}}" bind:confirm="__e" bind:__l="__l"></common-popup><common-popup class="vue-ref" vue-id="48f551a3-4" type="DELETE_ORDER" info="{{popupInfo}}" data-ref="del_item" data-event-opts="{{[['^confirm',[['confirmDel']]]]}}" bind:confirm="__e" bind:__l="__l"></common-popup><uni-popup class="vue-ref" vue-id="48f551a3-5" type="center" custom="{{true}}" data-ref="refuse_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="common-popup-content fill-base pd-lg radius-34"><view class="title">拒单原因</view><scroll-view class="refund-text mt-lg" scroll-y="{{true}}" data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" catchtouchmove="__e"><view><text style="word-break:break-all;" decode="emsp">{{detail.coach_refund_text||'没有填写原因哦'}}</text></view></scroll-view><view class="button"><view data-event-opts="{{[['tap',[['e8',['$event']]]]]}}" class="item-child c-base" style="{{'background:'+(primaryColor)+';'+('color:'+('#fff')+';')}}" catchtap="__e">知道了</view></view></view></uni-popup><uni-popup class="vue-ref" vue-id="48f551a3-6" type="center" maskClick="{{false}}" data-ref="show_phone_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="common-popup-content fill-base pd-lg radius-34"><view class="title">拨打电话</view><view class="space-lg"></view><view data-event-opts="{{[['tap',[['toCallPhone',['$0'],['configInfo.mobile']]]]]}}" class="flex-between mt-md f-mini-title c-caption" style="width:100%;" catchtap="__e"><view class="flex-y-center">推荐1:<view class="c-title">{{configInfo.mobile+''}}</view></view><view style="{{'color:'+(primaryColor)+';'}}">拨打</view></view><view data-event-opts="{{[['tap',[['toCallPhone',['$0'],['detail.admin_phone']]]]]}}" class="flex-between mt-md f-mini-title c-caption" style="width:100%;" catchtap="__e"><view class="flex-y-center">推荐2:<view class="c-title">{{detail.admin_phone+''}}</view></view><view style="{{'color:'+(primaryColor)+';'}}">拨打</view></view></view><view class="flex-center mt-lg"><view data-event-opts="{{[['tap',[['e9',['$event']]]]]}}" class="iconfont icon-close c-base _i" style="font-size:60rpx;" catchtap="__e"></view></view></uni-popup></view></block> |