(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["system-page-order-index"],{"0656":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),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:"orderList"},t._l(t.dataList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item"},[i("v-uni-view",{staticClass:"item_t"},[i("v-uni-view",[0==e.queryData.model?i("v-uni-image",{attrs:{src:"https://qny.wdsp666.com/uploads/images/movie/Group 1392@2x.png"}}):i("v-uni-image",{attrs:{src:"https://qny.wdsp666.com/uploads/images/movie/Group 1391@2x.png"}}),i("v-uni-view",[t._v(t._s(e.queryData.movieCinemaName))])],1),i("v-uni-view",{class:{ll:"drawSuccess"==e.queryData.status||"confirmSuccess"==e.queryData.status}},[t._v(t._s("bidding"==e.queryData.status?"竞价中":"drawDoing"==e.queryData.status?"正在出票":"drawSuccess"==e.queryData.status?"已出票":"dispute"==e.queryData.status?"纠纷":"drawClose"==e.queryData.status?"关闭退款":"确认收货"))])],1),i("v-uni-view",{staticClass:"line"}),i("v-uni-view",{staticClass:"item_c"},[i("v-uni-view",[i("v-uni-image",{attrs:{src:e.movie_image}}),i("v-uni-view",[i("v-uni-view",[t._v(t._s(e.movie_title))]),e.queryData.movieShowTime?i("v-uni-view",[t._v(t._s(e.queryData.movieShowTime.slice(5,7))+"月"+t._s(e.queryData.movieShowTime.slice(8,10))+"日 "+t._s(e.queryData.movieShowTime.slice(11,16)))]):t._e(),i("v-uni-view",[t._v(t._s(e.queryData.movieHallName))]),i("v-uni-view",[t._v(t._s(e.queryData.buyNum))])],1)],1),i("v-uni-view",[i("v-uni-view",[t._v(t._s(t.CurrencyUnit)+t._s(e.total_fee?e.total_fee:""))])],1)],1),i("v-uni-view",{staticClass:"line"}),i("v-uni-view",{staticClass:"item_b"},[i("v-uni-view"),i("v-uni-view",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.toPath("/cinema-page/orderInfo?outId="+e.id)}}},[t._v("订单详情")])],1)],1)})),1)},o=[]},"0a28":function(t,e,i){"use strict";i.r(e);var n=i("dd8d"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"13d7":function(t,e,i){"use strict";var n=i("1f79"),o=i.n(n);o.a},"166a":function(t,e,i){"use strict";i.r(e);var n=i("19d5"),o=i("5c9a");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("7a95");var r=i("828b"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"4be3688b",null,!1,n["a"],void 0);e["default"]=s.exports},"19d5":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},o=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",{staticClass:"store-title tn-text-ellipsis-1"}),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_desc))])],1)],1)],1),i("v-uni-view",{staticClass:"product-list"},[i("v-uni-view",{staticClass:"single-product tn-flex-row-center"},[i("v-uni-view",{staticClass:"product-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.product.product_img,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"product-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-2"},[t._v(t._s(e.product_name))])],1)],1),i("v-uni-view",{staticClass:"order-price-count-info"},[i("v-uni-view",{staticClass:"order-price"},[i("v-uni-view",{staticClass:"unit tn-color-gray--dark"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.order_amount))])],1)],1)],1),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width tn-flex-center-between"},[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间: "+t._s(e.create_time))])],1),i("v-uni-view",{staticClass:"operation-btn tn-flex-center-end"},[20==e.order_status?i("v-uni-view",{staticClass:"btn to-pay theme-operation-btn",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goto(e)}}},[t._v("上传资料")]):t._e()],1)],1)}))],2)},a=[]},"1db3":function(t,e,i){"use strict";i.r(e);var n=i("3cf2"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"1f79":function(t,e,i){var n=i("f3f72");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("2ac0c8eb",n,!0,{sourceMap:!1,shadowMode:!1})},"21a3":function(t,e,i){var n=i("683f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("b4638994",n,!0,{sourceMap:!1,shadowMode:!1})},"2b1b":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={tnLazyLoad:i("b461").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{},[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.id)}}},[i("v-uni-view",{staticClass:"top-info",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navStore(e.sid)}}},[i("v-uni-view",{staticClass:"store-avatar"},[i("v-uni-view",{staticClass:"image"},[i("tn-lazy-load",{attrs:{src:e.store.logo}})],1),e.storeInfo.business?i("v-uni-view",{staticClass:"business-tag tn-bg-red--light"},[t._v("营业")]):t._e()],1),i("v-uni-view",{staticClass:"top-right"},[i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",{staticClass:"store-title tn-text-ellipsis-1"},[t._v(t._s(e.store.title))]),i("v-uni-view",{staticClass:"order-status",class:[t.mallOrderStatusColorClass(e.status_code)]},[t._v(t._s(e.status_name))])],1),i("v-uni-view",{staticClass:"top-right-line"},[i("v-uni-view",{staticClass:"order-type tn-bg-red--light"},[t._v(t._s(t._f("orderTypeValue")(e.orderType,e.zitiType)))])],1)],1)],1),i("v-uni-view",{staticClass:"product-list"},[1===e.mallOrderItem.length?i("v-uni-view",{staticClass:"single-product tn-flex-row-center"},[i("v-uni-view",{staticClass:"product-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.mallOrderItem[0].goods_image,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"product-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-2"},[t._v(t._s(e.goodsInfo[0].goods_title))]),i("v-uni-view",{staticClass:"num"},[t._v("数量: "+t._s(e.mallOrderItem[0].goods_num))])],1)],1):i("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-x":!0}},[i("v-uni-view",{staticClass:"tn-flex-row-center"},t._l(e.mallOrderItem,(function(e,n){return i("v-uni-view",{key:n,staticClass:"product-item"},[i("v-uni-view",{staticClass:"item-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.goods_image,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"item-num"},[t._v("x "+t._s(e.goods_num))])],1),i("v-uni-view",{staticClass:"item-title tn-text-ellipsis-1"},[t._v(t._s(e.goods_title))])],1)})),1)],1),i("v-uni-view",{staticClass:"order-price-count-info"},[i("v-uni-view",{staticClass:"order-price"},[i("v-uni-view",{staticClass:"unit tn-color-gray--dark"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.total_fee))])],1),i("v-uni-view",{staticClass:"order-count tn-color-gray--dark"},[t._v("共"+t._s(e.total_goods_num)+"件")])],1)],1),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width tn-flex-center-between"},[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间: "+t._s(e.createtime))])],1),i("v-uni-view",{staticClass:"operation-btn tn-flex-center-end"},[e.btns.includes("comment")?i("v-uni-view",{staticClass:"btn again-order",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.commentOrder(e.id)}}},[t._v("去评价")]):t._e(),e.btns.includes("buy_again")?i("v-uni-view",{staticClass:"btn again-order",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navAnotherOrder(e.sid,e.id)}}},[t._v("再来一单")]):t._e(),e.btns.includes("pay")?i("v-uni-view",{staticClass:"btn to-pay",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.payOrder(e.id)}}},[t._v("立即支付")]):t._e(),e.btns.includes("confirm")?i("v-uni-view",{staticClass:"btn to-pay",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.confirmOrder(e.id)}}},[t._v("确认收货")]):t._e(),e.btns.includes("cancel")?i("v-uni-view",{staticClass:"btn tn-bg-gray",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.cancelOrder(e.id)}}},[t._v(t._s(1===e.is_pay?"取消订单":"取消支付"))]):t._e(),e.btns.includes("aftersale")?i("v-uni-view",{staticClass:"btn tn-bg-gray",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.applyAfterSale(e.id)}}},[t._v("申请售后")]):t._e()],1)],1)})),i("pay-select-modal",{attrs:{"order-id":t.currentOrderId,"order-type":"takeout"},on:{success:function(e){arguments[0]=e=t.$handleEvent(e),t.successPayEvent.apply(void 0,arguments)},fail:function(e){arguments[0]=e=t.$handleEvent(e),t.failPayEvent.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelPayEvent.apply(void 0,arguments)}},model:{value:t.showPaySelectModal,callback:function(e){t.showPaySelectModal=e},expression:"showPaySelectModal"}})],2)},a=[]},"2b1d":function(t,e,i){"use strict";var n=i("6184"),o=i.n(n);o.a},"2fff":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{},t._l(t.data,(function(e,n){return i("v-uni-view",{key:n,staticClass:"paybill-order-item tn-flex-row-center",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.navPage("/order-page/paybill-order-detail/index?id="+e.id)}}},[i("v-uni-view",{staticClass:"order-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.image,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"order-info tn-border-bottom tn-border-gray--light"},[i("v-uni-view",{staticClass:"top-info tn-flex-center-between"},[i("v-uni-view",{staticClass:"store-title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"order-price"},[t._v(t._s(t.CurrencyUnit)+t._s(e.price))])],1),i("v-uni-view",{staticClass:"bottom-info"},[i("v-uni-view",{staticClass:"add-time tn-color-gray"},[t._v(t._s(e.addtime))]),1==e.is_pay?i("v-uni-view",{staticClass:"pay_order tn-color-green"},[t._v("支付成功")]):t._e(),0==e.is_pay?i("v-uni-view",{staticClass:"pay_order tn-color-red"},[t._v("取消成功")]):t._e()],1)],1)],1)})),1)},o=[]},"31d9":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.submitAndPayApi=e.orderDetailPayApi=e.listApi=e.goPayApi=e.getRechargeOrderListApi=e.getPaymentListApi=e.getOperatorListApi=e.getCountryListApi=void 0;var o=n(i("7653"));e.getCountryListApi=function(t){return o.default.post("api/user.product.PhoneRecharge/getCountryList",t)};e.getOperatorListApi=function(t){return o.default.post("api/user.product.PhoneRecharge/getOperatorList",t)};e.listApi=function(t){return o.default.post("api/user.product.PhoneRecharge/list",t)};e.getRechargeOrderListApi=function(t){return o.default.post("api/user.order.phoneRecharge/list",t)};e.getPaymentListApi=function(t){return o.default.post("api/user.dict.pay/list",t)};e.goPayApi=function(t){return o.default.post("api/user.order.PhoneRecharge/goPay",t)};e.submitAndPayApi=function(t){return o.default.post("api/user.order.PhoneRecharge/submitAndPay",t)};e.orderDetailPayApi=function(t){return o.default.post("api/user.order.phoneRecharge/detail",t)}},"36ca":function(t,e,i){"use strict";var n=i("e4f6"),o=i.n(n);o.a},"3ba5":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/* 订单列表item start */.order-item[data-v-5ce3323e]{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-5ce3323e]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-5ce3323e]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-5ce3323e]{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-5ce3323e]{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-5ce3323e]{flex:1;margin-left:%?20?%}.order-item .top-info .top-right .top-right-line[data-v-5ce3323e]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-5ce3323e]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-5ce3323e]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-5ce3323e]{font-size:%?34?%;padding-left:%?40?%;color:#ffca28}.order-item .top-info .top-right .order-type[data-v-5ce3323e]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-5ce3323e]{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-5ce3323e]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-5ce3323e]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%}.order-item .product-list .single-product .product-info[data-v-5ce3323e]{width:calc(100% - %?140?%);padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-5ce3323e]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-5ce3323e]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-5ce3323e]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-5ce3323e]{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-5ce3323e]{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-5ce3323e]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-5ce3323e]{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-5ce3323e]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-5ce3323e]{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-5ce3323e]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-5ce3323e]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-5ce3323e]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-5ce3323e]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-5ce3323e]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-5ce3323e]{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-5ce3323e]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-5ce3323e]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-5ce3323e]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-5ce3323e]{width:100%}.expansion .expansion_box .line4[data-v-5ce3323e]{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-5ce3323e]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-5ce3323e]{width:%?60?%;height:%?60?%}',""]),t.exports=e},"3cf2":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 o=n(i("dc1f")),a=n(i("dae0")),r=n(i("44ca")),s=n(i("34cae")),d=i("419c"),c=(n(i("8c27")),i("d240")),l=(i("262c"),i("e0a2")),u=i("e0a2"),f={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:s.default},mixins:[o.default,a.default,r.default],data:function(){return{icon:[u.staticUrl+"api/images/20250618/images_1750217730.png"],currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},created:function(){console.log("data",this.data)},methods:{goto:function(t){(0,d.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,d.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&n?(0,d.navPage)("".concat(n)):(0,d.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){"phone_recharge"==t.order_type?(0,d.navPage)("/prepaidRecharge/order/detail?order_sn=".concat(t.order_sn)):"phone_sim_card"==t.order_type?(0,d.navPage)("/SIM/order/detail?order_sn=".concat(t.order_sn)):(0,d.navPage)("/tngRecharge/order/detail?order_sn=".concat(t.order_sn))},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,c.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 o=l.LOCK_WEBSOCKET_URL;uni.connectSocket({url:o}),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,o){var a=this;if(1!=o)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,d.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,c.cancelOrderApi)({id:t}).then((function(){a.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=f},"3d39":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/* 订单列表item start */.order-item[data-v-2a821cc6]{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-2a821cc6]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-2a821cc6]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-2a821cc6]{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-2a821cc6]{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-2a821cc6]{flex:1;margin-left:%?20?%}.order-item .top-info .top-right .top-right-line[data-v-2a821cc6]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-2a821cc6]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-2a821cc6]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-2a821cc6]{font-size:%?34?%;padding-left:%?40?%}.order-item .top-info .top-right .order-type[data-v-2a821cc6]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-2a821cc6]{position:relative;margin-top:%?20?%;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-2a821cc6]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-2a821cc6]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-2a821cc6]{width:calc(100% - %?140?%);padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-2a821cc6]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-2a821cc6]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-2a821cc6]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-2a821cc6]{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-2a821cc6]{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-2a821cc6]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-2a821cc6]{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-2a821cc6]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-2a821cc6]{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-2a821cc6]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-2a821cc6]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-2a821cc6]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-2a821cc6]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-2a821cc6]{margin-left:%?16?%}\n/* 订单列表item end */',""]),t.exports=e},"492c":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 o=n(i("dc1f")),a=n(i("dae0")),r=n(i("44ca")),s=n(i("34cae")),d=i("419c"),c=(n(i("8c27")),i("d240")),l=(i("262c"),i("e0a2")),u=i("e0a2"),f={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:s.default},mixins:[o.default,a.default,r.default],data:function(){return{icon:[u.staticUrl+"api/images/20250618/images_1750217730.png"],currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},created:function(){console.log("洗猫123")},methods:{goto:function(t){(0,d.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,d.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&n?(0,d.navPage)("".concat(n)):(0,d.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,d.navPage)("/order-page/washpet-order-detail/index?order_sn=".concat(t.order_sn))},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,c.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 o=l.LOCK_WEBSOCKET_URL;uni.connectSocket({url:o}),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,o){var a=this;if(1!=o)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,d.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,c.cancelOrderApi)({id:t}).then((function(){a.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=f},"4b04":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("bb7c")),a=n(i("75bf")),r=n(i("dc1f")),s=n(i("34cae")),d=i("419c"),c={props:{data:{type:Array,default:function(){return[]}}},mixins:[r.default,o.default,a.default],components:{PaySelectModal:s.default},data:function(){return{showSelectPayWayModal:!1,orderId:""}},methods:{payOrder:function(t){this.orderId=t,this.showSelectPayWayModal=!0},successPayEvent:function(){this._navOrderDetailPage()},failPayEvent:function(){this._navOrderDetailPage()},cancelPayEvent:function(){this._navOrderDetailPage()},_navOrderDetailPage:function(){this.orderId="",this.showSelectPayWayModal=!1,(0,d.navPage)("/order-page/errander-order-detail/index?id=".concat(this.orderId))},cancelOrderCallback:function(){this.$emit("refresh-data")},navPage:d.navPage}};e.default=c},"4c8e":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},o=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)}}},[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",{staticClass:"store-title tn-text-ellipsis-1"}),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text||""))])],1)],1)],1),i("v-uni-view",{staticClass:"product-list"},[i("v-uni-view",{staticClass:"single-product tn-flex-row-center"},[i("v-uni-view",{staticClass:"product-image"},[e.product_img?i("v-uni-image",{staticClass:"image",attrs:{src:e.product_img,mode:"aspectFill"}}):t._e()],1),i("v-uni-view",{staticClass:"product-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-2"},[t._v(t._s(e.product_name))]),e.product_attrs?i("v-uni-view",{staticClass:"ft12 ftw500",staticStyle:{"margin-top":"16rpx",color:"#A4A4A4"}},[i("v-uni-text",[t._v(t._s(e.product_attrs.type))]),e.product_attrs.area?i("v-uni-text",[t._v(t._s("/"+e.product_attrs.area))]):t._e(),e.product_attrs.people?i("v-uni-text",[t._v(t._s("/"+e.product_attrs.people))]):t._e()],1):t._e()],1)],1),i("v-uni-view",{staticClass:"order-price-count-info"},[e.order_amount?i("v-uni-view",{staticClass:"order-price"},[i("v-uni-view",{staticClass:"unit"},[t._v(t._s(e.order_amount.unit))]),i("v-uni-view",{staticClass:"value ft18 ftw800"},[t._v(t._s(e.order_amount.value))])],1):t._e()],1)],1),i("v-uni-view",{staticClass:"line"}),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width flex column",staticStyle:{"margin-bottom":"36rpx"}},[i("v-uni-view",{staticClass:"create-time flex space ft500"},[i("v-uni-text",[t._v("订单编号")]),i("v-uni-text",{staticStyle:{color:"black"}},[t._v(t._s(e.order_sn))])],1),i("v-uni-view",{staticClass:"create-time mt10 flex space ft500"},[i("v-uni-text",[t._v("下单时间")]),i("v-uni-text",{staticStyle:{color:"black"}},[t._v(t._s(e.create_time))])],1)],1),30!==e.order_status||1!=e.is_evaluate?i("v-uni-view",{staticClass:"operation-btn tn-flex-center-end"},[i("v-uni-view",{staticClass:"btn to-pay theme-operation-btn ftw600 ft14",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goto(e)}}},[i("v-uni-text",{staticStyle:{"margin-top":"2rpx"}},[t._v(t._s(30===e.order_status?"评价":10===e.order_status?"去支付":"加时"))])],1)],1):t._e()],1)}))],2)},a=[]},"52c1":function(t,e,i){"use strict";i.r(e);var n=i("7d2c"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"570f":function(t,e,i){"use strict";var n=i("c4dc"),o=i.n(n);o.a},"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 o=n(i("7653"));e.getVehicle=function(t){return o.default.post("api/user.airportTransfer.query/vehicle",t)};e.transferList=function(t){return o.default.post("api/user.traveler/transferList",t)};e.transferEdit=function(t){return o.default.post("api/user.traveler/transferEdit",t)};e.dict=function(t){return o.default.post("api/user.airportTransfer.order/dict",t)};e.submitAndPay=function(t){return o.default.post("api/user.airportTransfer.order/submitAndPay",t)};e.getFlight=function(t){return o.default.post("api/user.airportTransfer.query/flight",t)};e.getDetail=function(t){return o.default.post("api/user.airportTransfer.order/detail",t)};e.getAirportPickupListApi=function(t){return o.default.post("api/user.airportTransfer.order/list",t)};e.airportList=function(t){return o.default.post("api/user.airportTransfer.query/airportList",t)}},"5c9a":function(t,e,i){"use strict";i.r(e);var n=i("fc7f"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},6184:function(t,e,i){var n=i("e708");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("406ec720",n,!0,{sourceMap:!1,shadowMode:!1})},6269: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 o=n(i("dc1f")),a=n(i("dae0")),r=n(i("44ca")),s=n(i("34cae")),d=i("419c"),c=(n(i("8c27")),i("d240")),l=(i("262c"),i("e0a2")),u=i("815c"),f={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:s.default},mixins:[o.default,a.default,r.default],data:function(){return{currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},created:function(){console.log("data",this.data)},methods:{call:function(t){(0,u.callPhone)(t)},contact:function(t){uni.navigateTo({url:"/system-page/webview/webview?url=".concat(encodeURIComponent(t.vehicle.driver_contact_url))})},goto:function(t){(0,d.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,d.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&n?(0,d.navPage)("".concat(n)):(0,d.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,d.navPage)("/order-page/airportTransfer-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,c.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 o=l.LOCK_WEBSOCKET_URL;uni.connectSocket({url:o}),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,o){var a=this;if(1!=o)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,d.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,c.cancelOrderApi)({id:t}).then((function(){a.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=f},"636d":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("dc1f")),a=n(i("dae0")),r=n(i("44ca")),s=n(i("34cae")),d=i("b780"),c=i("419c"),l={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:s.default},mixins:[o.default,a.default,r.default],data:function(){return{currentOrderId:0,showPaySelectModal:!1}},methods:{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){(0,c.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,c.navPage)("/order-page/express-order-detail/index?id=".concat(t,"&from=list"))},cancelOrder:function(t){var e=this;uni.showModal({title:"提示",content:"确定取消订单吗?",showCancel:!0,cancelText:"取消",confirmText:"确定",success:function(i){i.confirm&&(0,d.cancelOrderApi)(t).then((function(){e.$emit("cancel-order-callback")}))}})},confirmOrder:function(t){var e=this;uni.showModal({title:"提示",content:"确定收货吗?",showCancel:!0,cancelText:"取消",confirmText:"确定",success:function(i){i.confirm&&(0,d.confirmOrderApi)(t).then((function(){e.$emit("confirm-order-callback")}))}})},commentOrder:function(t){var e=this;uni.showModal({title:"提示",content:"确定完成订单吗?",showCancel:!0,cancelText:"取消",confirmText:"确定",success:function(i){i.confirm&&(0,d.commentOrderApi)({id:t}).then((function(){e.$emit("comment-order-callback")}))}})},applyAfterSale:function(t){var e=this;console.log(this.data,"s"),uni.showModal({title:"提示",content:"确定申请售后吗?",showCancel:!0,cancelText:"取消",confirmText:"确定",success:function(i){i.confirm&&(0,d.applyAfterSaleApi)({id:t}).then((function(){e.$emit("apply-after-sale-callback")}))}})},cancelOrderCallback:function(){this.$emit("refresh-data")}}};e.default=l},"65ad":function(t,e,i){"use strict";i.r(e);var n=i("6b0d"),o=i("9ed7");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("a597");var r=i("828b"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"5ce3323e",null,!1,n["a"],void 0);e["default"]=s.exports},6638: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 o=n(i("dc1f")),a=n(i("dae0")),r=n(i("44ca")),s=n(i("34cae")),d=i("419c"),c=(n(i("8c27")),i("d240")),l=i("e0a2"),u={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:s.default},mixins:[o.default,a.default,r.default],data:function(){return{currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},methods:{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){(0,d.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,d.navPage)("/supermall-page/orderDetail/orderDetail?id=".concat(t,"&from=list"))},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,c.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 o=l.LOCK_WEBSOCKET_URL;uni.connectSocket({url:o}),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,o){var a=this;if(1!=o)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,d.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,c.cancelOrderApi)({id:t}).then((function(){a.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=u},6706:function(t,e,i){"use strict";i.r(e);var n=i("4c8e"),o=i("52c1");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("36ca");var r=i("828b"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"576ce807",null,!1,n["a"],void 0);e["default"]=s.exports},"683f":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-e05eaf68]{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-e05eaf68]{position:relative;width:100%\n /* 自定义顶部导航 start */\n /* 自定义顶部导航 end */}.order-page__wrapper[data-v-e05eaf68]{position:relative;width:100%;padding:%?30?%}.order-page .navbar[data-v-e05eaf68]{position:fixed;left:0;top:0;width:100%;background-color:#fff;z-index:19999\n /* 标题 start */\n /* 标题 end */}.order-page .navbar__title[data-v-e05eaf68]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);line-height:1;font-size:%?32?%;font-weight:500}\n/* 订单类型选择 start */.order-type-select[data-v-e05eaf68]{position:fixed;left:0;width:100%;background-color:#fff;z-index:9999}\n/* 订单类型选择 end */\n/* 刷新按钮 start */.refresh-btn[data-v-e05eaf68]{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-e05eaf68]{flex-wrap:wrap;justify-content:space-between;align-items:center}.sift-item .seleMod[data-v-e05eaf68]{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-e05eaf68]{width:%?30?%;height:%?30?%;margin-right:%?8?%}.sift-item .seleMod .txt[data-v-e05eaf68]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;width:100%;align-items:center;justify-content:center}',""]),t.exports=e},6878: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/* 订单列表item start */.order-item[data-v-d1f05830]{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-d1f05830]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-d1f05830]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-d1f05830]{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-d1f05830]{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-d1f05830]{flex:1;margin-left:%?20?%}.order-item .top-info .top-right .top-right-line[data-v-d1f05830]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-d1f05830]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-d1f05830]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-d1f05830]{font-size:%?34?%;padding-left:%?40?%;color:#ffca28}.order-item .top-info .top-right .order-type[data-v-d1f05830]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-d1f05830]{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-d1f05830]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-d1f05830]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%}.order-item .product-list .single-product .product-info[data-v-d1f05830]{width:calc(100% - %?140?%);padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-d1f05830]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-d1f05830]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-d1f05830]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-d1f05830]{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-d1f05830]{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-d1f05830]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-d1f05830]{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-d1f05830]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-d1f05830]{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-d1f05830]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-d1f05830]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-d1f05830]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-d1f05830]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-d1f05830]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-d1f05830]{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-d1f05830]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-d1f05830]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-d1f05830]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-d1f05830]{width:100%}.expansion .expansion_box .line4[data-v-d1f05830]{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-d1f05830]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-d1f05830]{width:%?60?%;height:%?60?%}',""]),t.exports=e},"6ad8":function(t,e,i){"use strict";i.r(e);var n=i("0656"),o=i("e0b8");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("13d7");var r=i("828b"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"ff7652ae",null,!1,n["a"],void 0);e["default"]=s.exports},"6b0d":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},o=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)}}},[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",{staticClass:"store-title tn-text-ellipsis-1"},[t._v("洗猫")]),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text||""))])],1)],1)],1),i("v-uni-view",{staticClass:"product-list"},[i("v-uni-view",{staticClass:"single-product tn-flex-row-center"},[i("v-uni-view",{staticClass:"product-image"},[e.product?i("v-uni-image",{staticClass:"image",attrs:{src:e.product.product_img,mode:"aspectFill"}}):t._e()],1),i("v-uni-view",{staticClass:"product-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-2"},[t._v(t._s(e.product_name))])],1)],1),i("v-uni-view",{staticClass:"order-price-count-info"},[e.order_amount?i("v-uni-view",{staticClass:"order-price"},[i("v-uni-view",{staticClass:"unit tn-color-gray--dark"},[t._v(t._s(e.order_amount.unit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.order_amount.value))])],1):t._e()],1)],1),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width tn-flex-center-between"},[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间: "+t._s(e.create_time))])],1)],1)}))],2)},a=[]},"6b85":function(t,e,i){"use strict";var n=i("fbef"),o=i.n(n);o.a},"6c5f":function(t,e,i){"use strict";i.r(e);var n=i("f309"),o=i("c5b2");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("2b1d");var r=i("828b"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"335caa14",null,!1,n["a"],void 0);e["default"]=s.exports},"6ce1":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/* 订单列表item start */.order-item[data-v-37d5382c]{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-37d5382c]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-37d5382c]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-37d5382c]{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-37d5382c]{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-37d5382c]{flex:1}.order-item .top-info .top-right .top-right-line[data-v-37d5382c]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-37d5382c]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-37d5382c]{flex:1;font-size:%?24?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-37d5382c]{font-size:%?34?%;padding-left:%?40?%}.order-item .top-info .top-right .order-type[data-v-37d5382c]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-37d5382c]{position:relative;margin-top:%?20?%;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-37d5382c]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-37d5382c]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-37d5382c]{width:calc(100% - %?140?%);padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-37d5382c]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-37d5382c]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-37d5382c]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-37d5382c]{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-37d5382c]{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-37d5382c]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-37d5382c]{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-37d5382c]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-37d5382c]{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-37d5382c]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-37d5382c]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-37d5382c]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-37d5382c]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-37d5382c]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-37d5382c]{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-37d5382c]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-37d5382c]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-37d5382c]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-37d5382c]{width:100%}.expansion .expansion_box .line4[data-v-37d5382c]{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-37d5382c]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-37d5382c]{width:%?60?%;height:%?60?%}',""]),t.exports=e},"75bf":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("9d0a"),o=i("af51"),a={methods:{cancelOrder:function(t,e){(0,n.showModal)({title:"提示",content:"确认需要取消订单吗?",showCancel:!0,callback:function(i){i&&(0,o.cancelErranderOrderApi)(t).then((function(t){e&&e()})).catch((function(t){console.error("[order-cancel]取消订单失败",t),(0,n.showToast)({title:"取消订单失败, 请重试"})}))}})},confitmErranderOrder:function(t,e){(0,n.showModal)({title:"提示",content:"确认需要完成订单吗?",showCancel:!0,callback:function(i){i&&(0,o.confirmErranderOrderApi)(t).then((function(t){e&&e()})).catch((function(t){(0,n.showToast)({title:"确认订单失败, 请重试"})}))}})}}};e.default=a},"765a":function(t,e,i){"use strict";i.r(e);var n=i("6269"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"78d6":function(t,e,i){"use strict";var n=i("21a3"),o=i.n(n);o.a},"7a07":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 */.paybill-order-item[data-v-9283d900]{position:relative;width:100%}.paybill-order-item .order-image[data-v-9283d900]{width:%?100?%;height:%?100?%;border-radius:50%}.paybill-order-item .order-info[data-v-9283d900]{flex:1;padding:%?30?%}.paybill-order-item .order-info .store-title[data-v-9283d900]{font-size:%?32?%}.paybill-order-item .order-info .order-price[data-v-9283d900]{font-size:%?32?%;font-weight:700}.paybill-order-item .order-info .bottom-info[data-v-9283d900]{margin-top:%?10?%}.paybill-order-item .order-info .bottom-info .pay_order[data-v-9283d900]{float:right;margin-top:%?10?%}',""]),t.exports=e},"7a95":function(t,e,i){"use strict";var n=i("df4a"),o=i.n(n);o.a},"7b0a":function(t,e,i){"use strict";i.r(e);var n=i("6638"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"7d1e":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default,tnTabs:i("37fc").default,tnPopup:i("1fbf").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("custom-page",{attrs:{"custom-navbar":!0,"navbar-title":"我的订单",leftSlot:!0}},[t.loadingShow?i("loading"):t._e(),t.this_filter_field.length>0?i("v-uni-view",{staticClass:"order-type-select tn-shadow",style:[{top:t.navBarInfo.height+"px"}]},[i("tn-tabs",{attrs:{showBar:!1,list:t.orderTypes,current:t.currentSelectOrderTypeIndex,"active-color":t.themeBgColor},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.orderTypeChangeEvent.apply(void 0,arguments)}}})],1):t._e(),i("v-uni-view",{staticClass:"order-page__wrapper component-page-padding-bottom",staticStyle:{padding:"55px 15px 15px 15px"}},[t.orderData.length>0?[13===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("HousewiferyList",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),12===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("CatList",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),1===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("takeout-order-list",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),2===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("errander-order-list",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),9===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("visa-order-list",{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("AirportPickupList",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),11===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("ChargeOrderList",{attrs:{data:t.orderData},on:{"refresh-data":function(e){arguments[0]=e=t.$handleEvent(e),t.handleRefreshDataEvent.apply(void 0,arguments)}}}):t._e(),3===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("paybill-order-list",{attrs:{data:t.orderData}}):t._e(),4===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("mall-order-list",{attrs:{data:t.orderData}}):t._e(),5===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("mover-order-list",{attrs:{MoverOrderData:t.orderData}}):t._e(),7===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("creditshop-order-list",{attrs:{data:t.orderData}}):t._e()]:t._e(),t.isLoadAll&&0===t.orderData.length&&6!=t.orderTypes[t.currentSelectOrderTypeIndex].id?[i("empty",{attrs:{icon:"empty-data",tips:"订单为空"}})]:t._e(),6===t.orderTypes[t.currentSelectOrderTypeIndex].id?i("BuffetOrder",{ref:"buffetOrderRef"}):t._e()],2),i("v-uni-view",{staticClass:"refresh-btn tn-shadow tn-flex-center",style:[t.themeBtnStyle],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),i("tn-popup",{attrs:{mode:"bottom",height:"45%",borderRadius:30},model:{value:t.showSift,callback:function(e){t.showSift=e},expression:"showSift"}},[i("v-uni-view",{staticClass:"tn-padding"},[i("v-uni-text",{staticClass:"tn-text-bold tn-text-lg"},[t._v("筛选订单类型")]),i("v-uni-view",{staticClass:"tn-flex tn-margin-top sift-item"},[t._l(t.siftList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"tn-text-center seleMod",class:n==t.currentSelectOrderTypeIndex?"tn-color-red tn-border-red tn-bg-red--light":"",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clickSift(n)}}},[i("v-uni-view",{staticClass:"tn-padding-sm txt"},[e.icon?i("v-uni-image",{staticClass:"icon",attrs:{src:e.icon,mode:"widthFix"}}):t._e(),i("span",[t._v(t._s(e.name))])],1)],1)})),i("v-uni-view",{staticStyle:{width:"32%"}})],2)],1)],1)],1)},a=[]},"7d2c":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223");var o=n(i("dc1f")),a=n(i("dae0")),r=n(i("44ca")),s=n(i("34cae")),d=i("419c"),c=(n(i("8c27")),i("d240")),l=(i("262c"),i("e0a2"),i("e0a2")),u={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:s.default},mixins:[o.default,a.default,r.default],data:function(){return{icon:[l.staticUrl+"api/images/20250618/images_1750217730.png"],currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},methods:{goto:function(t){30===t.order_status?(0,d.navPage)("/housewifery/evaluate?order_sn=".concat(t.order_sn,"&img=").concat(t.product_img,"&name=").concat(t.product_name)):10===t.order_status?(0,d.navPage)("/order-page/household-order-detail/index?order_sn=".concat(t.order_sn,"&type=pay")):(0,d.navPage)("/order-page/household-order-detail/index?order_sn=".concat(t.order_sn,"&type=addTime"))},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},navOrderDetail:function(t){(0,d.navPage)("/order-page/household-order-detail/index?order_sn=".concat(t.order_sn))},cancelOrderCallback:function(){this.$emit("refresh-data")},cancelOrder:function(t,e,i,n,o){var a=this;if(1!=o)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,d.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,c.cancelOrderApi)({id:t}).then((function(){a.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=u},"82f4":function(t,e,i){var n=i("6878");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("c347cb5a",n,!0,{sourceMap:!1,shadowMode:!1})},8343:function(t,e,i){var n=i("7a07");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("5954b664",n,!0,{sourceMap:!1,shadowMode:!1})},"8f46":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/* 订单列表item start */.order-item[data-v-17258f55]{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-17258f55]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-17258f55]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-17258f55]{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-17258f55]{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-17258f55]{flex:1;margin-left:%?20?%}.order-item .top-info .top-right .top-right-line[data-v-17258f55]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-17258f55]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-17258f55]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-17258f55]{font-size:%?34?%;padding-left:%?40?%;color:#ffca28}.order-item .top-info .top-right .order-type[data-v-17258f55]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-17258f55]{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-17258f55]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-17258f55]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-17258f55]{width:100%;padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-17258f55]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-17258f55]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-17258f55]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-17258f55]{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-17258f55]{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-17258f55]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-17258f55]{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-17258f55]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-17258f55]{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-17258f55]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-17258f55]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-17258f55]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-17258f55]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-17258f55]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-17258f55]{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-17258f55]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-17258f55]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-17258f55]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-17258f55]{width:100%}.expansion .expansion_box .line4[data-v-17258f55]{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-17258f55]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-17258f55]{width:%?60?%;height:%?60?%}',""]),t.exports=e},"92c3":function(t,e,i){var n=i("3ba5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("76f3f74d",n,!0,{sourceMap:!1,shadowMode:!1})},"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 o=n(i("b128")),a=n(i("7653"));e.getMovieOnInfoList=function(t){var e=t.ci;return a.default.get("api/user.mahua.mahua_movie/getMovieOnInfoList",{ci:e})};e.getComingList=function(t){return(0,o.default)(t),a.default.get("api/user.mahua.mahua_movie/getComingList",{})};e.getCinemaList=function(t){return a.default.post("api/user.mahua.mahua_movie/getCinemaList",t)};e.getMovieDetail=function(t){return a.default.get("api/user.mahua.mahua_movie/getMovieDetail",t)};e.getMovieShowDate=function(t){return a.default.get("api/user.mahua.mahua_movie/getMovieShowDate",t)};e.getRegion=function(t){return a.default.get("api/user.mahua.mahua_movie/getRegion",t)};e.getCity1=function(t){return a.default.get("api/user.mahua.mahua_movie/getCity",t)};e.getSeats=function(t){return a.default.get("api/user.mahua.mahua_movie/getSeats",t)};e.regeoDetail=function(t){return a.default.get("api/map/regeoDetail",t)};e.getSchedule=function(t){return a.default.get("api/user.mahua.mahua_movie/getSchedule",t)};e.createOrder=function(t){return a.default.post("api/user.mahua.mahua_movie_order/createOrder",t)};e.getIncrease=function(t){return a.default.get("api/user.mahua.mahua_movie/getIncrease",t)};e.getScheduleDetailByList=function(t){return a.default.post("api/user.mahua.mahua_movie/getScheduleDetailByList",t)};e.getMoverOrderList=function(t){return a.default.get("api/user.mahua.mahua_movie_order/list",t)};e.getMoverInfo=function(t){return a.default.get("api/user.mahua.mahua_movie_order/detail",t)};e.getCityByLocationApi=function(t){return a.default.get("api/map/getCityByLocation",t)}},"961e":function(t,e,i){"use strict";i.r(e);var n=i("636d"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"9ed7":function(t,e,i){"use strict";i.r(e);var n=i("492c"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},a098:function(t,e,i){"use strict";var n=i("8343"),o=i.n(n);o.a},a0dc:function(t,e,i){"use strict";i.r(e);var n=i("d1cb"),o=i("1db3");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("df3d");var r=i("828b"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"d1f05830",null,!1,n["a"],void 0);e["default"]=s.exports},a2d0:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"theme-takeaway-order"},[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.id)}}},[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",{staticClass:"store-title tn-text-ellipsis-1"},[t._v("订单号:"+t._s(e.order_sn))]),i("v-uni-view",{staticClass:"order-status",class:[t.creditshopOrderStatus(e.status,e.is_pay)]},[t._v(t._s(0===e.is_pay?"待支付":e.status_cn))])],1)],1)],1),i("v-uni-view",{staticClass:"product-list"},[i("v-uni-view",{staticClass:"single-product tn-flex-row-center"},[i("v-uni-view",{staticClass:"product-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:e.good_thumb,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"product-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-2"},[t._v(t._s(e.goods_name))])],1)],1),i("v-uni-view",{staticClass:"order-price-count-info"},[i("v-uni-view",{staticClass:"order-price"},[i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.use_credit1>0?e.use_credit1+"积分":"")+t._s(e.use_credit2>0?"+":"")+t._s(e.use_credit2>0?e.use_credit2+"元":""))])],1)],1)],1),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width tn-flex-center-between"},[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间: "+t._s(e.addtime_cn))])],1)],1)}))],2)},a=[]},a531:function(t,e,i){"use strict";i.r(e);var n=i("2b1b"),o=i("961e");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("af40");var r=i("828b"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"2a821cc6",null,!1,n["a"],void 0);e["default"]=s.exports},a597:function(t,e,i){"use strict";var n=i("92c3"),o=i.n(n);o.a},a9e5:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.submitAndPay=e.projectList=e.getSPDetail=e.getPayType=e.getCatOrderListApi=e.getCatOrderDetailApi=e.cancelCatOrderApi=void 0;var o=n(i("7653"));e.getSPDetail=function(t){return o.default.post("api/user.product.washPet/detail",t)};e.getPayType=function(t){return o.default.post("api/user.dict.pay/list",t)};e.submitAndPay=function(t){return o.default.post("api/user.order.washPet/submitAndPay",t)};e.projectList=function(t){return o.default.post("api/user.product.washPet/list",t)};e.getCatOrderListApi=function(t){return o.default.post("api/user.order.washPet/list",t)};e.getCatOrderDetailApi=function(t){return o.default.post("api/user.order.washPet/detail",t)};e.cancelCatOrderApi=function(t){return o.default.post("api/user.order.washPet/cancel",t)}},ab6e:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("419c"),o={props:{data:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{navPage:n.navPage}};e.default=o},af40:function(t,e,i){"use strict";var n=i("d562"),o=i.n(n);o.a},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")},bb7c:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{}},filters:{orderStatusValue:function(t,e){switch(t){case 1:return 1===e?"待接单":"待付款";case 2:return"进行中";case 3:return"已完成";case 4: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="blue";break;case 3:i="green--dark";break;case 4:i="gray";break}return"tn-color-".concat(i)}}}}},c022:function(t,e,i){"use strict";i.r(e);var n=i("a2d0"),o=i("7b0a");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("6b85");var r=i("828b"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"37d5382c",null,!1,n["a"],void 0);e["default"]=s.exports},c04a:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("aa9c");var n={name:"orderList",data:function(){return{dataList:[],page:1}},props:{MoverOrderData:{type:Array,default:[]}},created:function(){var t=this;this.MoverOrderData.map((function(e,i){e.is_pay&&t.dataList.push(e)}))},onReachBottom:function(){},mounted:function(){},methods:{dataUrl:function(t){var e=this;this.$u.get("user/get_order",{type:"movie",page:"",limit:""}).then((function(t){"000000"==t.rtnCode?e.dataList=t.rtnData:e.toast(t.rtnMsg)}))}}};e.default=n},c089:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},o=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",{staticClass:"store-title tn-text-ellipsis-1"},[t._v("吉隆坡-"+t._s(1==e.order_type?"接机":"送机"))]),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text))])],1)],1)],1),i("v-uni-view",{staticClass:"product-list"},[i("v-uni-view",{staticClass:"single-product"},[i("v-uni-view",{staticClass:"product-info mb4"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-1"},[t._v(t._s(e.choose_datetime+" "+e.vehicle.type_name))])],1),i("v-uni-view",{staticClass:"product-info mb4"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-1"},[t._v("上车:"+t._s(1==e.order_type?e.airport_name:e.address.address))])],1),i("v-uni-view",{staticClass:"product-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-1"},[t._v("下车:"+t._s(1==e.order_type?e.address.address:e.airport_name))])],1)],1),i("v-uni-view",{staticClass:"order-price-count-info"},[i("v-uni-view",{staticClass:"order-price"},[i("v-uni-view",{staticClass:"unit tn-color-gray--dark"},[t._v(t._s(t.CurrencyUnit))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.order_amount))])],1)],1)],1),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width tn-flex-center-between"},[i("v-uni-view",{staticClass:"create-time ml10"},[t._v("下单时间: "+t._s(e.create_time))])],1),e.vehicle.driver_contact_url||e.delivery_code?i("v-uni-view",{staticClass:"flex space alcenter operation-btn"},[i("v-uni-view",{staticClass:"ml10"},[i("v-uni-text",{staticStyle:{"font-size":"30rpx"}},[t._v("确认码:")]),i("v-uni-text",{staticClass:"ft20"},[t._v(t._s(e.delivery_code||"-"))])],1),e.vehicle.driver_contact_url?i("v-uni-view",{staticClass:"btn to-pay theme-operation-btn",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.contact(e)}}},[t._v("联系司机")]):t._e()],1):t._e(),i("v-uni-view",{staticClass:"operation-btn tn-flex-center-end"},[20==e.order_status?i("v-uni-view",{staticClass:"btn to-pay theme-operation-btn",style:[t.themeBtnStyle],on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goto(e)}}},[t._v("上传资料")]):t._e()],1)],1)}))],2)},a=[]},c13fc: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 */.line[data-v-576ce807]{height:1px;background:#efeff4;margin:%?5?% 0 %?15?% 0;width:100%}\n/* 订单列表item start */.order-item[data-v-576ce807]{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-576ce807]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-576ce807]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-576ce807]{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-576ce807]{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-576ce807]{flex:1;margin-left:%?20?%}.order-item .top-info .top-right .top-right-line[data-v-576ce807]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-576ce807]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-576ce807]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-576ce807]{font-size:%?34?%;padding-left:%?40?%;color:#ffca28}.order-item .top-info .top-right .order-type[data-v-576ce807]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-576ce807]{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-576ce807]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-576ce807]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%}.order-item .product-list .single-product .product-info[data-v-576ce807]{width:calc(100% - %?140?%);padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-576ce807]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-576ce807]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-576ce807]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-576ce807]{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-576ce807]{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-576ce807]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-576ce807]{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-576ce807]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-576ce807]{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-576ce807]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-576ce807]{font-size:%?28?%;color:#767676}.order-item .operation-btn .btn[data-v-576ce807]{width:%?160?%;height:%?60?%;padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808;text-align:center}.order-item .operation-btn .btn + .btn[data-v-576ce807]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-576ce807]{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-576ce807]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-576ce807]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-576ce807]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-576ce807]{width:100%}.expansion .expansion_box .line4[data-v-576ce807]{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-576ce807]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-576ce807]{width:%?60?%;height:%?60?%}',""]),t.exports=e},c4dc:function(t,e,i){var n=i("8f46");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("522659f4",n,!0,{sourceMap:!1,shadowMode:!1})},c5b2:function(t,e,i){"use strict";i.r(e);var n=i("4b04"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},cb26:function(t,e,i){"use strict";i.r(e);var n=i("c089"),o=i("765a");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("570f");var r=i("828b"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"17258f55",null,!1,n["a"],void 0);e["default"]=s.exports},d1cb:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={loading:i("8c27").default},o=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)}}},[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",{staticClass:"store-title tn-text-ellipsis-1"},[t._v(t._s(e.order_type_text))]),i("v-uni-view",{staticClass:"order-status"},[t._v(t._s(e.order_status_text))])],1)],1)],1),i("v-uni-view",{staticClass:"product-list"},[i("v-uni-view",{staticClass:"single-product tn-flex-row-center"},[i("v-uni-view",{staticClass:"product-image"},[i("v-uni-image",{staticClass:"image",attrs:{src:t.icon[0],mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"product-info"},[i("v-uni-view",{staticClass:"title tn-text-ellipsis-2"},[t._v(t._s(e.product_name))]),e.phoneRecharge&&e.phoneRecharge.card_pin?i("v-uni-view",{staticClass:"create-time mt5"},[t._v("PIN: "+t._s(e.phoneRecharge.card_pin))]):t._e()],1)],1),i("v-uni-view",{staticClass:"order-price-count-info"},[e.pay_amount?i("v-uni-view",{staticClass:"order-price"},[i("v-uni-view",{staticClass:"unit tn-color-gray--dark"},[t._v(t._s(e.pay_amount.currency))]),i("v-uni-view",{staticClass:"value"},[t._v(t._s(e.pay_amount.val))])],1):t._e()],1)],1),e.phoneRecharge&&e.phoneRecharge.card_expired?i("v-uni-view",{staticClass:"create-time mb5"},[t._v("PIN过期时间: "+t._s(e.phoneRecharge.card_expired))]):t._e(),i("v-uni-view",{staticClass:"tn-no-margin-top tn-full-width tn-flex-center-between"},[i("v-uni-view",{staticClass:"create-time"},[t._v("下单时间: "+t._s(e.create_time))])],1)],1)}))],2)},a=[]},d30e: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/* 订单列表item start */.order-item[data-v-4be3688b]{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-4be3688b]:first-child{margin-top:%?0?%}.order-item .top-info[data-v-4be3688b]{width:100%;display:flex}.order-item .top-info .store-avatar[data-v-4be3688b]{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-4be3688b]{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-4be3688b]{flex:1;margin-left:%?20?%}.order-item .top-info .top-right .top-right-line[data-v-4be3688b]{display:flex;align-items:center;justify-content:space-between}.order-item .top-info .top-right .top-right-line + .top-right-line[data-v-4be3688b]{margin-top:%?8?%}.order-item .top-info .top-right .store-title[data-v-4be3688b]{flex:1;font-size:%?32?%;font-weight:500}.order-item .top-info .top-right .order-status[data-v-4be3688b]{font-size:%?34?%;padding-left:%?40?%;color:#ffca28}.order-item .top-info .top-right .order-type[data-v-4be3688b]{border-radius:%?4?%;line-height:1;padding:%?4?% %?12?%}.order-item .product-list[data-v-4be3688b]{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-4be3688b]{position:relative;width:100%;padding-right:%?140?%}.order-item .product-list .single-product .product-image[data-v-4be3688b]{position:relative;width:%?140?%;height:%?140?%;border-radius:%?10?%;border:%?1?% solid #e6e6e6}.order-item .product-list .single-product .product-info[data-v-4be3688b]{width:calc(100% - %?140?%);padding-left:%?20?%;font-size:%?30?%}.order-item .product-list .single-product .product-info .num[data-v-4be3688b]{margin-top:%?8?%}.order-item .product-list .scroll-view[data-v-4be3688b]{padding-right:%?140?%}.order-item .product-list .product-item[data-v-4be3688b]{flex-shrink:0;width:%?160?%}.order-item .product-list .product-item .item-image[data-v-4be3688b]{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-4be3688b]{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-4be3688b]{width:100%;font-size:%?20?%;color:#aaa;margin-top:%?6?%}.order-item .product-list .order-price-count-info[data-v-4be3688b]{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-4be3688b]{font-size:%?24?%}.order-item .product-list .order-price-count-info .order-price[data-v-4be3688b]{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-4be3688b]{font-size:%?24?%;margin-right:%?4?%}.order-item .create-time[data-v-4be3688b]{font-size:%?24?%;color:#aaa}.order-item .operation-btn[data-v-4be3688b]{margin-top:%?26?%}.order-item .operation-btn .btn[data-v-4be3688b]{padding:%?14?% %?20?%;line-height:1;border-radius:%?12?%;background-color:#ffca28;color:#080808}.order-item .operation-btn .btn + .btn[data-v-4be3688b]{margin-left:%?16?%}\n/* 订单列表item end */\n/* 膨胀红包 */.expansion[data-v-4be3688b]{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-4be3688b]{width:%?591?%;background-color:#fff4f8;border-radius:10px;display:flex;flex-direction:column;padding:%?36?% %?45?%}.expansion .expansion_box .expansion_box_title[data-v-4be3688b]{width:100%;text-align:center;font-size:22px;color:#0d0c0c;font-weight:700;margin-bottom:%?15?%}.expansion .expansion_box .expansion_box_img[data-v-4be3688b]{width:100%;text-align:center;font-size:14px;color:#666}.expansion .expansion_box .expansion_box_img img[data-v-4be3688b]{width:100%}.expansion .expansion_box .line4[data-v-4be3688b]{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-4be3688b]{width:100%;display:flex;justify-content:center;align-items:center;margin-top:%?78?%}.expansion .expansion_close img[data-v-4be3688b]{width:%?60?%;height:%?60?%}',""]),t.exports=e},d562:function(t,e,i){var n=i("3d39");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("e9e63e50",n,!0,{sourceMap:!1,shadowMode:!1})},d8b3:function(t,e,i){"use strict";i.r(e);var n=i("7d1e"),o=i("0a28");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("78d6");var r=i("828b"),s=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"e05eaf68",null,!1,n["a"],void 0);e["default"]=s.exports},d9f6:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.submitAndPay=e.listApi=e.goPayApi=e.getHousewiferyOrderdetailApi=e.getHousewiferyListOrderListApi=e.evaluateDictApi=e.evaluateApi=e.appendSubmitPayApi=e.appendSpecListApi=void 0;var o=n(i("7653"));e.listApi=function(t){return o.default.post("api/user.product.household/list",t)};e.submitAndPay=function(t){return o.default.post("api/user.order.household/submitAndPay",t)};e.goPayApi=function(t){return o.default.post("api/user.order.household/goPay",t)};e.getHousewiferyListOrderListApi=function(t){return o.default.post("api/user.order.household/list",t)};e.getHousewiferyOrderdetailApi=function(t){return o.default.post("api/user.order.household/detail",t)};e.appendSubmitPayApi=function(t){return o.default.post("api/user.order.household/appendSubmitPay",t)};e.appendSpecListApi=function(t){return o.default.post("api/user.product.household/appendSpecList",t)};e.evaluateApi=function(t){return o.default.post("api/user.order.household/evaluate",t)};e.evaluateDictApi=function(t){return o.default.post("api/user.order.household/dict",t)}},dd8d: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("c223"),i("fd3c"),i("aa9c"),i("8f71"),i("4626"),i("5ac7"),i("2797"),i("dc8a");var o=n(i("65ad")),a=n(i("6706")),r=n(i("6fbe")),s=n(i("dc1f")),d=n(i("a71b")),c=n(i("718f")),l=n(i("6c5f")),u=n(i("cb26")),f=n(i("166a")),p=n(i("a0dc")),v=n(i("c022")),h=n(i("ebe4")),g=n(i("a531")),m=n(i("6ad8")),_=n(i("21685")),b=i("815c"),w=(i("419c"),n(i("8c27"))),y=(i("419c"),i("9d0a")),x=i("d240"),C=i("5c0b"),S=i("d9f6"),k=i("941e"),O=i("f9ce"),P=i("b780"),T=i("f2e5"),L=i("31d9"),M=i("a9e5"),A={props:{typeIndex:{type:[String,Number],default:""}},components:{HousewiferyList:a.default,CatList:o.default,Empty:d.default,TakeoutOrderList:c.default,ErranderOrderList:l.default,VisaOrderList:f.default,AirportPickupList:u.default,PaybillOrderList:h.default,MallOrderList:g.default,MoverOrderList:m.default,CreditshopOrderList:v.default,loading:w.default,BuffetOrder:_.default,ChargeOrderList:p.default},mixins:[r.default,s.default],data:function(){return{loadings:!1,orderData:[],showSift:!1,siftList:[{id:1,name:"外卖",icon:"https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/order/delivery.png"},{id:2,name:"跑腿",icon:"https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/order/paotui.png"},{id:7,name:"积分商城",icon:"https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/order/shop.png"},{id:3,name:"当面付",icon:"https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/order/face.png"},{id:4,name:"电商/接龙",icon:"https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/order/shop.png"},{id:5,name:"电影票",icon:"https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/order/movie.png"},{id:6,name:"自助餐",icon:"https://qny.wdsp666.com/%E7%A6%8F%E8%A2%8B%E8%83%8C%E6%99%AF%E5%9B%BE/xcx/order/movie.png"}],allOrderDatas:[],orderTypes:[{id:1,name:"外卖"},{id:9,name:"签证"},{id:11,name:"手机充值"},{id:2,name:"跑腿"},{id:10,name:"接送机"},{id:12,name:"洗猫"},{id:13,name:"家政"},{id:7,name:"积分商城"},{id:3,name:"当面付"},{id:4,name:"电商/接龙"},{id:5,name:"电影票"},{id:6,name:"自助餐"}],currentSelectOrderTypeIndex:0,currentPage:1,pageSize:10,isLoadAll:!1,isLogin:!0,loadingShow:!1,this_filter_field:[],status_index:-1}},watch:{typeIndex:{handler:function(t){this.currentSelectOrderTypeIndex=Number(t||0),""!==t&&this.getOrderListData()},immediate:!0}},created:function(){this.getFilter(),this.initCustomNavBarInfo()},onLoad:function(t){console.log("e.index",t.index),t&&t.index?this.typeIndex=t.index:this.typeIndex=0},onReachBottom:function(){console.log("触底=================")},methods:{getCatOrderList:function(){var t=this;this.loadingShow=!0,(0,M.getCatOrderListApi)({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}))),i.length0&&(console.log(this.orderTypes,"this.orderTypes"),this.orderTypes=this.orderTypes.filter((function(t){return e.includes(t.name)})),this.siftList=this.siftList.filter((function(t){return e.includes(t.name)})))},getOrderListData:function(){console.log(this.currentSelectOrderTypeIndex,"this.currentSelectOrderTypeIndex"),console.log(this.orderTypes[this.currentSelectOrderTypeIndex],"this.currentSelectOrderTypeIndex"),1==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getTakeoutOrderData():2==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getErranderOrderData():3==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getPaybillOrderData():4==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getMallOrderData():5==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getMoverList():7==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getCreditshopOrderList():9==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getVisaOrderList():10==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getAirportPickupList():11==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getRechargeOrderList():12==this.orderTypes[this.currentSelectOrderTypeIndex].id?this.getCatOrderList():13==this.orderTypes[this.currentSelectOrderTypeIndex].id&&this.getHousewiferyListOrderList(),uni.stopPullDownRefresh()},getTakeoutOrderData:function(){var t,e,i=this;this.status_index=(null===this||void 0===this||null===(t=this.$route)||void 0===t||null===(e=t.query)||void 0===e?void 0:e.status_index)||-1,this.loadingShow=!0,console.log("this.status_index",this.status_index),(0,x.getTakeoutOrderListApi)({page:this.currentPage,psize:this.pageSize,status_index:this.status_index}).then((function(t){i.isLogin=!0;var e=(null===t||void 0===t?void 0:t.orders)||[];i.orderData=i.orderData.concat(e.map((function(t){var e,i,n,o=[],a=0,r=t.goods.length;t.goods.filter((function(t){return 88888!=t.goods_id})).forEach((function(t){var e=t.options[Object.keys(t.options)[0]];e.num&&(a+=e.num,o.push({title:e.title,image:e.thumb,num:e.num}))}));var s=(null===(e=t.store)||void 0===e?void 0:e.is_rest)||0,d=(null===(i=t.store)||void 0===i?void 0:i.is_in_business)||0;return{id:t.id||t.aid,sid:t.sid,storeInfo:{title:t.title||"",image:t.logo||"",business:0==s||1==d?1:0,custom_links:(null===(n=t.store)||void 0===n?void 0:n.custom_links)||""},isPay:(null===t||void 0===t?void 0:t.is_pay)||0,isComment:(null===t||void 0===t?void 0:t.is_comment)||0,orderType:t.order_type,zitiType:(null===t||void 0===t?void 0:t.ziti_type)||0,orderStatus:t.status,createTime:t.addtime||"",orderPrice:t.total_fee,goodsInfo:o,productCount:r,goodsCount:a,consumer_is_can_applyrefund:t.consumer_is_can_applyrefund,refund_status:t.refund_status,custom_status_text:t.custom_status_text||""}}))),e.length .item[data-v-ff7652ae]{width:%?700?%;padding:%?34?% 0 %?20?%;background:#fff;margin:0 auto %?24?%;border-radius:%?24?%;box-shadow:%?0?% %?0?% %?50?% %?0?% rgba(0,0,0,.07)}.orderList > .item > uni-view[data-v-ff7652ae]{padding:0 %?28?%;display:flex;align-items:center;justify-content:space-between}.orderList > .item > .item_t[data-v-ff7652ae]{margin-bottom:%?30?%}.orderList > .item > .item_t > uni-view[data-v-ff7652ae]:nth-of-type(1){display:flex;align-items:center}.orderList > .item > .item_t > uni-view:nth-of-type(1) > uni-view[data-v-ff7652ae]{max-width:%?460?%;font-size:%?26?%;color:#72777d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:%?18?%}.orderList > .item > .item_t > uni-view:nth-of-type(1) > uni-image[data-v-ff7652ae]{width:%?28?%;height:%?30?%;margin-right:%?8?%}.orderList > .item > .item_t > uni-view[data-v-ff7652ae]:nth-of-type(2){font-size:%?26?%;color:#fe406e}.orderList > .item > .item_t > .ll[data-v-ff7652ae]{color:#26a844!important}.orderList > .item > .item_c[data-v-ff7652ae]{margin:%?18?% 0 %?16?%}.orderList > .item > .item_c > uni-view[data-v-ff7652ae]:nth-of-type(1){display:flex}.orderList > .item > .item_c > uni-view:nth-of-type(1) > uni-image[data-v-ff7652ae]{width:%?124?%;height:%?176?%;margin-right:%?18?%;border-radius:%?12?%}.orderList > .item > .item_c > uni-view:nth-of-type(1) > uni-view[data-v-ff7652ae]{line-height:1}.orderList > .item > .item_c > uni-view:nth-of-type(1) > uni-view > uni-view[data-v-ff7652ae]:nth-of-type(1){width:%?360?%;font-size:%?30?%;color:#272b2a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.orderList > .item > .item_c > uni-view:nth-of-type(1) > uni-view > uni-view[data-v-ff7652ae]:nth-of-type(2){font-size:%?22?%;color:#6f6f6f;margin:%?20?% 0}.orderList > .item > .item_c > uni-view:nth-of-type(1) > uni-view > uni-view:nth-of-type(2) > span[data-v-ff7652ae]{color:#fe406e;margin-left:%?12?%}.orderList > .item > .item_c > uni-view:nth-of-type(1) > uni-view > uni-view[data-v-ff7652ae]:nth-of-type(3){font-size:%?22?%;color:#6f6f6f;margin-bottom:%?18?%}.orderList > .item > .item_c > uni-view:nth-of-type(1) > uni-view > uni-view[data-v-ff7652ae]:nth-of-type(4){font-size:%?22?%;color:#6f6f6f}.orderList > .item > .item_c > uni-view[data-v-ff7652ae]:nth-of-type(2){text-align:right}.orderList > .item > .item_c > uni-view:nth-of-type(2) > uni-view[data-v-ff7652ae]:nth-of-type(1){font-size:%?26?%;color:#fe406e}.orderList > .item > .item_b[data-v-ff7652ae]{margin-top:%?22?%}.orderList > .item > .item_b > uni-view:nth-of-type(1) > uni-view[data-v-ff7652ae]:nth-of-type(1){font-size:%?20?%;color:#737373;margin-bottom:%?10?%}.orderList > .item > .item_b > uni-view:nth-of-type(1) > uni-view[data-v-ff7652ae]:nth-of-type(2){font-size:%?22?%;color:#303030}.orderList > .item > .item_b > uni-view[data-v-ff7652ae]:nth-of-type(2){width:%?160?%;height:%?56?%;line-height:%?56?%;text-align:center;font-size:%?24?%;color:#2f2f2f;border:1px solid #cdcdcd;border-radius:%?29?%}.orderList > .item > .line[data-v-ff7652ae]{width:%?644?%;height:1px;background:#f2f2f2;padding:0!important;margin:0 auto}',""]),t.exports=e},fbef:function(t,e,i){var n=i("6ce1");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("47bb5fcd",n,!0,{sourceMap:!1,shadowMode:!1})},fc7f: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 o=n(i("dc1f")),a=n(i("dae0")),r=n(i("44ca")),s=n(i("34cae")),d=i("419c"),c=(n(i("8c27")),i("d240")),l=(i("262c"),i("e0a2")),u={props:{data:{type:Array,default:function(){return[]}}},components:{PaySelectModal:s.default},mixins:[o.default,a.default,r.default],data:function(){return{currentOrderId:0,showPaySelectModal:!1,loadingShow:!1,qrcode_box_show:!1,order_qrcode:"",open_lock_string:""}},created:function(){console.log("data",this.data)},methods:{goto:function(t){(0,d.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,d.navPage)("/store-page/groupBuyingFood/groupBuyingFood?sid=".concat(t)):2==i&&n?(0,d.navPage)("".concat(n)):(0,d.navPage)("/store-page/product-showcase/template-1?sid=".concat(t))},navOrderDetail:function(t){(0,d.navPage)("/order-page/visa-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,c.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 o=l.LOCK_WEBSOCKET_URL;uni.connectSocket({url:o}),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,o){var a=this;if(1!=o)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,d.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,c.cancelOrderApi)({id:t}).then((function(){a.$emit("refresh-data")}))}});else uni.showToast({title:"退款申请中,请耐心等待",icon:"none",duration:2e3})}}};e.default=u}}]);