order-page-airportTransfer-order-detail-index.bac05785.js 33 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["order-page-airportTransfer-order-detail-index"],{"17dc":function(e,t,i){"use strict";i.r(t);var a=i("d71e"),r=i("c394");for(var o in r)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return r[e]}))}(o);i("3820");var n=i("828b"),d=Object(n["a"])(r["default"],a["b"],a["c"],!1,null,"e0769ab6",null,!1,a["a"],void 0);t["default"]=d.exports},1895:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("bf0f"),i("2797"),i("fd3c"),i("aa9c"),i("f7a5"),i("64aa"),i("5c47"),i("2c10");var r=a(i("5de6")),o=a(i("b7c7")),n=a(i("2634")),d=a(i("2fdc")),s=a(i("39d8")),l=a(i("dae0")),c=a(i("44ca")),f=a(i("34cae")),u=a(i("495e")),p=a(i("8c27")),v=i("9d0a"),g=i("419c"),h=i("815c"),b=a(i("fc1b")),m=(a(i("ae59")),i("d240")),w=a(i("dc1f")),x=(i("262c"),i("3137")),y=i("e0a2"),_={components:{PaySelectModal:f.default,CenterModal:u.default,loading:p.default,CustomMap:b.default},mixins:[w.default,l.default,c.default],data:function(){var e;return{orderId:0,from:"",order_type:"takeout",orderInfo:(e={ordersn:"",serialSn:"",status:0,isPay:0,isComment:0,statusTips:"",products:[],totalFee:0,finalFee:0,discountFee:0,boxPrice:0,deliveryPrice:0,packingPirce:0,orderType:0,zitiType:0,deliveryDay:"",deliveryTime:"",username:"",sex:"",mobile:"",address:"",payTypeCn:"",spellrice_serial_sn:"",is_spellrice:0,note:""},(0,s.default)(e,"deliveryPrice",0),(0,s.default)(e,"pack_fee",0),(0,s.default)(e,"price",0),(0,s.default)(e,"batch_result",{}),(0,s.default)(e,"lock_status",0),(0,s.default)(e,"lock_result",{}),(0,s.default)(e,"qrcode",""),(0,s.default)(e,"person_num",0),e),storeInfo:{logo:"",id:"",title:"",address:"",mobile:"",cn:{},pageShowType:2,is_haodian:0},special_delivery_status:"",activityed:[],showPaySelectModal:!1,loadingShow:!1,mapInfo:{fromCoordinate:{},toCoordinate:{},centerCoordinate:{},polyline:[],minutes:0,delivery_status:!1},order_images:[],priceDiffGoodsTmp:{},qrcode_box_show:!1,order_qrcode:"",open_lock_string:"",priceDifferencePopup:!1,showHelibaoAlipayImageModel:!1,helibaoAlipayPayUrl:"",is_need_websocket_connect:!1,websocket_is_connected:!1,type:"once",send_platform:"",showNum:!1,showMore:!1,button:[{text:"取消",backgroundColor:"#E6E6E6",fontColor:"#000",plain:!0,shape:"round"},{text:"确定",backgroundColor:"#ffca28",fontColor:"#000"}],showCode:!1,showImg:!1,serial_sn_text:"取餐码",is_finishMeal:0,delivery_title:"配送",orderStatusList:[],bottomPopupShow:!1,imageSet:[],bottomSortRecordPopupShow:!1,sortRecordList:[],showSpellRiceBox:!1,spellRiceInfo:[],shareParams:null,vehicleData:""}},computed:{},onLoad:function(e){var t=this;return(0,d.default)((0,n.default)().mark((function i(){return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:t.orderId=(null===e||void 0===e?void 0:e.order_sn)||0,t.getOrderDetailData();case 2:case"end":return i.stop()}}),i)})))()},onShow:function(){this.getOrderDetailData()},onPullDownRefresh:function(){this.getOrderDetailData()},methods:{contact:function(e,t){uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(e))})},goto:function(e){(0,g.navPage)("/SP/informationWP?sn=".concat(e))},orderNotice:function(){orderNoticeApi({order_id:this.orderId}).then((function(e){console.log(e)}))},payPriceDiff:function(e){e.index?(this.orderId=this.priceDiffGoodsTmp.op_id,this.order_type="priceDiff",this.showPaySelectModal=!0,this.priceDifferencePopup=!1):this.priceDifferencePopup=!1},payPriceDiffShow:function(e){this.priceDifferencePopup=!0,this.priceDiffGoodsTmp=e},getQrcode:function(){var e=this;this.showCode=!0;setTimeout((function(){e.showImg=!0}),290)},closeCode:function(e){console.log(e,"ddadad"),this.showImg=!1,this.showCode=!1},codeUpdata:function(e){var t=e,i=t.split(","),a="";if(this.showNum)a+=i[0];else for(var r=0;r<i.length;r++)a+=i[r],(r+1)%3===0?a+=",\n":r+1!=i.length&&(a+=",");return console.log(a),a},numCl:function(e){var t=e.split(",");t.length>1&&(this.showNum=!0)},modalMore:function(e){console.log(e),this.showMore=!1},reconnect:function(){var e=y.LOCK_WEBSOCKET_URL;uni.connectSocket({url:e,success:function(e){console.log("WebSocket连接创建成功!",e)},fail:function(e){uni.showModal({title:"提示",content:"连接失败,请退出重新进入",showCancel:!1})}})},payOrderEvent:function(){this.showPaySelectModal=!0},handlePaySuccessEvent:function(){this.orderId=this.orderInfo.id,this.showPaySelectModal=!1,this.getOrderDetailData()},handlePayFailEvent:function(){this.orderId=this.orderInfo.id,this.showPaySelectModal=!1},handlePayCancelEvent:function(){this.orderId=this.orderInfo.id},confirmHelibaoAlipayEvent:function(e){this.helibaoAlipayPayUrl=e,this.showHelibaoAlipayImageModel=!0},getOrderDetailData:function(){var e=this;this.loadingShow=!0,(0,m.getAirportPickupDetail)({sn:this.orderId}).then((function(t){var i;e.orderInfo=t,e.vehicleData=null!==(i=null===t||void 0===t?void 0:t.vehicle)&&void 0!==i?i:""})).catch((function(e){console.error("[order-detail]订单详情获取失败",e),(0,v.showToast)({title:e.msg}),(0,g.navBack)()})).finally((function(){e.loadingShow=!1})),console.log("订单信息",this.orderInfo)},handleOrderStatusTipsInfo:function(e,t){1===e.is_spellrice&&(this.orderInfo.statusTips="该订单为拼饭订单"),7!==e.delivery_status&&t&&(this.orderInfo.statusTips=t.note||""),e.status>=2&&e.status<5&&1===e.order_type&&(this.orderInfo.statusTips="配送时间:".concat(e.delivery_time))},call:function(){(0,h.callPhone)(this.orderInfo.vehicle.driver_phone)},callDeliveryer:function(){(0,h.callPhone)(this.orderInfo.deliveryer.mobile)},handleBeforeNavBack:function(){return!0},getMapPath:function(e){var t=this,i=e.store,a=i.location_x,r=i.location_y,n=e.user,d=n.location_x,s=n.location_y;getOrderMapPathApi(e).then((function(e){var i=null===e||void 0===e?void 0:e.paths[0],n=i.steps,l=void 0===n?[]:n,c=[];l.forEach((function(e){var t=e.polyline,i=t.split(";").map((function(e){var t=e.split(",");return{latitude:(+t[1]).toFixed(5),longitude:(+t[0]).toFixed(5)}}));c.push.apply(c,(0,o.default)(i))})),t.mapInfo={fromCoordinate:{latitude:+a,longitude:+r},toCoordinate:{latitude:+d,longitude:+s},centerCoordinate:c[0],polyline:c,minutes:e.minutes,delivery_status:e.delivery_status},console.log(t.mapInfo)}))},refundOrder:function(){uni.showModal({title:"提示",content:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",showCancel:!1})},previewImage:function(e,t){uni.previewImage({current:t,urls:e})},callPhone:function(e){uni.makePhoneCall({phoneNumber:e})},copyToClipBoard:h.copyToClipBoard,expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(e,t,i,a){var r=this;1!=a?0!=this.orderInfo.isPay?1==this.orderInfo.consumer_is_can_applyrefund?uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(t){t.confirm&&(0,g.navPage)("/order-page/takeout-order-refund/index?id="+e+"&type="+r.type)}}):uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3}):uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单?",success:function(i){i.confirm&&cancelOrderApi({id:e}).then((function(e){(0,v.showToast)({title:"取消订单成功"}),t&&t()})).catch((function(e){(0,v.showToast)({title:e.msg})}))}}):uni.showToast({title:"订单退款申请中,请耐心等候",icon:"none",duration:2e3})},toStore:function(e,t){1==this.storeInfo.is_haodian?(0,g.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid="+e):2==this.storeInfo.is_haodian&&this.storeInfo.custom_links?(0,g.navPage)(this.storeInfo.custom_links):(this.storeInfo.pageShowType,(0,g.navPage)("/store-page/product-showcase/template-1?sid="+e+"&table_id="+t+"&is_scan=1"))},getOrderStatusList:function(){var e=this;orderStatusListApi(this.orderId).then((function(t){e.orderStatusList=t,console.log("this.orderStatusList",e.orderStatusList)}))},showBottomPopupShow:function(){this.bottomPopupShow=!0},toRecord:function(e){if(e.is_pickup||e.is_delivery){var t=e.is_pickup?"pickup":"delivery",i=e.express_type,a=e.waybillno;(0,g.navPage)("record?order_id="+this.orderId+"&type="+t+"&express_type="+i+"&waybillno="+a)}else uni.showToast({title:"该状态无法查询物流信息",icon:"none",duration:2e3})},searchSortRecord:function(){this.bottomSortRecordPopupShow=!0},previewSortImage:function(e){var t=e.images.map((function(e){return e}));uni.previewImage({current:0,urls:t})},countDown:function(){var e=this;this.timer=setInterval((function(){e.handleFormatTime()}),1e3)},handleFormatTime:function(){var e=1e3*this.spellRiceInfo.spellrice_end_time,t=(new Date).getTime(),i=e-t;if(i<=0)clearInterval(this.timer);else{var a=Math.floor(i/36e5),r=Math.floor(i%36e5/6e4),o=Math.floor(i%6e4/1e3);this.spellRiceInfo.hour=a<10?"0"+a:a,this.spellRiceInfo.minute=r<10?"0"+r:r,this.spellRiceInfo.second=o<10?"0"+o:o}},shareSpellRice:function(){(0,g.navPage)("/plugin-page/eatmerge/index")},rereminderOrderApi:function(){var e=this,t={order_id:this.orderInfo.id};(0,x.reminderOrderEventApi)(t).then((function(t){t.data?(uni.showToast({icon:"none",title:"已为您催促配送"}),e.getOrderStatusList()):uni.showToast({icon:"none",title:"系统繁忙,请稍后重试"})}))},reminderOrderEvent:function(){var e=this.orderInfo.deliveryTime,t=this.extractFirstTime(e);console.log(t);var i=this.isTimeOutOfRange(t);if(console.log(i),i){for(var a="",r=0;r<this.orderStatusList.length;r++){var o=this.orderStatusList[r].info.slice(-2);if("催单"===o){a=this.orderStatusList[r].time;break}}if(""!=a){var n=this.isIntervalTime(a,10);n?uni.showToast({icon:"none",title:"请勿频繁催单"}):this.rereminderOrderApi()}else this.rereminderOrderApi()}else uni.showToast({icon:"none",title:"正常时效无须催促"})},isTimeOutOfRange:function(e){var t=new Date,i=t.getHours(),a=t.getMinutes(),o=e.split(":").map(Number),n=(0,r.default)(o,2),d=n[0],s=n[1],l=60*i+a,c=60*d+s;return l>c},isIntervalTime:function(e,t){var i=new Date(e),a=new Date,r=new Date(i.getTime()+60*t*1e3);return r>a},extractFirstTime:function(e){var t=e.match(/(\d{1,2}:\d{2})(?:[~-]\d{1,2}:\d{2})?/);return t&&t[1]?t[1]:null}},onShareAppMessage:function(){if(this.shareParams)return this.shareParams}};t.default=_},3820:function(e,t,i){"use strict";var a=i("586c"),r=i.n(a);r.a},"586c":function(e,t,i){var a=i("69dc");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("967d").default;r("e096f1e4",a,!0,{sourceMap:!1,shadowMode:!1})},"69dc":function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.wrapper[data-v-e0769ab6]{height:100vh;padding:%?30?%;background:linear-gradient(0deg,#efeff4 80%,#ffca28)}.wrapper .more-qcm[data-v-e0769ab6]{display:flex;flex-wrap:wrap}.wrapper .top-bg[data-v-e0769ab6]{background-image:url(https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/take-2.png);background-repeat:no-repeat;background-size:100% 100%;padding:%?30?%;margin-bottom:%?20?%;border-radius:%?20?%;min-height:%?240?%;background-color:#fff}.wrapper .top-bg .tip[data-v-e0769ab6]{display:flex;flex-direction:column;justify-content:space-between}.wrapper .top-bg .tip .size[data-v-e0769ab6]{font-size:%?55?%}.wrapper .top-bg .tip .nums[data-v-e0769ab6]{padding:%?5?% %?15?%;background-color:#ffc929;border-radius:%?10?%;display:inline-block}.wrapper .top-bg .tip .qrCode-tip[data-v-e0769ab6]{display:flex;align-items:center}.wrapper .top-bg .tip-qc[data-v-e0769ab6]{margin-left:%?12?%;margin-bottom:%?10?%;background-color:#d70107;display:inline-block;color:#fff;width:%?92?%;text-align:center;line-height:%?42?%;height:%?45?%;font-size:%?22?%;border-radius:%?40?% %?40?% %?40?% 0}.custom-map[data-v-e0769ab6]{width:100%}.customCallout .box[data-v-e0769ab6]{display:flex;align-items:center;background:#fff;height:%?50?%;font-size:%?24?%;color:#333;font-weight:500;background-color:#fff;position:relative;background-color:initial;border-radius:%?10?%;overflow:hidden}.customCallout .box .type[data-v-e0769ab6]{width:%?60?%;background-color:#2459ee;color:#fff;height:%?50?%;display:block;text-align:center;line-height:%?50?%}.customCallout .box .from[data-v-e0769ab6],\n.customCallout .box .to[data-v-e0769ab6]{height:%?50?%;padding:0 %?10?%;min-width:%?100?%;display:block;text-align:center;line-height:%?50?%;background:#fff;box-sizing:border-box;border-top-right-radius:%?10?%;border-bottom-right-radius:%?10?%;overflow:hidden}.customCallout .triangle[data-v-e0769ab6]{margin:0 auto;height:6px;width:10px;display:block;margin-bottom:8px}.customCallout .dot[data-v-e0769ab6]{border-radius:50%;width:%?36?%;height:%?36?%;background-color:#fff;display:flex;justify-content:center;align-items:center;box-shadow:0 6px 25px 0 rgba(0,0,0,.1);margin:%?10?% auto 0 auto}.customCallout .dot .dot-child[data-v-e0769ab6]{border-radius:50%;width:%?22?%;height:%?22?%;background-color:#2459ee;display:block;margin:0 auto}.customCallout .box .status99[data-v-e0769ab6]{background-color:#666}.customCallout .dot .dot-child.status99[data-v-e0769ab6]{background-color:#666}\n/* 订单状态信息 start */.order-status[data-v-e0769ab6]{border-radius:%?15?%;padding:%?30?%;background-color:#fff}.order-status .status-value[data-v-e0769ab6]{font-size:%?42?%;font-weight:700;color:#ffca28}.order-status .status-tips[data-v-e0769ab6]{margin-top:%?20?%;color:#aaa}.order-status .order-operation-btns[data-v-e0769ab6]{margin-top:%?20?%}.order-status .order-operation-btns .btn[data-v-e0769ab6]{padding:%?10?% %?16?%;border-radius:%?15?%}.order-status .order-operation-btns .btn + .btn[data-v-e0769ab6]{margin-left:%?12?%}\n/* 订单状态信息 end */.lock[data-v-e0769ab6]{background:#fff;border-radius:%?15?%;padding:%?16?%;margin-top:%?30?%;width:100%;padding:%?30?%;flex-direction:column}.lock .lock_item[data-v-e0769ab6]{display:flex;margin-bottom:%?20?%}.lock .lock_item uni-text[data-v-e0769ab6]{font-size:%?30?%}.lock .operation[data-v-e0769ab6]{display:flex;flex-direction:column;justify-content:space-between}.lock .operation .button[data-v-e0769ab6]{background:#ffca28;border-radius:%?15?%;color:#000;font-size:%?30?%;text-align:center;margin-bottom:%?20?%;font-weight:600;height:%?80?%;line-height:%?80?%}.lock .operation .description[data-v-e0769ab6]{color:#aaa;font-size:%?24?%;text-align:center}.lock uni-text[data-v-e0769ab6]{font-size:%?30?%}.deliveryer[data-v-e0769ab6]{background:#fff;border-radius:%?15?%;padding:%?16?%;margin-top:%?30?%;width:100%}.deliveryer uni-image[data-v-e0769ab6]{height:%?60?%;width:%?60?%;border-radius:%?10?%;display:block;margin-right:%?20?%}.deliveryer uni-text[data-v-e0769ab6]{font-size:%?30?%}\n/* 商品价格信息 start */.product-price-info[data-v-e0769ab6]{margin-top:%?40?%;width:100%;border-radius:%?15?%\n /* 商品信息 start */\n /* 商品信息 end */\n /* 价格信息 start */\n /* 价格信息 end */\n /* 优惠信息 start */\n /* 优惠信息 end */\n /* 总计价格 start */\n /* 总计价格 end */\n /* 致电商家 start */\n /* 致电商家 end */}.product-price-info .product-info[data-v-e0769ab6]{padding:%?40?% %?30?%;border-radius:%?15?% %?15?% %?0?% %?0?%;background:radial-gradient(circle at left bottom,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 100% no-repeat,radial-gradient(circle at right bottom,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 100% no-repeat;border-bottom:%?1?% dashed #f3f2f7\n /* 商品列表 start */\n /* 商品列表 end */}.product-price-info .product-info .store-name[data-v-e0769ab6]{font-size:%?30?%}.product-price-info .product-info .store-name .store-logo[data-v-e0769ab6]{height:%?60?%;width:%?60?%;border-radius:%?6?%}.product-price-info .product-info .product-list .product-item[data-v-e0769ab6]{border-radius:%?8?%;padding:%?20?%;display:flex}.product-price-info .product-info .product-list .product-item .item-image[data-v-e0769ab6]{width:%?120?%;height:%?120?%;border-radius:%?8?%}.product-price-info .product-info .product-list .product-item .item-info[data-v-e0769ab6]{flex:1;padding-left:%?20?%}.product-price-info .product-info .product-list .product-item .item-info .title[data-v-e0769ab6]{width:100%;font-size:%?32?%}.product-price-info .product-info .product-list .product-item .item-info .spec[data-v-e0769ab6]{font-size:%?22?%;color:#aaa;margin-top:%?4?%}.product-price-info .product-info .product-list .product-item .item-info .price-num[data-v-e0769ab6]{margin-top:%?8?%}.product-price-info .product-info .product-list .product-item .item-info .price-num .price[data-v-e0769ab6]{font-size:%?32?%;font-weight:500}.product-price-info .price-info[data-v-e0769ab6]{width:100%;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 51% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?20?%,#fff 0,#fff 100%) 0 100%/51% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?20?%,#fff 0,#fff 100%) 100% 100%/51% 51% no-repeat;border-bottom:%?1?% dashed #f3f2f7}.product-price-info .price-info .item[data-v-e0769ab6]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?10?% %?0?%}.product-price-info .price-info .item .price[data-v-e0769ab6]{font-weight:700}.product-price-info .discount-info[data-v-e0769ab6]{width:100%;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 51% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?20?%,#fff 0,#fff 100%) 0 100%/51% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?20?%,#fff 0,#fff 100%) 100% 100%/51% 51% no-repeat;border-bottom:%?1?% dashed #f3f2f7}.product-price-info .discount-info .item[data-v-e0769ab6]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?10?% %?0?%}.product-price-info .discount-info .item .price[data-v-e0769ab6]{font-weight:700}.product-price-info .total-price[data-v-e0769ab6]{width:100%;display:flex;align-items:center;justify-content:space-between;padding:%?30?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 51% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 51% no-repeat,radial-gradient(circle at bottom left,transparent %?20?%,#fff 0,#fff 100%) 0 100%/51% 51% no-repeat,radial-gradient(circle at bottom right,transparent %?20?%,#fff 0,#fff 100%) 100% 100%/51% 51% no-repeat;border-bottom:%?1?% dashed #f3f2f7}.product-price-info .total-price .data[data-v-e0769ab6]{display:flex;align-items:center}.product-price-info .total-price .data .sum[data-v-e0769ab6],\n.product-price-info .total-price .data .discount[data-v-e0769ab6],\n.product-price-info .total-price .data .paid[data-v-e0769ab6]{margin-left:%?16?%}.product-price-info .total-price .data .paid[data-v-e0769ab6]{font-size:%?34?%}.product-price-info .call-store[data-v-e0769ab6]{width:100%;display:flex;align-items:center;justify-content:center;padding:%?30?%;border-radius:%?0?% %?0?% %?15?% %?15?%;background:radial-gradient(circle at top left,transparent %?20?%,#fff 0,#fff 100%) 0 0/51% 100% no-repeat,radial-gradient(circle at top right,transparent %?20?%,#fff 0,#fff 100%) 100% 0/51% 100% no-repeat}\n/* 商品价格信息 end */\n/* 订单信息卡片 start */.order-info-card[data-v-e0769ab6]{border-radius:%?15?%;background-color:#fff;padding:%?30?%;margin-top:%?40?%}.order-info-card .infoType[data-v-e0769ab6]{font-size:%?36?%;margin-bottom:%?30?%}.order-info-card .item[data-v-e0769ab6]{display:flex;justify-content:space-between}.order-info-card .item .title[data-v-e0769ab6]{font-size:%?26?%;font-weight:500;color:#767676}.order-info-card .item + .item[data-v-e0769ab6]{margin-top:%?30?%}\n/* 复制按钮 start */.copy-btn[data-v-e0769ab6]{padding:%?4?% %?16?%;border-radius:%?12?%}\n/* 复制按钮 end */.value[data-v-e0769ab6]{margin-left:%?20?%;font-size:%?26?%;font-weight:500;color:#000}.btn[data-v-e0769ab6]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.btn + .btn[data-v-e0769ab6]{margin-left:%?16?%}\n/* 订单信息卡片 end */.expansion[data-v-e0769ab6]{display:flex;position:fixed;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:rgba(0,0,0,.5);flex-direction:column;z-index:999999}.expansion .expansion_box[data-v-e0769ab6]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-e0769ab6]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-e0769ab6]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-e0769ab6]{width:100%}.expansion .expansion_box .line4[data-v-e0769ab6]{height:40px;width:100%;text-align:center;line-height:40px;font-size:15px;color:#fff;border-radius:10px;background:linear-gradient(90deg,#fc8c09,#fc29b4)}.expansion .expansion_close[data-v-e0769ab6]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-e0769ab6]{width:%?60?%;height:%?60?%}.maskCode[data-v-e0769ab6]{position:fixed;top:0;left:0;width:100%;height:100vh;z-index:999;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center}.maskCode .cent-mod[data-v-e0769ab6]{background-color:#fff;padding:%?30?%;border-radius:%?20?%}.maskCode .cent-mod .min-data[data-v-e0769ab6]{min-width:65vw;min-height:60vw}.bottom-btns[data-v-e0769ab6]{position:fixed;height:%?110?%;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:0;background-color:#fff;padding:0 %?30?%;box-shadow:0 %?-2?% %?10?% 0 rgba(0,0,0,.1)}.bottom-btns .btns_left[data-v-e0769ab6]{flex:1}.bottom-btns .btns_right[data-v-e0769ab6]{display:flex;flex:2;flex-direction:row}.bottom-btns .btns_right .btn[data-v-e0769ab6]{flex:1;display:flex;justify-content:center;align-items:center;font-size:%?30?%;font-weight:500;width:%?200?%;height:%?80?%;border-radius:%?20?%;background-color:#bae7ff;color:#000}.bottom-btns .btns_right .btn + .btn[data-v-e0769ab6]{margin-left:%?20?%}.order-log[data-v-e0769ab6]{background-color:#fff;border-radius:%?15?%;padding:%?30?%;width:%?700?%}.order-log .log-item[data-v-e0769ab6]{display:flex;margin-bottom:%?20?%;justify-content:space-between}.order-log .log-item .time[data-v-e0769ab6]{font-size:%?30?%;color:#000;font-weight:bolder}.order-log .log-item .content[data-v-e0769ab6]{flex:1;margin-left:%?20?%;font-size:%?30?%;color:#000;font-weight:bolder}.order-log .log-item .content[data-v-e0769ab6]:before{content:"";display:inline-block;width:%?10?%;height:%?10?%;background-color:#ffca28;border-radius:50%;margin-right:%?10?%}.order-log .log-item2[data-v-e0769ab6]{display:flex;margin-bottom:%?20?%;justify-content:space-between}.order-log .log-item2 .time[data-v-e0769ab6]{font-size:%?24?%;color:#999}.order-log .log-item2 .content[data-v-e0769ab6]{flex:1;margin-left:%?20?%;font-size:%?24?%;color:#999}.order-log .log-item2 .content[data-v-e0769ab6]:before{content:"";display:inline-block;width:%?5?%;height:%?5?%;background-color:#999;border-radius:50%;margin-right:%?10?%}.spell-rice-box[data-v-e0769ab6]{display:flex;flex-direction:column;background-color:#fff;text-align:center;justify-content:center}.spell-rice-box .row1[data-v-e0769ab6]{font-size:%?20?%}.spell-rice-box .row2[data-v-e0769ab6]{font-size:%?30?%;font-weight:700}.spell-rice-box .row3[data-v-e0769ab6]{font-size:%?36?%;color:red}.spell-rice-box .persons[data-v-e0769ab6]{display:flex;flex-direction:row;text-align:center;justify-self:center;align-items:center;padding:0 %?100?% 0 %?100?%;margin-top:%?20?%}.spell-rice-box .persons .leader[data-v-e0769ab6]{flex:1;position:relative}.spell-rice-box .persons .leader uni-image[data-v-e0769ab6]{width:%?100?%;height:%?100?%;background-color:#ccc;border-radius:50%}.spell-rice-box .persons .leader uni-text[data-v-e0769ab6]{position:absolute;color:#fff;background-color:red;text-align:center;border-radius:%?15?%;width:%?100?%;font-size:%?24?%;top:-20%;left:0}.spell-rice-box .persons .mid[data-v-e0769ab6]{flex:2;font-size:%?30?%;font-weight:bolder;margin:0 %?20?%}.spell-rice-box .persons .members[data-v-e0769ab6]{flex:1}.spell-rice-box .persons .members uni-image[data-v-e0769ab6]{width:%?100?%;height:%?100?%;background-color:#ccc;border-radius:50%}.spell-rice-box .share_btn[data-v-e0769ab6]{background-color:#ffe9ea;color:#cd3b2b;height:%?80?%;display:flex;text-align:center;align-items:center;justify-content:center;border-radius:%?15?%;margin-top:%?15?%}',""]),e.exports=t},c394:function(e,t,i){"use strict";i.r(t);var a=i("1895"),r=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=r.a},d240:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.searchExpressApi=t.orderStatusListApi=t.orderNoticeApi=t.getVisaOrderListApi=t.getVisaOrderDetailApi=t.getTakeoutOrderListApi=t.getTakeoutOrderDetailApi=t.getSpecialDeliveryStatusApi=t.getRefundReasonApi=t.getPaybillOrderListApi=t.getPaybillOrderDetailApi=t.getOrderwuliuApi=t.getOrderMapPathApi=t.getOrderIdByOutTradeNoApi=t.getErranderOrderListApi=t.getErranderOrderDetailApi=t.getChannelApi=t.getAllOrderListApi=t.getAirportPickupDetail=t.cancelOrderApi=t.applyRefundApi=void 0;var r=a(i("7653"));t.getTakeoutOrderListApi=function(e){var t=e.page,i=e.psize,a=e.status_index;return r.default.get("api/user.order.order/list",{page:t,psize:i,status_index:a})};t.getAllOrderListApi=function(){return r.default.get("api/user.order.order/allOrderList")};t.getTakeoutOrderDetailApi=function(e){var t=e.id,i=e.type;return r.default.get("api/user.order.order/detail",{id:t,type:i})};t.getErranderOrderListApi=function(e){var t=e.page,i=e.psize;return r.default.get("api/user.order.errander.errander/viList",{page:t,psize:i})};t.getErranderOrderDetailApi=function(e){var t=e.id;return r.default.get("api/user.order.errander.errander/detail",{id:t})};t.getVisaOrderListApi=function(e){return r.default.post("api/user.visa.order/list",e)};t.getVisaOrderDetailApi=function(e){return r.default.post("api/user.visa.order/detail",e)};t.getAirportPickupDetail=function(e){return r.default.post("api/user.airportTransfer.order/detail",e)};t.getPaybillOrderListApi=function(e){var t=e.page,i=e.psize;return r.default.get("api/user.order.paybill/list",{page:t,psize:i})};t.getPaybillOrderDetailApi=function(e){var t=e.id;return r.default.get("api/user.order.paybill/detail",{id:t})};t.getOrderMapPathApi=function(e){return r.default.post("api/user.order.order/mapPath",e)};t.getSpecialDeliveryStatusApi=function(e){return r.default.post("api/user.order.order/getSpecialDeliveryStatus",e)};t.getOrderIdByOutTradeNoApi=function(e){return r.default.post("api/user.order.order/getOrderIdByOutTradeNo",e)};t.getOrderwuliuApi=function(e){return r.default.post("api/user.order.order/wuliu",e)};t.getChannelApi=function(e){return r.default.get("api/user.order.order/getChannel?id="+e)};t.getRefundReasonApi=function(){return r.default.get("api/user.order.order/getRefundReason")};t.applyRefundApi=function(e){return r.default.post("api/user.order.order/applyRefund",e)};t.cancelOrderApi=function(e){return r.default.post("api/user.order.order/cancel",e)};t.orderNoticeApi=function(e){return r.default.post("api/user.order.order/orderNotice",e)};t.orderStatusListApi=function(e){return r.default.get("api/user.order.order/orderStatusList?id="+e)};t.searchExpressApi=function(e){return r.default.post("api/user.order.order/searchExpress",e)}},d71e:function(e,t,i){"use strict";i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return a}));var a={loading:i("8c27").default},r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("custom-page",{attrs:{kefu:!0,"custom-navbar":!0,"navbar-title":"订单详情","wrapper-bg-color":"#F3F2F7","before-back":e.handleBeforeNavBack}},[e.loadingShow?i("loading"):e._e(),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"flex space alcenter"},[i("v-uni-view",{staticClass:"ftw500",staticStyle:{"font-size":"38rpx"}},[e._v(e._s(e.orderInfo.order_status_text||"-"))]),e.vehicleData.driver_contact_url?i("v-uni-view",{staticClass:"btn to-pay theme-operation-btn",staticStyle:{"background-color":"white","font-size":"30rpx"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.contact(e.vehicleData.driver_contact_url,e.vehicleData.driver_qrcode_url)}}},[e._v("联系司机")]):e._e()],1),i("v-uni-view",{staticClass:"ft13 mt12",staticStyle:{color:"#767676"}},[e._v("请在 "+e._s(e.orderInfo.choose_datetime||"-")+" 前到达出发地点")]),e.orderInfo.delivery_code?i("v-uni-view",{staticClass:"order-info-card",staticStyle:{"margin-top":"30rpx"}},[i("v-uni-view",{staticClass:"value flex alend space",staticStyle:{"margin-left":"0","font-size":"30rpx"}},[i("v-uni-view",{},[i("v-uni-text",[e._v("确认码:")]),i("v-uni-text",{staticClass:"ft20"},[e._v(e._s(e.orderInfo.delivery_code||"-"))])],1),i("v-uni-text",{staticClass:"copy-btn ml15 ft13",staticStyle:{"margin-bottom":"4rpx"},style:[e.themeBtnStyle],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.copyToClipBoard(e.orderInfo.delivery_code)}}},[e._v("复制")])],1)],1):e._e(),i("v-uni-view",{staticClass:"order-status tn-flex-column mt20"},[i("v-uni-view",{staticClass:"flex alcenter"},[i("v-uni-view",{staticClass:"mr15",staticStyle:{width:"12rpx",height:"12rpx",background:"#2E76FE","border-radius":"50%"}}),i("v-uni-view",{staticClass:"value",staticStyle:{flex:"1"}},[e._v(e._s(1==e.orderInfo.order_type?e.orderInfo.airport_name||"-":e.orderInfo.address.address||"-"))])],1),i("v-uni-view",{staticClass:"flex alcenter mt15"},[i("v-uni-view",{staticClass:"mr15",staticStyle:{width:"12rpx",height:"12rpx",background:"#FF7C1B","border-radius":"50%"}}),i("v-uni-view",{staticClass:"value",staticStyle:{flex:"1"}},[e._v(e._s(1==e.orderInfo.order_type?e.orderInfo.address.address||"-":e.orderInfo.airport_name||"-"))])],1)],1),i("v-uni-view",{staticClass:"order-info-card"},[i("v-uni-view",{staticClass:"infoType"},[e._v("联系人信息")]),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("乘车人姓名")]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo&&e.orderInfo.traveller&&e.orderInfo.traveller.first_name+" "+e.orderInfo.traveller.last_name||"-"))])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("乘车人电话")]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo&&e.orderInfo.traveller&&e.orderInfo.traveller.phone_area+" "+e.orderInfo.traveller.phone||"-"))])],1)],1),e.orderInfo&&e.orderInfo.traveller&&e.orderInfo.vehicle.driver_phone?i("v-uni-view",{staticClass:"order-info-card"},[i("v-uni-view",{staticClass:"infoType flex space"},[i("v-uni-text",[e._v("司机/车辆信息")]),i("v-uni-text",{staticClass:"copy-btn ml4 ft13 flex alcenter",staticStyle:{"line-height":"26rpx"},style:[e.themeBtnStyle],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.contact(e.vehicleData.driver_contact_url,e.orderInfo.vehicle.driver_qrcode_url)}}},[e._v("联系司机")])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("司机姓名")]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo.vehicle.driver_name||"-"))])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("司机电话")]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo.vehicle.driver_phone||"-")),i("v-uni-text",{staticClass:"copy-btn ml4",style:[e.themeBtnStyle],on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.call.apply(void 0,arguments)}}},[e._v("致电")])],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("车牌号")]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo.vehicle.vehicle_no||"-"))])],1)],1):e._e(),i("v-uni-view",{staticClass:"order-info-card"},[i("v-uni-view",{staticClass:"infoType"},[e._v("订单信息")]),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("下单时间")]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo.create_time||"-"))])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("订单编号")]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo.order_sn||"-"))])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("支付方式")]),i("v-uni-view",{staticClass:"value"},[e._v(e._s(e.orderInfo.pay_id_text||"-"))])],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[e._v("实付金额")]),i("v-uni-view",{staticClass:"value"},[e._v("RM"+e._s(e.orderInfo.order_amount||"-"))])],1)],1)],1)],1)},o=[]}}]);