1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["physicalDistribution-order-index"],{"0062":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c9b5"),i("bf0f"),i("ab80"),i("d4b5"),i("4626"),i("5ac7");var a=i("e0a2"),o=i("815c"),r=n(i("dc1f")),s=n(i("dae0")),d=n(i("44ca")),c=n(i("34cae")),l=i("419c"),u=(n(i("8c27")),i("d240")),f=(i("262c"),i("e0a2")),p={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:c.default},mixins:[r.default,s.default,d.default],data:function(){return{icon:[a.staticUrl+"api/images/20250517/images_1747464239.png",a.staticUrl+"api/images/20250517/images_1747464779.png"],currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:"",loadings:!1}},created:function(){console.log("data",this.data)},methods:{submitAndPay:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){var t=this;if(1==this.loadings)return!1;this.formData.scene_id=this.getEnvironmentCode(),this.formData.pay_id=this.selectedPayment,this.formData.user_traveler_id=this.rider.id,this.formData.vehicle_id=this.vehicle_id,this.loadings=!0,uni.showLoading(),submitAndPay(this.formData).then((function(e){uni.hideLoading(),t.loadings=!1;"3"==t.selectedPayment?uni.showModal({title:"提示",content:"支付成功",showCancel:!1,success:function(t){uni.redirectTo({url:"/order-page/airportTransfer-order-detail/index?order_sn="+e.order_sn})}}):t.payAction(e)})).catch((function(e){t.loadings=!1,uni.hideLoading(),"请重新登录"==e.msg||uni.showModal({title:"提示",content:e.msg||"支付类型获取失败",showCancel:!1})}))})),copyToClipBoard:o.copyToClipBoard,call:function(t){(0,o.callPhone)(t)},contact:function(t){uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(t.vehicle.driver_contact_url))})},goto:function(t){(0,l.navPage)("/SP/informationWP?sn=".concat(t.order_sn))},payOrder:function(t){var e=this;this.currentOrderId=t,this.$nextTick((function(){setTimeout((function(){e.showPaySelectModal=!0}),150)}))},cancelPayEvent:function(){},successPayEvent:function(){this.showPaySelectModal=!1,this.$emit("refresh-data")},failPayEvent:function(){this.showPaySelectModal=!1},navStore:function(t,e,i,n){1==i?(0,l.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&n?(0,l.navPage)("".concat(n)):(0,l.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,l.navPage)("/order-page/logistics-order-detail/index?order_sn=".concat(t))},goPay:function(t){(0,l.navPage)("/order-page/logistics-order-detail/index?order_sn=".concat(t,"&pay=true"))},cancelOrderCallback:function(){this.$emit("refresh-data")},openLock:function(t){var e=this;uni.showModal({title:"提示",content:"请确认是否开柜",success:function(i){i.confirm&&(e.loadingShow=!0,(0,u.getChannelApi)(t.id).then((function(i){console.log("res",i),t.lock_result.order_sn=i.data.order_sn,t.lock_result.channel_id=i.data.channel_id,t.lock_result.device_sn=i.data.device_sn,e.openWebSocket(t)})))}})},openWebSocket:function(t){var e=this,i={userClient:"user",type:"unlockChannel",method:"order_sn",order_sn:t.lock_result.order_sn,channel_id:t.lock_result.channel_id,device_sn:t.lock_result.device_sn},n=JSON.stringify(i);e.open_lock_string=n;var a=f.LOCK_WEBSOCKET_URL;uni.connectSocket({url:a}),uni.onSocketOpen((function(t){console.log("WebSocket连接已打开!"),uni.sendSocketMessage({data:n})})),uni.onSocketMessage((function(t){console.log("收到服务器内容:"+JSON.stringify(t)),t.data.includes("open_lock_success")&&(e.loadingShow=!1,uni.showToast({title:"开柜成功",icon:"none",duration:2e3}),uni.showModal({title:"提示",content:"是否开门",cancelText:"重开门",confirmText:"已开门",success:function(t){t.confirm?(console.log("用户点击确定已经开门,关闭连接"),e.open_lock_string="",uni.closeSocket(),setTimeout((function(){e.$emit("refresh-data")}),1e3)):t.cancel&&(console.log("点击重试,重新开锁"),uni.sendSocketMessage({data:e.open_lock_string}))}}))}))},openQrcode:function(t){this.order_qrcode=t,this.qrcode_box_show=!0},expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(t,e,i,n,a){var o=this;if(1!=a)if(0!=n)if(1==i){var r="once";e&&(r="one_touch"),uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(e){e.confirm&&(0,l.navPage)("/order-page/takeout-order-refund/index?id="+t+"&type="+r)}})}else uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3});else uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单??",showCancel:!0,success:function(e){e.confirm&&(0,u.cancelOrderApi)({id:t}).then((function(){o.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=p},"027b":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("bf0f"),i("fd3c"),i("c223"),i("f7a5"),i("aa9c");var a=n(i("6fbe")),o=n(i("dc1f")),r=n(i("a71b")),s=n(i("186b")),d=n(i("13fc")),c=n(i("8f404")),l=n(i("f1a9")),u=n(i("c223c")),f=n(i("8a66")),p=i("815c"),g=(i("419c"),n(i("8c27"))),v=i("9d0a"),h=(i("d240"),i("1281")),m=i("f9ce"),_=(i("b780"),i("941e"),i("cede")),b=(i("f2e5"),i("5c0b")),x={options:{},props:{typeIndex:{type:[String,Number],default:0}},components:{Empty:r.default,loading:g.default,ALLOrderList:s.default,UnpackingOrderList:d.default,ObligationOrderList:c.default,DispatchOrderList:l.default,DispatchedOrderList:u.default,CompletedOrderList:f.default},mixins:[a.default,o.default],data:function(){return{orderData:[],allOrderDatas:[],orderTypes:[{id:0,name:"全部"}],currentSelectOrderTypeIndex:0,currentPage:1,pageSize:10,isLoadAll:!1,isLogin:!0,loadingShow:!1,this_filter_field:[],loadings:!1,tab:[]}},watch:{typeIndex:{handler:function(t){this.currentSelectOrderTypeIndex=Number(t||0),this.getOrderListData()},immediate:!0}},created:function(){this.initCustomNavBarInfo(),this.dict()},methods:{dict:function(){var t=this;this.loadingShow=!0,(0,h.dictApi)({scene_id:this.getEnvironmentCode()}).then((function(e){e.order_status_list&&0!==e.order_status_list.length&&(t.orderTypes=e.order_status_list.map((function(t){var e={id:t.status,name:t.name};return e})),t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.isLoadAll=!0})).finally((function(){t.loadingShow=!1,t.loadings=!1}))},getList:function(){var t=this;this.loadingShow=!0,(0,h.getListApi)({order_status:this.orderTypes[this.currentSelectOrderTypeIndex].id,page:this.currentPage,page_size:this.pageSize}).then((function(e){t.isLogin=!0;var i=(null===e||void 0===e?void 0:e.list)||[];t.orderData=t.orderData.concat(i.map((function(t){return t}))),console.log("this.isLoadAll",i.length,t.pageSize),i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadingShow=!1,t.loadings=!1}))},getAirportPickupList:function(){var t=this;this.loadingShow=!0,(0,b.getAirportPickupListApi)({page:this.currentPage,psize:this.pageSize}).then((function(e){t.isLogin=!0;var i=(null===e||void 0===e?void 0:e.list)||[];t.orderData=t.orderData.concat(i.map((function(t){return t}))),i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadingShow=!1,t.loadings=!1}))},getOrderListData:function(){if(console.log("this.loadings",this.loadings),1==this.loadings)return!1;this.loadings=!0,this.getList(),uni.stopPullDownRefresh()},orderTypeChangeEvent:function(t){console.log("index",t),this.currentSelectOrderTypeIndex=t,this.currentPage=1,this.isLoadAll=!1,this.orderData=[],this.getOrderListData()},reLoadOrderData:function(){var t=this;console.log("重新加载订单信息"),(0,m.checkUserIsLogin)().then((function(){t.isLogin?t.handleRefreshDataEvent():(t.currentSelectOrderTypeIndex=0,t.currentPage=1,t.isLoadAll=!1,t.orderData=[],t.getOrderListData())})).catch((function(){(0,v.showToast)({title:"请先登录"})}))},loadDataPage:function(){for(var t=this.allOrderDatas,e=t.slice(this.orderData.length,this.orderData.length+this.pageSize),i=0;i<e.length;i++)this.orderData.push(e[i]);console.log("加载中",this.orderData,e)},loadMoreOrder:function(){this.isLoadAll||(this.currentPage++,console.log("加载更多"),0===this.currentSelectOrderTypeIndex?this.loadDataPage():this.getOrderListData())},handleRefreshDataEvent:function(){this.currentPage=1,this.isLoadAll=!1,this.orderData=[],this.getOrderListData()},getTuangouquanOrderList:function(){var t=this;this.loadingShow=!0,(0,_.getTuangouquanOrderListApi)({page:this.currentPage}).then((function(e){var i=e||[];t.orderData=t.orderData.concat(i.map((function(t){return t}))),console.log("this.orderData",t.orderData),t.loadingShow=!1,i.length<t.pageSize&&(t.isLoadAll=!0)})).catch((function(e){console.error("[order-list]获取订单列表数据失败",e),"请重新登录"===e.msg&&(t.isLogin=!1),t.orderData=[],t.isLoadAll=!0})).finally((function(){t.loadings=!1,t.loadingShow=!1}))},refreshTuangouquanOrderData:function(){this.handleRefreshDataEvent()},formatPrice:p.formatPrice}};e.default=x},"0f58":function(t,e,i){"use strict";i.r(e);var n=i("d1b9"),a=i("a0c0");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("773f");var r=i("828b"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"7bb32dc0",null,!1,n["a"],void 0);e["default"]=s.exports},1281:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.submitAndPay=e.stockPendingListApi=e.shippingInfoApi=e.saveDefaultAddressApi=e.reportApi=e.putInStorageApi=e.orderDetailApi=e.logisticsQueryApi=e.goPayApi=e.getWarehouseAddressApi=e.getListApi=e.getLineListApi=e.getItemListApi=e.getFlight=e.getDetail=e.getDefaultAddressApi=e.getAirportPickupListApi=e.estimatedFreightApi=e.dictApi=e.dict=e.claimListApi=e.claimApi=e.cancelApplyApi=e.applyPackApi=e.airportList=void 0;var a=n(i("7653"));e.getListApi=function(t){return a.default.post("api/user.logistics.order/list",t)};e.getWarehouseAddressApi=function(t){return a.default.post("api/user.logistics.tool/getWarehouseAddress",t)};e.estimatedFreightApi=function(t){return a.default.post("api/user.logistics.tool/estimatedFreight",t)};e.shippingInfoApi=function(t){return a.default.post("api/user.logistics.tool/shippingInfo",t)};e.dict=function(t){return a.default.post("api/user.airportTransfer.order/dict",t)};e.submitAndPay=function(t){return a.default.post("api/user.airportTransfer.order/submitAndPay",t)};e.getFlight=function(t){return a.default.post("api/user.airportTransfer.query/flight",t)};e.getDetail=function(t){return a.default.post("api/user.airportTransfer.order/detail",t)};e.getAirportPickupListApi=function(t){return a.default.post("api/user.airportTransfer.order/list",t)};e.airportList=function(t){return a.default.post("api/user.airportTransfer.query/airportList",t)};e.logisticsQueryApi=function(t){return a.default.post("api/user.logistics.tool/logisticsQuery",t)};e.dictApi=function(t){return a.default.post("api/user.logistics.order/dict",t)};e.getItemListApi=function(t){return a.default.post("api/user.logistics.tool/getItemList",t)};e.reportApi=function(t){return a.default.post("api/user.logistics.package/report",t)};e.stockPendingListApi=function(t){return a.default.post("api/user.logistics.package/list",t)};e.cancelApplyApi=function(t){return a.default.post("api/user.logistics.package/cancelApply",t)};e.getLineListApi=function(t){return a.default.post("api/user.logistics.tool/getLineList",t)};e.applyPackApi=function(t){return a.default.post("api/user.logistics.package/applyPack",t)};e.claimApi=function(t){return a.default.post("api/user.logistics.package/claim",t)};e.claimListApi=function(t){return a.default.post("api/user.logistics.package/claimList",t)};e.orderDetailApi=function(t){return a.default.post("api/user.logistics.order/detail",t)};e.goPayApi=function(t){return a.default.post("api/user.logistics.order/goPay",t)};e.getDefaultAddressApi=function(t){return a.default.post("api/user.logistics.tool/getDefaultAddress",t)};e.saveDefaultAddressApi=function(t){return a.default.post("api/user.logistics.tool/saveDefaultAddress",t)};e.putInStorageApi=function(t){return a.default.post("api/user.logistics.package/putInStorage",t)}},"13fc":function(t,e,i){"use strict";i.r(e);var n=i("3218"),a=i("921f");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("f13b");var r=i("828b"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"4088bc56",null,!1,n["a"],void 0);e["default"]=s.exports},"186b":function(t,e,i){"use strict";i.r(e);var n=i("9ee0"),a=i("f30a");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("d958");var r=i("828b"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"04a14c0c",null,!1,n["a"],void 0);e["default"]=s.exports},"22a4":function(t,e,i){"use strict";var n=i("402a"),a=i.n(n);a.a},"30a0":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"theme-takeaway-order order-list"},[t.loadingShow?i("loading"):t._e(),t._l(t.data,(function(e,n){return i("v-uni-view",{key:n,staticClass:"order-item tn-shadow",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navOrderDetail(e.order_sn)}}},[i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[e.tracking_no?i("v-uni-view",{},[i("v-uni-text",{staticClass:"create-time"},[t._v("运单号:"+t._s(e.tracking_no||"-"))]),i("img",{staticClass:"copy-icon",attrs:{src:t.icon[0],alt:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.copyToClipBoard(e.tracking_no)}}})],1):t._e()],1),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text))])],1),e.address?i("v-uni-view",{staticClass:"flex space alcenter mb20 mt20",staticStyle:{flex:"1"}},[i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.sender_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.sender_city||"-"))])],1),i("v-uni-view",{staticClass:"flex column center ml10 mr10 "},[i("img",{staticStyle:{width:"81rpx",height:"17rpx"},attrs:{src:t.icon[1],alt:""}}),i("v-uni-text",{staticClass:"ft12 ftw500 mt5",staticStyle:{color:"#FF3B3C"}},[t._v("已完成")])],1),i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.receiver_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.receiver_city||"-"))])],1)],1):t._e(),i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间:"),i("span",{staticStyle:{color:"black"}},[t._v(t._s(e.create_time))])])],1),e.order_amount?i("v-uni-view",{staticClass:"order-status",staticStyle:{color:"#FB0000"}},[t._v(t._s((e.order_amount.unit||"")+(e.order_amount.value||"-")))]):t._e()],1)],1)],1)],1)}))],2)},o=[]},3218:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"theme-takeaway-order order-list"},[t.loadingShow?i("loading"):t._e(),t._l(t.data,(function(e,n){return i("v-uni-view",{key:n,staticClass:"order-item tn-shadow",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navOrderDetail(e.order_sn)}}},[i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[i("v-uni-view",{},[i("v-uni-text",{staticClass:"create-time"},[t._v("运单号:"+t._s(e.create_time))]),i("img",{staticClass:"copy-icon",attrs:{src:t.icon[0],alt:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.copyToClipBoard(e.create_time)}}})],1)],1),i("v-uni-view",{staticClass:"order-status"},[t._v("拆包中")])],1),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width tn-flex-center-between"},[i("v-uni-view",{staticClass:"create-time mt10"},[t._v("下单时间:"),i("span",{staticStyle:{color:"black"}},[t._v(t._s(e.create_time))])])],1)],1)],1)],1)}))],2)},o=[]},32895:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"theme-takeaway-order order-list"},[t.loadingShow?i("loading"):t._e(),t._l(t.data,(function(e,n){return i("v-uni-view",{key:n,staticClass:"order-item tn-shadow",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navOrderDetail(e.order_sn)}}},[i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[e.tracking_no?i("v-uni-view",{},[i("v-uni-text",{staticClass:"create-time"},[t._v("运单号:"+t._s(e.tracking_no||"-"))]),i("img",{staticClass:"copy-icon",attrs:{src:t.icon[0],alt:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.copyToClipBoard(e.tracking_no)}}})],1):t._e()],1),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text))])],1),e.address?i("v-uni-view",{staticClass:"flex space alcenter mb20 mt20",staticStyle:{flex:"1"}},[i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.sender_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.sender_city||"-"))])],1),i("v-uni-view",{staticClass:"flex column center ml10 mr10 "},[i("img",{staticStyle:{width:"81rpx",height:"17rpx"},attrs:{src:t.icon[1],alt:""}}),i("v-uni-text",{staticClass:"ft12 ftw500 mt5",staticStyle:{color:"#FF3B3C"}},[t._v("未付款")])],1),i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.receiver_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.receiver_city||"-"))])],1)],1):t._e(),i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间:"),i("span",{staticStyle:{color:"black"}},[t._v(t._s(e.create_time))])])],1),e.order_amount?i("v-uni-view",{staticClass:"order-status",staticStyle:{color:"#FB0000"}},[t._v(t._s((e.order_amount.unit||"")+(e.order_amount.value||"-")))]):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"flex end mt5"},[i("v-uni-view",{staticClass:"flex alcenter center",staticStyle:{"border-radius":"6rpx",border:"1px solid #FC6B00",padding:"14rpx",width:"140rpx",height:"51rpx"}},[i("v-uni-view",{staticClass:"ft12 ftw500",staticStyle:{color:"#FC6B00"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goPay(e.order_sn)}}},[t._v("去付款")])],1)],1)],1)}))],2)},o=[]},"3bc5":function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.operation-btn[data-v-d796f9da]{margin-top:%?26?%}.operation-btn .btn[data-v-d796f9da]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.operation-btn .btn + .btn[data-v-d796f9da]{margin-left:%?16?%}.value[data-v-d796f9da]{font-family:Source Han Sans CN;font-weight:500;font-size:%?34?%;color:#151515;line-height:%?42?%}.detail[data-v-d796f9da]{font-family:Source Han Sans CN;font-weight:500;font-size:%?24?%;color:#7c7c7c;line-height:%?42?%}.copy-icon[data-v-d796f9da]{width:%?25?%;height:%?25?%;margin-left:%?16?%}.tracking-number[data-v-d796f9da]{font-family:Source Han Sans CN;font-weight:500;font-size:%?22?%;color:#7c7c7c;line-height:%?42?%}\n/* 订单列表item start */.order-item[data-v-d796f9da]{position:relative;width:100%;padding:%?20?%;background-color:#fff;border-radius:%?20?%;margin-top:%?30?%\n /* 顶部信息 start */\n /* 顶部信息 end */\n /* 商品列表 start */\n /* 商品列表 end */\n /* 操作按钮 start */\n /* 操作按钮 end */}.order-item[data-v-d796f9da]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-d796f9da]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-d796f9da]{position:relative;width:%?100?%;height:%?100?%;border-radius:%?15?%;border:%?1?% solid #e6e6e6;overflow:hidden}.order-item .top-info .store-avatar .business-tag[data-v-d796f9da]{position:absolute;top:%?-4?%;right:%?-2?%;border-radius:%?4?%;font-size:%?22?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?0?% %?15?% %?0?% %?0?%}.order-item .top-info .top-right[data-v-d796f9da]{flex:1}.order-item .top-info .top-right .top-right-line[data-v-d796f9da]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-d796f9da]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-d796f9da]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-d796f9da]{padding-left:%?40?%;font-family:Source Han Sans CN;font-weight:500;font-size:%?24?%;color:#888;line-height:%?42?%}.order-item .top-info .top-right .order-type[data-v-d796f9da]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-d796f9da]{position:relative;width:100%;padding:%?20?% %?0?%\n /* 单个商品 start */\n /* 单个商品 end */\n /* 单个商品 start */\n /* 单个商品 end */\n /* 商品数量、价格 start */\n /* 商品数量、价格 end */}.order-item .product-list .single-product[data-v-d796f9da]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-d796f9da]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-d796f9da]{width:100%;padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-d796f9da]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-d796f9da]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-d796f9da]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-d796f9da]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .product-item .item-image .item-num[data-v-d796f9da]{position:absolute;right:0;bottom:0;line-height:1;padding:%?4?% %?10?%;background-color:rgba(0,0,0,.5);color:#fff;font-size:%?20?%;border-radius:%?10?% %?0?% %?10?% %?0?%}.order-item .product-list .product-item .item-title[data-v-d796f9da]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-d796f9da]{position:absolute;top:0;right:0;height:100%;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:%?0?% %?20?%}.order-item .product-list .order-price-count-info .order-count[data-v-d796f9da]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-d796f9da]{display:flex;align-items:flex-end;font-size:%?32?%;line-height:1;margin-bottom:%?10?%}.order-item .product-list .order-price-count-info .order-price .unit[data-v-d796f9da]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-d796f9da]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-d796f9da]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-d796f9da]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-d796f9da]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-d796f9da]{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-d796f9da]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-d796f9da]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-d796f9da]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-d796f9da]{width:100%}.expansion .expansion_box .line4[data-v-d796f9da]{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-d796f9da]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-d796f9da]{width:%?60?%;height:%?60?%}.order-list[data-v-d796f9da]{height:100vh;overflow-y:auto;padding:%?22?% %?15?% %?300?% %?15?%}',""]),t.exports=e},"3f47":function(t,e,i){"use strict";var n=i("63b12"),a=i.n(n);a.a},"3f95":function(t,e,i){"use strict";i.r(e);var n=i("d234"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"402a":function(t,e,i){var n=i("86e2");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("259b7e40",n,!0,{sourceMap:!1,shadowMode:!1})},"44ca":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223");var n=i("419c"),a=i("9d0a"),o=i("af51"),r={methods:{navAnotherOrder:function(t,e,i,a){a?(0,n.navPage)(a):(0,n.navPage)("/store-page/product-showcase/template-1?sid=".concat(t,"&order_id=").concat(e))},navAppraiseOrder:function(t){(0,n.navPage)("/order-page/appraise-order/index?id=".concat(t))},cancelOrder:function(t,e){(0,a.showModal)({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,callback:function(i){i&&(0,o.cancelOrderApi)(t).then((function(t){e&&e()})).catch((function(t){console.error("[order-cancel]取消订单失败",t),(0,a.showToast)({title:"取消订单失败, 请重试"})}))}})},confitmOrder:function(t,e){(0,a.showModal)({title:"提示",content:"确认需要完成订单吗?",showCancel:!0,callback:function(i){i&&(0,o.confirmOrderApi)(t).then((function(t){e&&e()})).catch((function(t){console.error("[order-confirm]确认订单失败",t),(0,a.showToast)({title:"确认订单失败, 请重试"})}))}})}}};e.default=r},"4ebb":function(t,e,i){"use strict";var n=i("c07e"),a=i.n(n);a.a},"568e":function(t,e,i){var n=i("8221");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("45ac9942",n,!0,{sourceMap:!1,shadowMode:!1})},"5c0b":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.transferList=e.transferEdit=e.submitAndPay=e.getVehicle=e.getFlight=e.getDetail=e.getAirportPickupListApi=e.dict=e.airportList=void 0;var a=n(i("7653"));e.getVehicle=function(t){return a.default.post("api/user.airportTransfer.query/vehicle",t)};e.transferList=function(t){return a.default.post("api/user.traveler/transferList",t)};e.transferEdit=function(t){return a.default.post("api/user.traveler/transferEdit",t)};e.dict=function(t){return a.default.post("api/user.airportTransfer.order/dict",t)};e.submitAndPay=function(t){return a.default.post("api/user.airportTransfer.order/submitAndPay",t)};e.getFlight=function(t){return a.default.post("api/user.airportTransfer.query/flight",t)};e.getDetail=function(t){return a.default.post("api/user.airportTransfer.order/detail",t)};e.getAirportPickupListApi=function(t){return a.default.post("api/user.airportTransfer.order/list",t)};e.airportList=function(t){return a.default.post("api/user.airportTransfer.query/airportList",t)}},"5c2e":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4626"),i("5ac7");var n={options:{virtualHost:!0},props:{icon:{type:String,default:""},tips:{type:String,default:""}},computed:{isImage:function(){return!!this.icon&&this.icon.includes("http")}}};e.default=n},"5d35":function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.operation-btn[data-v-d1c930aa]{margin-top:%?26?%}.operation-btn .btn[data-v-d1c930aa]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.operation-btn .btn + .btn[data-v-d1c930aa]{margin-left:%?16?%}.value[data-v-d1c930aa]{font-family:Source Han Sans CN;font-weight:500;font-size:%?34?%;color:#151515;line-height:%?42?%}.detail[data-v-d1c930aa]{font-family:Source Han Sans CN;font-weight:500;font-size:%?24?%;color:#7c7c7c;line-height:%?42?%}.copy-icon[data-v-d1c930aa]{width:%?25?%;height:%?25?%;margin-left:%?16?%}.tracking-number[data-v-d1c930aa]{font-family:Source Han Sans CN;font-weight:500;font-size:%?22?%;color:#7c7c7c;line-height:%?42?%}\n/* 订单列表item start */.order-item[data-v-d1c930aa]{position:relative;width:100%;padding:%?20?%;background-color:#fff;border-radius:%?20?%;margin-top:%?30?%\n /* 顶部信息 start */\n /* 顶部信息 end */\n /* 商品列表 start */\n /* 商品列表 end */\n /* 操作按钮 start */\n /* 操作按钮 end */}.order-item[data-v-d1c930aa]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-d1c930aa]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-d1c930aa]{position:relative;width:%?100?%;height:%?100?%;border-radius:%?15?%;border:%?1?% solid #e6e6e6;overflow:hidden}.order-item .top-info .store-avatar .business-tag[data-v-d1c930aa]{position:absolute;top:%?-4?%;right:%?-2?%;border-radius:%?4?%;font-size:%?22?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?0?% %?15?% %?0?% %?0?%}.order-item .top-info .top-right[data-v-d1c930aa]{flex:1}.order-item .top-info .top-right .top-right-line[data-v-d1c930aa]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-d1c930aa]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-d1c930aa]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-d1c930aa]{padding-left:%?40?%;font-family:Source Han Sans CN;font-weight:500;font-size:%?24?%;color:#888;line-height:%?42?%}.order-item .top-info .top-right .order-type[data-v-d1c930aa]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-d1c930aa]{position:relative;width:100%;padding:%?20?% %?0?%\n /* 单个商品 start */\n /* 单个商品 end */\n /* 单个商品 start */\n /* 单个商品 end */\n /* 商品数量、价格 start */\n /* 商品数量、价格 end */}.order-item .product-list .single-product[data-v-d1c930aa]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-d1c930aa]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-d1c930aa]{width:100%;padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-d1c930aa]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-d1c930aa]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-d1c930aa]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-d1c930aa]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .product-item .item-image .item-num[data-v-d1c930aa]{position:absolute;right:0;bottom:0;line-height:1;padding:%?4?% %?10?%;background-color:rgba(0,0,0,.5);color:#fff;font-size:%?20?%;border-radius:%?10?% %?0?% %?10?% %?0?%}.order-item .product-list .product-item .item-title[data-v-d1c930aa]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-d1c930aa]{position:absolute;top:0;right:0;height:100%;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:%?0?% %?20?%}.order-item .product-list .order-price-count-info .order-count[data-v-d1c930aa]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-d1c930aa]{display:flex;align-items:flex-end;font-size:%?32?%;line-height:1;margin-bottom:%?10?%}.order-item .product-list .order-price-count-info .order-price .unit[data-v-d1c930aa]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-d1c930aa]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-d1c930aa]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-d1c930aa]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-d1c930aa]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-d1c930aa]{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-d1c930aa]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-d1c930aa]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-d1c930aa]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-d1c930aa]{width:100%}.expansion .expansion_box .line4[data-v-d1c930aa]{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-d1c930aa]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-d1c930aa]{width:%?60?%;height:%?60?%}.order-list[data-v-d1c930aa]{height:100vh;overflow-y:auto;padding:%?22?% %?15?% %?300?% %?15?%}',""]),t.exports=e},"61b9":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"theme-takeaway-order order-list"},[t.loadingShow?i("loading"):t._e(),t._l(t.data,(function(e,n){return i("v-uni-view",{key:n,staticClass:"order-item tn-shadow",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navOrderDetail(e.order_sn)}}},[i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[e.tracking_no?i("v-uni-view",{},[i("v-uni-text",{staticClass:"create-time"},[t._v("运单号:"+t._s(e.tracking_no||"-"))]),i("img",{staticClass:"copy-icon",attrs:{src:t.icon[0],alt:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.copyToClipBoard(e.tracking_no)}}})],1):t._e()],1),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text))])],1),e.address?i("v-uni-view",{staticClass:"flex space alcenter mb20 mt20",staticStyle:{flex:"1"}},[i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.sender_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.sender_city||"-"))])],1),i("v-uni-view",{staticClass:"flex column center ml10 mr10 "},[i("img",{staticStyle:{width:"81rpx",height:"17rpx"},attrs:{src:t.icon[1],alt:""}}),i("v-uni-text",{staticClass:"ft12 ftw500 mt5",staticStyle:{color:"#FF3B3C"}},[t._v("待发货")])],1),i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.receiver_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.receiver_city||"-"))])],1)],1):t._e(),i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间:"),i("span",{staticStyle:{color:"black"}},[t._v(t._s(e.create_time))])])],1),e.order_amount?i("v-uni-view",{staticClass:"order-status",staticStyle:{color:"#FB0000"}},[t._v(t._s((e.order_amount.unit||"")+(e.order_amount.value||"-")))]):t._e()],1)],1)],1)],1)}))],2)},o=[]},"63b12":function(t,e,i){var n=i("5d35");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("b548fd98",n,!0,{sourceMap:!1,shadowMode:!1})},"6a02":function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.copy-icon[data-v-04a14c0c]{width:%?25?%;height:%?25?%;margin-left:%?16?%}.tracking-number[data-v-04a14c0c]{font-family:Source Han Sans CN;font-weight:500;font-size:%?22?%;color:#7c7c7c;line-height:%?42?%}\n/* 订单列表item start */.order-item[data-v-04a14c0c]{position:relative;width:100%;padding:%?20?%;background-color:#fff;border-radius:%?20?%;margin-top:%?30?%\n /* 顶部信息 start */\n /* 顶部信息 end */\n /* 商品列表 start */\n /* 商品列表 end */\n /* 操作按钮 start */\n /* 操作按钮 end */}.order-item[data-v-04a14c0c]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-04a14c0c]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-04a14c0c]{position:relative;width:%?100?%;height:%?100?%;border-radius:%?15?%;border:%?1?% solid #e6e6e6;overflow:hidden}.order-item .top-info .store-avatar .business-tag[data-v-04a14c0c]{position:absolute;top:%?-4?%;right:%?-2?%;border-radius:%?4?%;font-size:%?22?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?0?% %?15?% %?0?% %?0?%}.order-item .top-info .top-right[data-v-04a14c0c]{flex:1;margin-left:%?20?%}.order-item .top-info .top-right .top-right-line[data-v-04a14c0c]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-04a14c0c]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-04a14c0c]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-04a14c0c]{padding-left:%?40?%;font-family:Source Han Sans CN;font-weight:500;font-size:%?24?%;color:#888;line-height:%?42?%}.order-item .top-info .top-right .order-type[data-v-04a14c0c]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-04a14c0c]{position:relative;width:100%;padding:%?20?% %?0?%\n /* 单个商品 start */\n /* 单个商品 end */\n /* 单个商品 start */\n /* 单个商品 end */\n /* 商品数量、价格 start */\n /* 商品数量、价格 end */}.order-item .product-list .single-product[data-v-04a14c0c]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-04a14c0c]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-04a14c0c]{width:100%;padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-04a14c0c]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-04a14c0c]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-04a14c0c]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-04a14c0c]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .product-item .item-image .item-num[data-v-04a14c0c]{position:absolute;right:0;bottom:0;line-height:1;padding:%?4?% %?10?%;background-color:rgba(0,0,0,.5);color:#fff;font-size:%?20?%;border-radius:%?10?% %?0?% %?10?% %?0?%}.order-item .product-list .product-item .item-title[data-v-04a14c0c]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-04a14c0c]{position:absolute;top:0;right:0;height:100%;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:%?0?% %?20?%}.order-item .product-list .order-price-count-info .order-count[data-v-04a14c0c]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-04a14c0c]{display:flex;align-items:flex-end;font-size:%?32?%;line-height:1;margin-bottom:%?10?%}.order-item .product-list .order-price-count-info .order-price .unit[data-v-04a14c0c]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-04a14c0c]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-04a14c0c]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-04a14c0c]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-04a14c0c]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-04a14c0c]{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-04a14c0c]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-04a14c0c]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-04a14c0c]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-04a14c0c]{width:100%}.expansion .expansion_box .line4[data-v-04a14c0c]{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-04a14c0c]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-04a14c0c]{width:%?60?%;height:%?60?%}.order-list[data-v-04a14c0c]{height:100vh;overflow-y:auto;padding:%?22?% %?15?% %?300?% %?15?%}',""]),t.exports=e},7188:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d4b5"),i("4626"),i("5ac7");var a=i("e0a2"),o=i("815c"),r=n(i("dc1f")),s=n(i("dae0")),d=n(i("44ca")),c=n(i("34cae")),l=i("419c"),u=(n(i("8c27")),i("d240")),f=(i("262c"),i("e0a2")),p={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:c.default},mixins:[r.default,s.default,d.default],data:function(){return{icon:[a.staticUrl+"api/images/20250517/images_1747464239.png"],currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},created:function(){console.log("data",this.data)},methods:{copyToClipBoard:o.copyToClipBoard,call:function(t){(0,o.callPhone)(t)},contact:function(t){uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(t.vehicle.driver_contact_url))})},goto:function(t){(0,l.navPage)("/SP/informationWP?sn=".concat(t.order_sn))},payOrder:function(t){var e=this;this.currentOrderId=t,this.$nextTick((function(){setTimeout((function(){e.showPaySelectModal=!0}),150)}))},cancelPayEvent:function(){},successPayEvent:function(){this.showPaySelectModal=!1,this.$emit("refresh-data")},failPayEvent:function(){this.showPaySelectModal=!1},navStore:function(t,e,i,n){1==i?(0,l.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&n?(0,l.navPage)("".concat(n)):(0,l.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,l.navPage)("/order-page/logistics-order-detail/index?order_sn=".concat(t))},cancelOrderCallback:function(){this.$emit("refresh-data")},openLock:function(t){var e=this;uni.showModal({title:"提示",content:"请确认是否开柜",success:function(i){i.confirm&&(e.loadingShow=!0,(0,u.getChannelApi)(t.id).then((function(i){console.log("res",i),t.lock_result.order_sn=i.data.order_sn,t.lock_result.channel_id=i.data.channel_id,t.lock_result.device_sn=i.data.device_sn,e.openWebSocket(t)})))}})},openWebSocket:function(t){var e=this,i={userClient:"user",type:"unlockChannel",method:"order_sn",order_sn:t.lock_result.order_sn,channel_id:t.lock_result.channel_id,device_sn:t.lock_result.device_sn},n=JSON.stringify(i);e.open_lock_string=n;var a=f.LOCK_WEBSOCKET_URL;uni.connectSocket({url:a}),uni.onSocketOpen((function(t){console.log("WebSocket连接已打开!"),uni.sendSocketMessage({data:n})})),uni.onSocketMessage((function(t){console.log("收到服务器内容:"+JSON.stringify(t)),t.data.includes("open_lock_success")&&(e.loadingShow=!1,uni.showToast({title:"开柜成功",icon:"none",duration:2e3}),uni.showModal({title:"提示",content:"是否开门",cancelText:"重开门",confirmText:"已开门",success:function(t){t.confirm?(console.log("用户点击确定已经开门,关闭连接"),e.open_lock_string="",uni.closeSocket(),setTimeout((function(){e.$emit("refresh-data")}),1e3)):t.cancel&&(console.log("点击重试,重新开锁"),uni.sendSocketMessage({data:e.open_lock_string}))}}))}))},openQrcode:function(t){this.order_qrcode=t,this.qrcode_box_show=!0},expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(t,e,i,n,a){var o=this;if(1!=a)if(0!=n)if(1==i){var r="once";e&&(r="one_touch"),uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(e){e.confirm&&(0,l.navPage)("/order-page/takeout-order-refund/index?id="+t+"&type="+r)}})}else uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3});else uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单??",showCancel:!0,success:function(e){e.confirm&&(0,u.cancelOrderApi)({id:t}).then((function(){o.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=p},"72fe":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"theme-takeaway-order order-list"},[t.loadingShow?i("loading"):t._e(),t._l(t.data,(function(e,n){return i("v-uni-view",{key:n,staticClass:"order-item tn-shadow",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navOrderDetail(e.order_sn)}}},[i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[e.tracking_no?i("v-uni-view",{},[i("v-uni-text",{staticClass:"create-time"},[t._v("运单号:"+t._s(e.tracking_no||"-"))]),i("img",{staticClass:"copy-icon",attrs:{src:t.icon[0],alt:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.copyToClipBoard(e.tracking_no)}}})],1):t._e()],1),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text))])],1),e.address?i("v-uni-view",{staticClass:"flex space alcenter mb20 mt20",staticStyle:{flex:"1"}},[i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.sender_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.sender_city||"-"))])],1),i("v-uni-view",{staticClass:"flex column center ml10 mr10 "},[i("img",{staticStyle:{width:"81rpx",height:"17rpx"},attrs:{src:t.icon[1],alt:""}}),i("v-uni-text",{staticClass:"ft12 ftw500 mt5",staticStyle:{color:"#FF3B3C"}},[t._v("已发货")])],1),i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.receiver_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.receiver_city||"-"))])],1)],1):t._e(),i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间:"),i("span",{staticStyle:{color:"black"}},[t._v(t._s(e.create_time))])])],1),e.order_amount?i("v-uni-view",{staticClass:"order-status",staticStyle:{color:"#FB0000"}},[t._v(t._s((e.order_amount.unit||"")+(e.order_amount.value||"-")))]):t._e()],1)],1)],1)],1)}))],2)},o=[]},7470:function(t,e,i){var n=i("f0b2");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("6db2aefd",n,!0,{sourceMap:!1,shadowMode:!1})},"74ff":function(t,e,i){i("64aa"),t.exports={data:function(){},props:{backgroundColor:{type:String,default:""},fontColor:{type:String,default:""},fontSize:{type:Number,default:0},fontUnit:{type:String,default:"rpx"}},computed:{backgroundColorStyle:function(){return this.$tn.color.getBackgroundColorStyle(this.backgroundColor)},backgroundColorClass:function(){return this.$tn.color.getBackgroundColorInternalClass(this.backgroundColor)},fontColorStyle:function(){return this.$tn.color.getFontColorStyle(this.fontColor)},fontColorClass:function(){return this.$tn.color.getFontColorInternalClass(this.fontColor)},fontSizeStyle:function(){return this.$tn.string.getLengthUnitValue(this.fontSize,this.fontUnit)}},methods:{}}},7579:function(t,e,i){"use strict";var n=i("7470"),a=i.n(n);a.a},"773f":function(t,e,i){"use strict";var n=i("568e"),a=i.n(n);a.a},8221:function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/**\n * 组件页面公用css\n */.component-page-padding-bottom[data-v-7bb32dc0]{padding-bottom:%?130?%;padding-bottom:calc(%?130?% + constant(safe-area-inset-bottom));padding-bottom:calc(%?130?% + env(safe-area-inset-bottom))}.order-page[data-v-7bb32dc0]{position:relative;width:100%\n /* 自定义顶部导航 start */\n /* 自定义顶部导航 end */\n /* 订单类型选择 start */\n /* 订单类型选择 end */}.order-page__wrapper[data-v-7bb32dc0]{position:relative;width:100%;padding:%?30?%}.order-page .navbar[data-v-7bb32dc0]{position:fixed;left:0;top:0;width:100%;background-color:#fff;z-index:19999\n /* 标题 start */\n /* 标题 end */\n /* 右侧图标 start */\n /* 标题 end */}.order-page .navbar__title[data-v-7bb32dc0]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);line-height:1;font-size:%?32?%;font-weight:500}.order-page .navbar__left[data-v-7bb32dc0]{position:absolute;left:5%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);line-height:1;font-size:%?24?%;font-weight:500}.order-page .order-type-select[data-v-7bb32dc0]{position:fixed;left:0;width:100%;background-color:#fff;z-index:9999}\n/* 刷新按钮 start */.refresh-btn[data-v-7bb32dc0]{position:fixed;right:%?20?%;bottom:%?260?%;width:%?80?%;height:%?80?%;border-radius:50%;font-size:%?50?%;z-index:1099}\n/* 刷新按钮 end */.sift-item[data-v-7bb32dc0]{flex-wrap:wrap;justify-content:space-between;align-items:center}.sift-item .seleMod[data-v-7bb32dc0]{width:32%;line-height:%?30?%;border-radius:%?40?%;margin-bottom:%?20?%;background-color:#f1f2f6;box-sizing:border-box;border:1px solid #f1f2f6}.sift-item .seleMod .icon[data-v-7bb32dc0]{width:%?30?%;height:%?30?%;margin-right:%?8?%}.sift-item .seleMod .txt[data-v-7bb32dc0]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;width:100%;align-items:center;justify-content:center}.zIndex[data-v-7bb32dc0]{z-index:99999999}',""]),t.exports=e},"86e2":function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.operation-btn[data-v-82c00bc2]{margin-top:%?26?%}.operation-btn .btn[data-v-82c00bc2]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.operation-btn .btn + .btn[data-v-82c00bc2]{margin-left:%?16?%}.value[data-v-82c00bc2]{font-family:Source Han Sans CN;font-weight:500;font-size:%?34?%;color:#151515;line-height:%?42?%}.detail[data-v-82c00bc2]{font-family:Source Han Sans CN;font-weight:500;font-size:%?24?%;color:#7c7c7c;line-height:%?42?%}.copy-icon[data-v-82c00bc2]{width:%?25?%;height:%?25?%;margin-left:%?16?%}.tracking-number[data-v-82c00bc2]{font-family:Source Han Sans CN;font-weight:500;font-size:%?22?%;color:#7c7c7c;line-height:%?42?%}\n/* 订单列表item start */.order-item[data-v-82c00bc2]{position:relative;width:100%;padding:%?20?%;background-color:#fff;border-radius:%?20?%;margin-top:%?30?%\n /* 顶部信息 start */\n /* 顶部信息 end */\n /* 商品列表 start */\n /* 商品列表 end */\n /* 操作按钮 start */\n /* 操作按钮 end */}.order-item[data-v-82c00bc2]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-82c00bc2]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-82c00bc2]{position:relative;width:%?100?%;height:%?100?%;border-radius:%?15?%;border:%?1?% solid #e6e6e6;overflow:hidden}.order-item .top-info .store-avatar .business-tag[data-v-82c00bc2]{position:absolute;top:%?-4?%;right:%?-2?%;border-radius:%?4?%;font-size:%?22?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?0?% %?15?% %?0?% %?0?%}.order-item .top-info .top-right[data-v-82c00bc2]{flex:1}.order-item .top-info .top-right .top-right-line[data-v-82c00bc2]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-82c00bc2]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-82c00bc2]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-82c00bc2]{padding-left:%?40?%;font-family:Source Han Sans CN;font-weight:500;font-size:%?24?%;color:#888;line-height:%?42?%}.order-item .top-info .top-right .order-type[data-v-82c00bc2]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-82c00bc2]{position:relative;width:100%;padding:%?20?% %?0?%\n /* 单个商品 start */\n /* 单个商品 end */\n /* 单个商品 start */\n /* 单个商品 end */\n /* 商品数量、价格 start */\n /* 商品数量、价格 end */}.order-item .product-list .single-product[data-v-82c00bc2]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-82c00bc2]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-82c00bc2]{width:100%;padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-82c00bc2]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-82c00bc2]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-82c00bc2]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-82c00bc2]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .product-item .item-image .item-num[data-v-82c00bc2]{position:absolute;right:0;bottom:0;line-height:1;padding:%?4?% %?10?%;background-color:rgba(0,0,0,.5);color:#fff;font-size:%?20?%;border-radius:%?10?% %?0?% %?10?% %?0?%}.order-item .product-list .product-item .item-title[data-v-82c00bc2]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-82c00bc2]{position:absolute;top:0;right:0;height:100%;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:%?0?% %?20?%}.order-item .product-list .order-price-count-info .order-count[data-v-82c00bc2]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-82c00bc2]{display:flex;align-items:flex-end;font-size:%?32?%;line-height:1;margin-bottom:%?10?%}.order-item .product-list .order-price-count-info .order-price .unit[data-v-82c00bc2]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-82c00bc2]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-82c00bc2]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-82c00bc2]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-82c00bc2]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-82c00bc2]{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-82c00bc2]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-82c00bc2]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-82c00bc2]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-82c00bc2]{width:100%}.expansion .expansion_box .line4[data-v-82c00bc2]{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-82c00bc2]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-82c00bc2]{width:%?60?%;height:%?60?%}.order-list[data-v-82c00bc2]{height:100vh;overflow-y:auto;padding:%?22?% %?15?% %?300?% %?15?%}',""]),t.exports=e},"8a66":function(t,e,i){"use strict";i.r(e);var n=i("30a0"),a=i("a17e5");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("3f47");var r=i("828b"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"d1c930aa",null,!1,n["a"],void 0);e["default"]=s.exports},"8f404":function(t,e,i){"use strict";i.r(e);var n=i("32895"),a=i("a3ea");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("7579");var r=i("828b"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"562d722e",null,!1,n["a"],void 0);e["default"]=s.exports},"921f":function(t,e,i){"use strict";i.r(e);var n=i("7188"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"941e":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.regeoDetail=e.getSeats=e.getScheduleDetailByList=e.getSchedule=e.getRegion=e.getMovieShowDate=e.getMovieOnInfoList=e.getMovieDetail=e.getMoverOrderList=e.getMoverInfo=e.getIncrease=e.getComingList=e.getCityByLocationApi=e.getCity1=e.getCinemaList=e.createOrder=void 0;var a=n(i("b128")),o=n(i("7653"));e.getMovieOnInfoList=function(t){var e=t.ci;return o.default.get("api/user.mahua.mahua_movie/getMovieOnInfoList",{ci:e})};e.getComingList=function(t){return(0,a.default)(t),o.default.get("api/user.mahua.mahua_movie/getComingList",{})};e.getCinemaList=function(t){return o.default.post("api/user.mahua.mahua_movie/getCinemaList",t)};e.getMovieDetail=function(t){return o.default.get("api/user.mahua.mahua_movie/getMovieDetail",t)};e.getMovieShowDate=function(t){return o.default.get("api/user.mahua.mahua_movie/getMovieShowDate",t)};e.getRegion=function(t){return o.default.get("api/user.mahua.mahua_movie/getRegion",t)};e.getCity1=function(t){return o.default.get("api/user.mahua.mahua_movie/getCity",t)};e.getSeats=function(t){return o.default.get("api/user.mahua.mahua_movie/getSeats",t)};e.regeoDetail=function(t){return o.default.get("api/map/regeoDetail",t)};e.getSchedule=function(t){return o.default.get("api/user.mahua.mahua_movie/getSchedule",t)};e.createOrder=function(t){return o.default.post("api/user.mahua.mahua_movie_order/createOrder",t)};e.getIncrease=function(t){return o.default.get("api/user.mahua.mahua_movie/getIncrease",t)};e.getScheduleDetailByList=function(t){return o.default.post("api/user.mahua.mahua_movie/getScheduleDetailByList",t)};e.getMoverOrderList=function(t){return o.default.get("api/user.mahua.mahua_movie_order/list",t)};e.getMoverInfo=function(t){return o.default.get("api/user.mahua.mahua_movie_order/detail",t)};e.getCityByLocationApi=function(t){return o.default.get("api/map/getCityByLocation",t)}},"9cae":function(t,e,i){var n=i("cc53");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("74ddcd86",n,!0,{sourceMap:!1,shadowMode:!1})},"9ee0":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"theme-takeaway-order order-list"},[t.loadingShow?i("loading"):t._e(),t._l(t.data,(function(e,n){return i("v-uni-view",{key:n,staticClass:"order-item tn-shadow",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navOrderDetail(e.order_sn)}}},[5==e.order_status?i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[i("v-uni-view",{},[i("v-uni-text",{staticClass:"create-time"},[t._v("运单号:"+t._s(e.tracking_no))]),i("img",{staticClass:"copy-icon",attrs:{src:t.icon[0],alt:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.copyToClipBoard(e.tracking_no)}}})],1)],1),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.create_time))])],1),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width tn-flex-center-between"},[i("v-uni-view",{staticClass:"create-time mt10"},[t._v("下单时间:"),i("span",{staticStyle:{color:"black"}},[t._v(t._s(e.create_time))])])],1)],1)],1):t._e(),10==e.order_status?i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[e.tracking_no?i("v-uni-view",{},[i("v-uni-text",{staticClass:"create-time"},[t._v("运单号:"+t._s(e.tracking_no||"-"))]),i("img",{staticClass:"copy-icon",attrs:{src:t.icon[0],alt:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.copyToClipBoard(e.tracking_no)}}})],1):t._e()],1),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text))])],1),e.address?i("v-uni-view",{staticClass:"flex space alcenter mb20 mt20",staticStyle:{flex:"1"}},[i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.sender_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.sender_city||"-"))])],1),i("v-uni-view",{staticClass:"flex column center ml10 mr10 "},[i("img",{staticStyle:{width:"81rpx",height:"17rpx"},attrs:{src:t.icon[1],alt:""}}),i("v-uni-text",{staticClass:"ft12 ftw500 mt5",staticStyle:{color:"#FF3B3C"}},[t._v("未付款")])],1),i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.receiver_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.receiver_city||"-"))])],1)],1):t._e(),i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间:"),i("span",{staticStyle:{color:"black"}},[t._v(t._s(e.create_time))])])],1),e.order_amount?i("v-uni-view",{staticClass:"order-status",staticStyle:{color:"#FB0000"}},[t._v(t._s((e.order_amount.unit||"")+(e.order_amount.value||"-")))]):t._e()],1)],1)],1):t._e(),10==e.order_status?i("v-uni-view",{staticClass:"flex end mt5"},[i("v-uni-view",{staticClass:"flex alcenter center",staticStyle:{"border-radius":"6rpx",border:"1px solid #FC6B00",padding:"14rpx",width:"140rpx",height:"51rpx"}},[i("v-uni-view",{staticClass:"ft12 ftw500",staticStyle:{color:"#FC6B00"},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goPay(e.order_sn)}}},[t._v("去付款")])],1)],1):t._e(),20==e.order_status?i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[e.tracking_no?i("v-uni-view",{},[i("v-uni-text",{staticClass:"create-time"},[t._v("运单号:"+t._s(e.tracking_no||"-"))]),i("img",{staticClass:"copy-icon",attrs:{src:t.icon[0],alt:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.copyToClipBoard(e.tracking_no)}}})],1):t._e()],1),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text))])],1),e.address?i("v-uni-view",{staticClass:"flex space alcenter mb20 mt20",staticStyle:{flex:"1"}},[i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.sender_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.sender_city||"-"))])],1),i("v-uni-view",{staticClass:"flex column center ml10 mr10 "},[i("img",{staticStyle:{width:"81rpx",height:"17rpx"},attrs:{src:t.icon[1],alt:""}}),i("v-uni-text",{staticClass:"ft12 ftw500 mt5",staticStyle:{color:"#FF3B3C"}},[t._v("待发货")])],1),i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.receiver_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.receiver_city||"-"))])],1)],1):t._e(),i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间:"),i("span",{staticStyle:{color:"black"}},[t._v(t._s(e.create_time))])])],1),e.order_amount?i("v-uni-view",{staticClass:"order-status",staticStyle:{color:"#FB0000"}},[t._v(t._s((e.order_amount.unit||"")+(e.order_amount.value||"-")))]):t._e()],1)],1)],1):t._e(),29==e.order_status?i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[e.tracking_no?i("v-uni-view",{},[i("v-uni-text",{staticClass:"create-time"},[t._v("运单号:"+t._s(e.tracking_no||"-"))]),i("img",{staticClass:"copy-icon",attrs:{src:t.icon[0],alt:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.copyToClipBoard(e.tracking_no)}}})],1):t._e()],1),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text))])],1),e.address?i("v-uni-view",{staticClass:"flex space alcenter mb20 mt20",staticStyle:{flex:"1"}},[i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.sender_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.sender_city||"-"))])],1),i("v-uni-view",{staticClass:"flex column center ml10 mr10 "},[i("img",{staticStyle:{width:"81rpx",height:"17rpx"},attrs:{src:t.icon[1],alt:""}}),i("v-uni-text",{staticClass:"ft12 ftw500 mt5",staticStyle:{color:"#FF3B3C"}},[t._v("已发货")])],1),i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.receiver_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.receiver_city||"-"))])],1)],1):t._e(),i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间:"),i("span",{staticStyle:{color:"black"}},[t._v(t._s(e.create_time))])])],1),e.order_amount?i("v-uni-view",{staticClass:"order-status",staticStyle:{color:"#FB0000"}},[t._v(t._s((e.order_amount.unit||"")+(e.order_amount.value||"-")))]):t._e()],1)],1)],1):t._e(),30==e.order_status?i("v-uni-view",{staticClass:"top-info"},[i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[e.tracking_no?i("v-uni-view",{},[i("v-uni-text",{staticClass:"create-time"},[t._v("运单号:"+t._s(e.tracking_no||"-"))]),i("img",{staticClass:"copy-icon",attrs:{src:t.icon[0],alt:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.copyToClipBoard(e.tracking_no)}}})],1):t._e()],1),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text))])],1),e.address?i("v-uni-view",{staticClass:"flex space alcenter mb20 mt20",staticStyle:{flex:"1"}},[i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.sender_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.sender_city||"-"))])],1),i("v-uni-view",{staticClass:"flex column center ml10 mr10 "},[i("img",{staticStyle:{width:"81rpx",height:"17rpx"},attrs:{src:t.icon[1],alt:""}}),i("v-uni-text",{staticClass:"ft12 ftw500 mt5",staticStyle:{color:"#FF3B3C"}},[t._v("已完成")])],1),i("v-uni-view",{staticClass:"flex column center alcenter",staticStyle:{flex:"4"}},[i("v-uni-text",{staticClass:"value"},[t._v(t._s(e.address.receiver_country||"-"))]),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(e.address.receiver_city||"-"))])],1)],1):t._e(),i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间:"),i("span",{staticStyle:{color:"black"}},[t._v(t._s(e.create_time))])])],1),e.order_amount?i("v-uni-view",{staticClass:"order-status",staticStyle:{color:"#FB0000"}},[t._v(t._s((e.order_amount.unit||"")+(e.order_amount.value||"-")))]):t._e()],1)],1)],1):t._e()],1)}))],2)},o=[]},a0c0:function(t,e,i){"use strict";i.r(e);var n=i("027b"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},a17e5:function(t,e,i){"use strict";i.r(e);var n=i("ca35"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},a3ea:function(t,e,i){"use strict";i.r(e);var n=i("0062"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},a71b:function(t,e,i){"use strict";i.r(e);var n=i("ec01"),a=i("dc1c");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("de1c");var r=i("828b"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"6cf0f295",null,!1,n["a"],void 0);e["default"]=s.exports},af51:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getOrderCommentPageInfoApi=e.getCutTImeData=e.cutOffSwit=e.confirmOrderApi=e.confirmErranderOrderApi=e.cancelTcOrderApi=e.cancelOrderApi=e.cancelErranderOrderApi=e.addOrderCommentApi=void 0;var a=n(i("7653"));e.getOrderCommentPageInfoApi=function(t){var e=t.id,i=t.order_type;return a.default.get("api/user.order.comment/getPageParams",{id:e,order_type:i})};e.addOrderCommentApi=function(t){var e=t.id,i=t.deliverScore,n=t.goodsQuality,o=t.note,r=t.thumbs,s=t.order_type;return a.default.post("api/user.order.comment/create",{id:e,deliverScore:i||0,goods_quality:n||0,note:o||"",thumbs:r||[],order_type:s||"takeout"})};e.cancelTcOrderApi=function(t){return a.default.post("/api/user.mealRedpacket.meal_redpacket_order/cancelOrder",{order_id:t})};e.cancelOrderApi=function(t){return a.default.post("api/user.order.order/cancel",{id:t})};e.confirmOrderApi=function(t){return a.default.post("api/user.order.order/end",{id:t})};e.cancelErranderOrderApi=function(t){return a.default.post("api/user.order.errander.errander/cancel",{id:t})};e.confirmErranderOrderApi=function(t){return a.default.post("api/user.order.errander.errander/confirm",{id:t})};e.cutOffSwit=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return a.default.get("api/user.order.cut_time/getOpen?sid="+t,{})};e.getCutTImeData=function(){return a.default.get("api/user.order.cut_time/list",{})}},b128:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(null==t)throw new TypeError("Cannot destructure "+t)},i("7a76"),i("c9b5")},b780:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.submitOrderApi=e.getOrderPreInfoApi=e.getOrderListApi=e.getOrderDetailApi=e.getLogisticsApi=e.getJieLongConfigApi=e.confirmOrderApi=e.commentOrderApi=e.cancelOrderApi=e.applyAfterSaleApi=void 0;var a=n(i("7653"));e.getOrderPreInfoApi=function(t){return a.default.post("api/user.order.mall_order_create/indexBefore",t)};e.submitOrderApi=function(t){return a.default.post("api/user.order.mall_order_create/createOrder",t)};e.getOrderListApi=function(t){return a.default.get("api/user.order.mall_order/index?page="+t.page+"&limit=10&status=0")};e.getOrderDetailApi=function(t){return a.default.get("api/user.order.mall_order/orderDetail?id="+t)};e.getLogisticsApi=function(t){return a.default.get("api/user.order.mall_order/logistics?id="+t)};e.cancelOrderApi=function(t){return a.default.post("api/user.order.mall_order/cancelOrder",{id:t})};e.confirmOrderApi=function(t){return a.default.post("api/user.order.mall_order/confirmOrder",{id:t})};e.commentOrderApi=function(t){return a.default.post("api/user.order.mall_order/commentOrder",t)};e.applyAfterSaleApi=function(t){return a.default.post("api/user.order.mall_order/applyAfterSale",t)};e.getJieLongConfigApi=function(t){return a.default.get("api/user.order.mall_order/jielongConfig?id="+t)}},c07e:function(t,e,i){var n=i("3bc5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("143c0c06",n,!0,{sourceMap:!1,shadowMode:!1})},c223c:function(t,e,i){"use strict";i.r(e);var n=i("72fe"),a=i("fcbc");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("22a4");var r=i("828b"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"82c00bc2",null,!1,n["a"],void 0);e["default"]=s.exports},c6b8:function(t,e,i){var n=i("6a02");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("df712aec",n,!0,{sourceMap:!1,shadowMode:!1})},ca35:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d4b5"),i("4626"),i("5ac7");var a=i("e0a2"),o=i("815c"),r=n(i("dc1f")),s=n(i("dae0")),d=n(i("44ca")),c=n(i("34cae")),l=i("419c"),u=(n(i("8c27")),i("d240")),f=(i("262c"),i("e0a2")),p={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:c.default},mixins:[r.default,s.default,d.default],data:function(){return{icon:[a.staticUrl+"api/images/20250517/images_1747464239.png",a.staticUrl+"api/images/20250517/images_1747464779.png"],currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},created:function(){console.log("data",this.data)},methods:{copyToClipBoard:o.copyToClipBoard,call:function(t){(0,o.callPhone)(t)},contact:function(t){uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(t.vehicle.driver_contact_url))})},goto:function(t){(0,l.navPage)("/SP/informationWP?sn=".concat(t.order_sn))},payOrder:function(t){var e=this;this.currentOrderId=t,this.$nextTick((function(){setTimeout((function(){e.showPaySelectModal=!0}),150)}))},cancelPayEvent:function(){},successPayEvent:function(){this.showPaySelectModal=!1,this.$emit("refresh-data")},failPayEvent:function(){this.showPaySelectModal=!1},navStore:function(t,e,i,n){1==i?(0,l.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&n?(0,l.navPage)("".concat(n)):(0,l.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,l.navPage)("/order-page/logistics-order-detail/index?order_sn=".concat(t))},cancelOrderCallback:function(){this.$emit("refresh-data")},openLock:function(t){var e=this;uni.showModal({title:"提示",content:"请确认是否开柜",success:function(i){i.confirm&&(e.loadingShow=!0,(0,u.getChannelApi)(t.id).then((function(i){console.log("res",i),t.lock_result.order_sn=i.data.order_sn,t.lock_result.channel_id=i.data.channel_id,t.lock_result.device_sn=i.data.device_sn,e.openWebSocket(t)})))}})},openWebSocket:function(t){var e=this,i={userClient:"user",type:"unlockChannel",method:"order_sn",order_sn:t.lock_result.order_sn,channel_id:t.lock_result.channel_id,device_sn:t.lock_result.device_sn},n=JSON.stringify(i);e.open_lock_string=n;var a=f.LOCK_WEBSOCKET_URL;uni.connectSocket({url:a}),uni.onSocketOpen((function(t){console.log("WebSocket连接已打开!"),uni.sendSocketMessage({data:n})})),uni.onSocketMessage((function(t){console.log("收到服务器内容:"+JSON.stringify(t)),t.data.includes("open_lock_success")&&(e.loadingShow=!1,uni.showToast({title:"开柜成功",icon:"none",duration:2e3}),uni.showModal({title:"提示",content:"是否开门",cancelText:"重开门",confirmText:"已开门",success:function(t){t.confirm?(console.log("用户点击确定已经开门,关闭连接"),e.open_lock_string="",uni.closeSocket(),setTimeout((function(){e.$emit("refresh-data")}),1e3)):t.cancel&&(console.log("点击重试,重新开锁"),uni.sendSocketMessage({data:e.open_lock_string}))}}))}))},openQrcode:function(t){this.order_qrcode=t,this.qrcode_box_show=!0},expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(t,e,i,n,a){var o=this;if(1!=a)if(0!=n)if(1==i){var r="once";e&&(r="one_touch"),uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(e){e.confirm&&(0,l.navPage)("/order-page/takeout-order-refund/index?id="+t+"&type="+r)}})}else uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3});else uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单??",showCancel:!0,success:function(e){e.confirm&&(0,u.cancelOrderApi)({id:t}).then((function(){o.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=p},cc53:function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.empty[data-v-6cf0f295]{position:relative;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:%?60?% %?0?%}.empty__icon .icon-icon[data-v-6cf0f295]{font-size:%?180?%;line-height:1;color:#f3f2f7}.empty__icon .icon-image[data-v-6cf0f295]{width:%?180?%;height:%?180?%}.empty__tips[data-v-6cf0f295]{color:#aaa;font-size:%?32?%;margin-top:%?20?%}.empty__custom[data-v-6cf0f295]{margin-top:%?24?%}',""]),t.exports=e},cede:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getTuangouquanOrderListApi=e.deleteOrderApi=void 0;var a=n(i("7653"));e.getTuangouquanOrderListApi=function(t){return a.default.get("api/user.tuangouquan.order/list",t)};e.deleteOrderApi=function(t){return a.default.post("api/user.tuangouquan.order/delete",t)}},d1b9:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default,tnTabs:i("37fc").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"order-page component-page-padding-bottom theme-order-page"},[t.loadingShow?i("loading"):t._e(),i("v-uni-view",{staticClass:"order-type-select tn-shadow theme-order-tabs"},[i("tn-tabs",{attrs:{showBar:!1,list:t.orderTypes,current:t.currentSelectOrderTypeIndex,"active-color":"#FFCA28 "},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.orderTypeChangeEvent.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"order-page__wrapper component-page-padding-bottom",staticStyle:{"padding-left":"0","padding-right":"0"},style:[{paddingTop:"45px"}]},[t.orderData.length>0?[0===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("ALLOrderList",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),5===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("UnpackingOrderList",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),10===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("ObligationOrderList",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),20===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("DispatchOrderList",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),29===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("DispatchedOrderList",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),30===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("CompletedOrderList",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e()]:t._e(),t.isLoadAll&&0===t.orderData.length?[i("empty",{attrs:{icon:"empty-data",tips:"订单为空"}})]:t._e()],2),i("v-uni-view",{staticClass:"refresh-btn tn-shadow tn-flex-center",style:{"background-color":"#ffca28",color:"#080808"},attrs:{"hover-class":"tn-btn-hover-class","hover-stay-time":150},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"tn-icon-circle-arrow"})],1)],1)},o=[]},d234:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d4b5"),i("4626"),i("5ac7");var a=i("e0a2"),o=i("815c"),r=n(i("dc1f")),s=n(i("dae0")),d=n(i("44ca")),c=n(i("34cae")),l=i("419c"),u=(n(i("8c27")),i("d240")),f=(i("262c"),i("e0a2")),p={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:c.default},mixins:[r.default,s.default,d.default],data:function(){return{icon:[a.staticUrl+"api/images/20250517/images_1747464239.png",a.staticUrl+"api/images/20250517/images_1747464779.png"],currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},created:function(){console.log("data",this.data)},methods:{copyToClipBoard:o.copyToClipBoard,call:function(t){(0,o.callPhone)(t)},contact:function(t){uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(t.vehicle.driver_contact_url))})},goto:function(t){(0,l.navPage)("/SP/informationWP?sn=".concat(t.order_sn))},payOrder:function(t){var e=this;this.currentOrderId=t,this.$nextTick((function(){setTimeout((function(){e.showPaySelectModal=!0}),150)}))},cancelPayEvent:function(){},successPayEvent:function(){this.showPaySelectModal=!1,this.$emit("refresh-data")},failPayEvent:function(){this.showPaySelectModal=!1},navStore:function(t,e,i,n){1==i?(0,l.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&n?(0,l.navPage)("".concat(n)):(0,l.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,l.navPage)("/order-page/logistics-order-detail/index?order_sn=".concat(t))},cancelOrderCallback:function(){this.$emit("refresh-data")},openLock:function(t){var e=this;uni.showModal({title:"提示",content:"请确认是否开柜",success:function(i){i.confirm&&(e.loadingShow=!0,(0,u.getChannelApi)(t.id).then((function(i){console.log("res",i),t.lock_result.order_sn=i.data.order_sn,t.lock_result.channel_id=i.data.channel_id,t.lock_result.device_sn=i.data.device_sn,e.openWebSocket(t)})))}})},openWebSocket:function(t){var e=this,i={userClient:"user",type:"unlockChannel",method:"order_sn",order_sn:t.lock_result.order_sn,channel_id:t.lock_result.channel_id,device_sn:t.lock_result.device_sn},n=JSON.stringify(i);e.open_lock_string=n;var a=f.LOCK_WEBSOCKET_URL;uni.connectSocket({url:a}),uni.onSocketOpen((function(t){console.log("WebSocket连接已打开!"),uni.sendSocketMessage({data:n})})),uni.onSocketMessage((function(t){console.log("收到服务器内容:"+JSON.stringify(t)),t.data.includes("open_lock_success")&&(e.loadingShow=!1,uni.showToast({title:"开柜成功",icon:"none",duration:2e3}),uni.showModal({title:"提示",content:"是否开门",cancelText:"重开门",confirmText:"已开门",success:function(t){t.confirm?(console.log("用户点击确定已经开门,关闭连接"),e.open_lock_string="",uni.closeSocket(),setTimeout((function(){e.$emit("refresh-data")}),1e3)):t.cancel&&(console.log("点击重试,重新开锁"),uni.sendSocketMessage({data:e.open_lock_string}))}}))}))},openQrcode:function(t){this.order_qrcode=t,this.qrcode_box_show=!0},expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(t,e,i,n,a){var o=this;if(1!=a)if(0!=n)if(1==i){var r="once";e&&(r="one_touch"),uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(e){e.confirm&&(0,l.navPage)("/order-page/takeout-order-refund/index?id="+t+"&type="+r)}})}else uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3});else uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单??",showCancel:!0,success:function(e){e.confirm&&(0,u.cancelOrderApi)({id:t}).then((function(){o.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=p},d240:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.searchExpressApi=e.orderStatusListApi=e.orderNoticeApi=e.getVisaOrderListApi=e.getVisaOrderDetailApi=e.getTakeoutOrderListApi=e.getTakeoutOrderDetailApi=e.getSpecialDeliveryStatusApi=e.getRefundReasonApi=e.getPaybillOrderListApi=e.getPaybillOrderDetailApi=e.getOrderwuliuApi=e.getOrderMapPathApi=e.getOrderIdByOutTradeNoApi=e.getErranderOrderListApi=e.getErranderOrderDetailApi=e.getChannelApi=e.getAllOrderListApi=e.getAirportPickupDetail=e.cancelOrderApi=e.applyRefundApi=void 0;var a=n(i("7653"));e.getTakeoutOrderListApi=function(t){var e=t.page,i=t.psize,n=t.status_index;return a.default.get("api/user.order.order/list",{page:e,psize:i,status_index:n})};e.getAllOrderListApi=function(){return a.default.get("api/user.order.order/allOrderList")};e.getTakeoutOrderDetailApi=function(t){var e=t.id,i=t.type;return a.default.get("api/user.order.order/detail",{id:e,type:i})};e.getErranderOrderListApi=function(t){var e=t.page,i=t.psize;return a.default.get("api/user.order.errander.errander/viList",{page:e,psize:i})};e.getErranderOrderDetailApi=function(t){var e=t.id;return a.default.get("api/user.order.errander.errander/detail",{id:e})};e.getVisaOrderListApi=function(t){return a.default.post("api/user.visa.order/list",t)};e.getVisaOrderDetailApi=function(t){return a.default.post("api/user.visa.order/detail",t)};e.getAirportPickupDetail=function(t){return a.default.post("api/user.airportTransfer.order/detail",t)};e.getPaybillOrderListApi=function(t){var e=t.page,i=t.psize;return a.default.get("api/user.order.paybill/list",{page:e,psize:i})};e.getPaybillOrderDetailApi=function(t){var e=t.id;return a.default.get("api/user.order.paybill/detail",{id:e})};e.getOrderMapPathApi=function(t){return a.default.post("api/user.order.order/mapPath",t)};e.getSpecialDeliveryStatusApi=function(t){return a.default.post("api/user.order.order/getSpecialDeliveryStatus",t)};e.getOrderIdByOutTradeNoApi=function(t){return a.default.post("api/user.order.order/getOrderIdByOutTradeNo",t)};e.getOrderwuliuApi=function(t){return a.default.post("api/user.order.order/wuliu",t)};e.getChannelApi=function(t){return a.default.get("api/user.order.order/getChannel?id="+t)};e.getRefundReasonApi=function(){return a.default.get("api/user.order.order/getRefundReason")};e.applyRefundApi=function(t){return a.default.post("api/user.order.order/applyRefund",t)};e.cancelOrderApi=function(t){return a.default.post("api/user.order.order/cancel",t)};e.orderNoticeApi=function(t){return a.default.post("api/user.order.order/orderNotice",t)};e.orderStatusListApi=function(t){return a.default.get("api/user.order.order/orderStatusList?id="+t)};e.searchExpressApi=function(t){return a.default.post("api/user.order.order/searchExpress",t)}},d736:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d4b5"),i("4626"),i("5ac7");var a=i("e0a2"),o=i("815c"),r=n(i("dc1f")),s=n(i("dae0")),d=n(i("44ca")),c=n(i("34cae")),l=i("419c"),u=(n(i("8c27")),i("d240")),f=(i("262c"),i("e0a2")),p={props:{data:{type:Array,default:function(){return[]}},payList:{type:Array,default:function(){return[]}}},components:{PaySelectModal:c.default},mixins:[r.default,s.default,d.default],data:function(){return{icon:[a.staticUrl+"api/images/20250517/images_1747464239.png",a.staticUrl+"api/images/20250517/images_1747464779.png"],currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},created:function(){console.log("data",this.data)},methods:{goPay:function(t){(0,l.navPage)("/order-page/logistics-order-detail/index?order_sn=".concat(t,"&pay=true"))},copyToClipBoard:o.copyToClipBoard,call:function(t){(0,o.callPhone)(t)},contact:function(t){uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(t.vehicle.driver_contact_url))})},goto:function(t){(0,l.navPage)("/SP/informationWP?sn=".concat(t.order_sn))},payOrder:function(t){var e=this;this.currentOrderId=t,this.$nextTick((function(){setTimeout((function(){e.showPaySelectModal=!0}),150)}))},cancelPayEvent:function(){},successPayEvent:function(){this.showPaySelectModal=!1,this.$emit("refresh-data")},failPayEvent:function(){this.showPaySelectModal=!1},navStore:function(t,e,i,n){1==i?(0,l.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&n?(0,l.navPage)("".concat(n)):(0,l.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,l.navPage)("/order-page/logistics-order-detail/index?order_sn=".concat(t))},cancelOrderCallback:function(){this.$emit("refresh-data")},openLock:function(t){var e=this;uni.showModal({title:"提示",content:"请确认是否开柜",success:function(i){i.confirm&&(e.loadingShow=!0,(0,u.getChannelApi)(t.id).then((function(i){console.log("res",i),t.lock_result.order_sn=i.data.order_sn,t.lock_result.channel_id=i.data.channel_id,t.lock_result.device_sn=i.data.device_sn,e.openWebSocket(t)})))}})},openWebSocket:function(t){var e=this,i={userClient:"user",type:"unlockChannel",method:"order_sn",order_sn:t.lock_result.order_sn,channel_id:t.lock_result.channel_id,device_sn:t.lock_result.device_sn},n=JSON.stringify(i);e.open_lock_string=n;var a=f.LOCK_WEBSOCKET_URL;uni.connectSocket({url:a}),uni.onSocketOpen((function(t){console.log("WebSocket连接已打开!"),uni.sendSocketMessage({data:n})})),uni.onSocketMessage((function(t){console.log("收到服务器内容:"+JSON.stringify(t)),t.data.includes("open_lock_success")&&(e.loadingShow=!1,uni.showToast({title:"开柜成功",icon:"none",duration:2e3}),uni.showModal({title:"提示",content:"是否开门",cancelText:"重开门",confirmText:"已开门",success:function(t){t.confirm?(console.log("用户点击确定已经开门,关闭连接"),e.open_lock_string="",uni.closeSocket(),setTimeout((function(){e.$emit("refresh-data")}),1e3)):t.cancel&&(console.log("点击重试,重新开锁"),uni.sendSocketMessage({data:e.open_lock_string}))}}))}))},openQrcode:function(t){this.order_qrcode=t,this.qrcode_box_show=!0},expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(t,e,i,n,a){var o=this;if(1!=a)if(0!=n)if(1==i){var r="once";e&&(r="one_touch"),uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(e){e.confirm&&(0,l.navPage)("/order-page/takeout-order-refund/index?id="+t+"&type="+r)}})}else uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3});else uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单??",showCancel:!0,success:function(e){e.confirm&&(0,u.cancelOrderApi)({id:t}).then((function(){o.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=p},d745:function(t,e,i){var n=i("d99e");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("967d").default;a("64418a1c",n,!0,{sourceMap:!1,shadowMode:!1})},d958:function(t,e,i){"use strict";var n=i("c6b8"),a=i.n(n);a.a},d99e:function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.copy-icon[data-v-4088bc56]{width:%?25?%;height:%?25?%;margin-left:%?16?%}.tracking-number[data-v-4088bc56]{font-family:Source Han Sans CN;font-weight:500;font-size:%?22?%;color:#7c7c7c;line-height:%?42?%}\n/* 订单列表item start */.order-item[data-v-4088bc56]{position:relative;width:100%;padding:%?20?%;background-color:#fff;border-radius:%?20?%;margin-top:%?30?%\n /* 顶部信息 start */\n /* 顶部信息 end */\n /* 商品列表 start */\n /* 商品列表 end */\n /* 操作按钮 start */\n /* 操作按钮 end */}.order-item[data-v-4088bc56]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-4088bc56]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-4088bc56]{position:relative;width:%?100?%;height:%?100?%;border-radius:%?15?%;border:%?1?% solid #e6e6e6;overflow:hidden}.order-item .top-info .store-avatar .business-tag[data-v-4088bc56]{position:absolute;top:%?-4?%;right:%?-2?%;border-radius:%?4?%;font-size:%?22?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?0?% %?15?% %?0?% %?0?%}.order-item .top-info .top-right[data-v-4088bc56]{flex:1;margin-left:%?20?%}.order-item .top-info .top-right .top-right-line[data-v-4088bc56]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-4088bc56]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-4088bc56]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-4088bc56]{padding-left:%?40?%;font-family:Source Han Sans CN;font-weight:500;font-size:%?24?%;color:#888;line-height:%?42?%}.order-item .top-info .top-right .order-type[data-v-4088bc56]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-4088bc56]{position:relative;width:100%;padding:%?20?% %?0?%\n /* 单个商品 start */\n /* 单个商品 end */\n /* 单个商品 start */\n /* 单个商品 end */\n /* 商品数量、价格 start */\n /* 商品数量、价格 end */}.order-item .product-list .single-product[data-v-4088bc56]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-4088bc56]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-4088bc56]{width:100%;padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-4088bc56]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-4088bc56]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-4088bc56]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-4088bc56]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .product-item .item-image .item-num[data-v-4088bc56]{position:absolute;right:0;bottom:0;line-height:1;padding:%?4?% %?10?%;background-color:rgba(0,0,0,.5);color:#fff;font-size:%?20?%;border-radius:%?10?% %?0?% %?10?% %?0?%}.order-item .product-list .product-item .item-title[data-v-4088bc56]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-4088bc56]{position:absolute;top:0;right:0;height:100%;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:%?0?% %?20?%}.order-item .product-list .order-price-count-info .order-count[data-v-4088bc56]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-4088bc56]{display:flex;align-items:flex-end;font-size:%?32?%;line-height:1;margin-bottom:%?10?%}.order-item .product-list .order-price-count-info .order-price .unit[data-v-4088bc56]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-4088bc56]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-4088bc56]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-4088bc56]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-4088bc56]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-4088bc56]{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-4088bc56]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-4088bc56]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-4088bc56]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-4088bc56]{width:100%}.expansion .expansion_box .line4[data-v-4088bc56]{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-4088bc56]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-4088bc56]{width:%?60?%;height:%?60?%}.order-list[data-v-4088bc56]{height:100vh;overflow-y:auto;padding:%?22?% %?15?% %?300?% %?15?%}',""]),t.exports=e},dae0:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},filters:{orderStatusValue:function(t,e,i){switch(t){case 1:return 1!==e?"待付款":2===i?"待确认":"待接单";case 2:return"已确认";case 3:return"待配送";case 4:return"配送中";case 5:return"已完成";case 6:return"已取消";default:return""}},orderStatusValueTow:function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return 3==i&&a?6!=t?"商家备货中":"已取消":1==t?1!==e?"待付款":2===i?"待确认":"待接单":2==t?2===i||3===i?"商家备货中":"商家备货中,等待骑手接单":3==t?"待配送":4==t?7==n?"待取货":"配送中":5==t?"已完成":6==t?"已取消":void 0},orderTypeValue:function(t,e){switch(t){case 1:return"外卖";case 2:return 1===e?"自提":"店内";case 3:return"店内";default:return""}}},computed:{orderStatusColorClass:function(){return function(t,e){var i="gray";switch(t){case 1:i=1===e?"orangeyellow":"red";break;case 2:i="orangered";break;case 3:i="blue";break;case 4:i="bluepurple";break;case 5:i="green--dark";break}return"tn-color-".concat(i)}},creditshopOrderStatus:function(){return function(t,e){var i="gray";if(0===e)i="red";else switch(t){case 0:i="blue";break;case 1:i=1===e?"orangeyellow":"red";break;case 2:i="green--dark";break;case 3:i="red";break}return"tn-color-".concat(i)}},mallOrderStatusColorClass:function(){return function(t){var e="gray";switch(t){case"nopay":e="orangeyellow";break;case"noget":e="orangered";break;case"nosend":e="blue";break;case"refund_finish":e="bluepurple";break;case"refund_ing":e="green--dark";break;case"cancel":e="red";break}return"tn-color-".concat(e)}}}};e.default=n},dc1c:function(t,e,i){"use strict";i.r(e);var n=i("5c2e"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},de1c:function(t,e,i){"use strict";var n=i("9cae"),a=i.n(n);a.a},df71:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d4b5"),i("4626"),i("5ac7");var a=i("e0a2"),o=i("815c"),r=n(i("dc1f")),s=n(i("dae0")),d=n(i("44ca")),c=n(i("34cae")),l=i("419c"),u=(n(i("8c27")),i("d240")),f=(i("262c"),i("e0a2")),p={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:c.default},mixins:[r.default,s.default,d.default],data:function(){return{icon:[a.staticUrl+"api/images/20250517/images_1747464239.png",a.staticUrl+"api/images/20250517/images_1747464779.png"],currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},created:function(){console.log("data",this.data)},methods:{copyToClipBoard:o.copyToClipBoard,call:function(t){(0,o.callPhone)(t)},contact:function(t){uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(t.vehicle.driver_contact_url))})},goto:function(t){(0,l.navPage)("/SP/informationWP?sn=".concat(t.order_sn))},payOrder:function(t){var e=this;this.currentOrderId=t,this.$nextTick((function(){setTimeout((function(){e.showPaySelectModal=!0}),150)}))},cancelPayEvent:function(){},successPayEvent:function(){this.showPaySelectModal=!1,this.$emit("refresh-data")},failPayEvent:function(){this.showPaySelectModal=!1},navStore:function(t,e,i,n){1==i?(0,l.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&n?(0,l.navPage)("".concat(n)):(0,l.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,l.navPage)("/order-page/logistics-order-detail/index?order_sn=".concat(t))},cancelOrderCallback:function(){this.$emit("refresh-data")},openLock:function(t){var e=this;uni.showModal({title:"提示",content:"请确认是否开柜",success:function(i){i.confirm&&(e.loadingShow=!0,(0,u.getChannelApi)(t.id).then((function(i){console.log("res",i),t.lock_result.order_sn=i.data.order_sn,t.lock_result.channel_id=i.data.channel_id,t.lock_result.device_sn=i.data.device_sn,e.openWebSocket(t)})))}})},openWebSocket:function(t){var e=this,i={userClient:"user",type:"unlockChannel",method:"order_sn",order_sn:t.lock_result.order_sn,channel_id:t.lock_result.channel_id,device_sn:t.lock_result.device_sn},n=JSON.stringify(i);e.open_lock_string=n;var a=f.LOCK_WEBSOCKET_URL;uni.connectSocket({url:a}),uni.onSocketOpen((function(t){console.log("WebSocket连接已打开!"),uni.sendSocketMessage({data:n})})),uni.onSocketMessage((function(t){console.log("收到服务器内容:"+JSON.stringify(t)),t.data.includes("open_lock_success")&&(e.loadingShow=!1,uni.showToast({title:"开柜成功",icon:"none",duration:2e3}),uni.showModal({title:"提示",content:"是否开门",cancelText:"重开门",confirmText:"已开门",success:function(t){t.confirm?(console.log("用户点击确定已经开门,关闭连接"),e.open_lock_string="",uni.closeSocket(),setTimeout((function(){e.$emit("refresh-data")}),1e3)):t.cancel&&(console.log("点击重试,重新开锁"),uni.sendSocketMessage({data:e.open_lock_string}))}}))}))},openQrcode:function(t){this.order_qrcode=t,this.qrcode_box_show=!0},expansion_close:function(){this.qrcode_box_show=!1},cancelOrder:function(t,e,i,n,a){var o=this;if(1!=a)if(0!=n)if(1==i){var r="once";e&&(r="one_touch"),uni.showModal({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,success:function(e){e.confirm&&(0,l.navPage)("/order-page/takeout-order-refund/index?id="+t+"&type="+r)}})}else uni.showToast({title:"由于下单后商户已开始做餐,请电话联系商家取消订单!如沟通不成,请联系平台客服。",icon:"none",duration:2e3});else uni.showModal({title:"提示",content:"订单未支付,是否确认取消订单??",showCancel:!0,success:function(e){e.confirm&&(0,u.cancelOrderApi)({id:t}).then((function(){o.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=p},ec01:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"empty"},[i("v-uni-view",{staticClass:"empty__icon"},[t.isImage?i("v-uni-view",{staticClass:"icon-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.icon,mode:"aspectFill"}})],1):t._e(),i("v-uni-view",{staticClass:"icon-icon"},[i("v-uni-text",{class:["tn-icon-"+t.icon]})],1)],1),t.tips?i("v-uni-view",{staticClass:"empty__tips"},[t._v(t._s(t.tips))]):t._e(),i("v-uni-view",{staticClass:"empty__custom"},[t._t("default")],2)],1)},a=[]},f0b2:function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.operation-btn[data-v-562d722e]{margin-top:%?26?%}.operation-btn .btn[data-v-562d722e]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.operation-btn .btn + .btn[data-v-562d722e]{margin-left:%?16?%}.value[data-v-562d722e]{font-family:Source Han Sans CN;font-weight:500;font-size:%?34?%;color:#151515;line-height:%?42?%}.detail[data-v-562d722e]{font-family:Source Han Sans CN;font-weight:500;font-size:%?24?%;color:#7c7c7c;line-height:%?42?%}.copy-icon[data-v-562d722e]{width:%?25?%;height:%?25?%;margin-left:%?16?%}.tracking-number[data-v-562d722e]{font-family:Source Han Sans CN;font-weight:500;font-size:%?22?%;color:#7c7c7c;line-height:%?42?%}\n/* 订单列表item start */.order-item[data-v-562d722e]{position:relative;width:100%;padding:%?20?%;background-color:#fff;border-radius:%?20?%;margin-top:%?30?%\n /* 顶部信息 start */\n /* 顶部信息 end */\n /* 商品列表 start */\n /* 商品列表 end */\n /* 操作按钮 start */\n /* 操作按钮 end */}.order-item[data-v-562d722e]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-562d722e]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-562d722e]{position:relative;width:%?100?%;height:%?100?%;border-radius:%?15?%;border:%?1?% solid #e6e6e6;overflow:hidden}.order-item .top-info .store-avatar .business-tag[data-v-562d722e]{position:absolute;top:%?-4?%;right:%?-2?%;border-radius:%?4?%;font-size:%?22?%;line-height:1;padding:%?4?% %?8?%;border-radius:%?0?% %?15?% %?0?% %?0?%}.order-item .top-info .top-right[data-v-562d722e]{flex:1}.order-item .top-info .top-right .top-right-line[data-v-562d722e]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-562d722e]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-562d722e]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-562d722e]{padding-left:%?40?%;font-family:Source Han Sans CN;font-weight:500;font-size:%?24?%;color:#888;line-height:%?42?%}.order-item .top-info .top-right .order-type[data-v-562d722e]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-562d722e]{position:relative;width:100%;padding:%?20?% %?0?%\n /* 单个商品 start */\n /* 单个商品 end */\n /* 单个商品 start */\n /* 单个商品 end */\n /* 商品数量、价格 start */\n /* 商品数量、价格 end */}.order-item .product-list .single-product[data-v-562d722e]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-562d722e]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-562d722e]{width:100%;padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-562d722e]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-562d722e]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-562d722e]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-562d722e]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .product-item .item-image .item-num[data-v-562d722e]{position:absolute;right:0;bottom:0;line-height:1;padding:%?4?% %?10?%;background-color:rgba(0,0,0,.5);color:#fff;font-size:%?20?%;border-radius:%?10?% %?0?% %?10?% %?0?%}.order-item .product-list .product-item .item-title[data-v-562d722e]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-562d722e]{position:absolute;top:0;right:0;height:100%;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:%?0?% %?20?%}.order-item .product-list .order-price-count-info .order-count[data-v-562d722e]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-562d722e]{display:flex;align-items:flex-end;font-size:%?32?%;line-height:1;margin-bottom:%?10?%}.order-item .product-list .order-price-count-info .order-price .unit[data-v-562d722e]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-562d722e]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-562d722e]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-562d722e]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-562d722e]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-562d722e]{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-562d722e]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-562d722e]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-562d722e]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-562d722e]{width:100%}.expansion .expansion_box .line4[data-v-562d722e]{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-562d722e]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-562d722e]{width:%?60?%;height:%?60?%}.order-list[data-v-562d722e]{height:100vh;overflow-y:auto;padding:%?22?% %?15?% %?300?% %?15?%}',""]),t.exports=e},f13b:function(t,e,i){"use strict";var n=i("d745"),a=i.n(n);a.a},f1a9:function(t,e,i){"use strict";i.r(e);var n=i("61b9"),a=i("3f95");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("4ebb");var r=i("828b"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"d796f9da",null,!1,n["a"],void 0);e["default"]=s.exports},f2e5:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.signInApi=e.postEexchange=e.getUserIntegral=e.getCreditshopOrderList=e.getCreditshopOrderDetail=e.getCommodityDetail=e.getClass=void 0;var a=n(i("7653"));e.getUserIntegral=function(){return a.default.get("api/user.creditshop.creditshop/getUserCreditShop",{})};e.signInApi=function(){return a.default.post("api/user.creditshop.creditshop/CreditShopSign",{})};e.getClass=function(t){var e=t.page,i=t.cid;return a.default.get("api/user.creditshop.creditshop/getGoodsByCid",{page:e,cid:i})};e.getCommodityDetail=function(t){var e=t.goods_id;return a.default.get("api/user.creditshop.creditshop/getGoodsDetail",{goods_id:e})};e.getCreditshopOrderList=function(t){var e=t.page,i=t.psize,n=t.status_index;return a.default.get("api/user.creditshop.CreditshopOrder/getOrderList",{page:e,psize:i,status_index:n})};e.getCreditshopOrderDetail=function(t){var e=t.id;return a.default.get("api/user.creditshop.CreditshopOrder/getOrderDetail",{id:e})};e.postEexchange=function(t){var e=t.goods_id,i=t.options_index;return a.default.post("api/user.creditshop.creditshop_order/creditExchange",{goods_id:e,options_index:i})}},f30a:function(t,e,i){"use strict";i.r(e);var n=i("d736"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},f9ce:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.checkUserIsLogin=void 0,i("bf0f");var n=i("262c");e.checkUserIsLogin=function(){return new Promise((function(t,e){var i=(0,n.getTokenFromCache)();return i?t():e()}))}},fcbc:function(t,e,i){"use strict";i.r(e);var n=i("df71"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a}}]);
|