(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-goods_logistics-index"],{"0744":function(t,e,r){var o=r("acdb");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=r("4f06").default;n("2dcb4971",o,!0,{sourceMap:!1,shadowMode:!1})},"59c6":function(t,e,r){"use strict";r("7a82");var o=r("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.applyInvoiceApi=function(t,e){return n.default.post("order/receipt/".concat(t),e)},e.cartDel=function(t){return n.default.post("user/cart/delete",t)},e.cartProductAttr=function(t){return n.default.get("store/product/get_attr_value/".concat(t))},e.changeCartNum=function(t,e){return n.default.post("user/cart/change/"+t,e)},e.createOrder=function(t){return n.default.post("v2/order/create",t,{noAuth:!0})},e.develiveryDetail=function(t){return n.default.get("order/delivery/".concat(t))},e.express=function(t){return n.default.post("order/express/"+t)},e.expressList=function(){return n.default.get("common/express")},e.getCallBackUrlApi=function(t){return n.default.get("common/pay_key/"+t,{},{noAuth:!0})},e.getCartCounts=function(){return n.default.get("user/cart/count")},e.getCartList=function(){return n.default.get("user/cart/lst")},e.getCouponsOrderPrice=function(t,e){return n.default.get("coupons/order/"+t,e)},e.getOrderConfirm=function(t){return n.default.post("v2/order/check",t)},e.getOrderDetail=function(t){return n.default.get("order/detail/"+t)},e.getOrderList=function(t){return n.default.get("order/list",t)},e.getPayOrder=function(t){return n.default.get("order/status/"+t)},e.getReceiptOrder=function(t){return n.default.get("user/receipt/order/"+t)},e.groupOrderDetail=function(t){return n.default.get("order/group_order_detail/"+t)},e.groupOrderList=function(t){return n.default.get("order/group_order_list",t,{noAuth:!0})},e.integralOrderPay=function(t,e){return n.default.post("order/points/pay/"+t,e)},e.ordeRefundReason=function(){return n.default.get("order/refund/reason")},e.orderAgain=function(t){return n.default.post("user/cart/again",t)},e.orderComment=function(t,e){return n.default.post("reply/"+t,e)},e.orderConfirm=function(t){return n.default.post("order/check",t)},e.orderCreate=function(t){return n.default.post("order/create",t,{noAuth:!0})},e.orderData=function(){return n.default.get("order/number")},e.orderDel=function(t){return n.default.post("order/del/"+t)},e.orderPay=function(t,e){return n.default.post("order/pay/"+t,e)},e.orderProduct=function(t){return n.default.get("reply/product/"+t)},e.orderRefundVerify=function(t){return n.default.post("order/refund/verify",t)},e.orderTake=function(t){return n.default.post("order/take/"+t)},e.postOrderComputed=function(t,e){return n.default.post("/order/computed/"+t,e)},e.presellOrderPay=function(t,e){return n.default.post("presell/pay/"+t,e)},e.receiptOrder=function(t){return n.default.get("user/receipt/order",t)},e.refundApply=function(t,e){return n.default.post("refund/apply/"+t,e,{noAuth:!0})},e.refundBackGoods=function(t,e){return n.default.post("refund/back_goods/"+t,e,{noAuth:!0})},e.refundBatch=function(t){return n.default.get("refund/batch_product/"+t,{noAuth:!0})},e.refundCancelApi=function(t){return n.default.post("refund/cancel/".concat(t))},e.refundDel=function(t){return n.default.post("refund/del/"+t,{noAuth:!0})},e.refundDetail=function(t){return n.default.get("refund/detail/"+t,{noAuth:!0})},e.refundExpress=function(t){return n.default.get("refund/express/"+t,{noAuth:!0})},e.refundList=function(t){return n.default.get("refund/list",t,{noAuth:!0})},e.refundMessage=function(){return n.default.get("common/refund_message",{noAuth:!0})},e.refundOrderExpress=function(t,e){return n.default.get("server/".concat(t,"/refund/express/").concat(e))},e.refundProduct=function(t,e){return n.default.get("refund/product/"+t,e,{noAuth:!0})},e.unOrderCancel=function(t){return n.default.post("order/cancel/"+t)},e.verifyCode=function(t){return n.default.get("order/verify_code/"+t)},r("99af");var n=o(r("3314"))},6198:function(t,e,r){"use strict";r("7a82");var o=r("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("99af");var n=r("59c6"),i=r("736f"),a=o(r("43a2")),s=r("26cb"),u=r("3255"),d=r("ddb3"),c=o(r("1857")),l={components:{recommend:c.default},data:function(){return{orderId:"",refundId:"",merId:"",product:{},orderInfo:{},expressList:[],hostProduct:[],scroll:!1,page:1,limit:10}},computed:(0,u.configMap)({recommend_switch:0},(0,s.mapGetters)(["isLogin","viewColor"])),onLoad:function(t){if(!t.orderId&&!t.refundId)return this.$util.Tips({title:"缺少订单号"});this.orderId=t.orderId,this.refundId=t.refundId,this.merId=t.merId,this.isLogin?this.getExpress():(0,d.toLogin)()},onReady:function(){this.$nextTick((function(){var t=this,e=new a.default(".copy-data");e.on("success",(function(){t.$util.Tips({title:"复制成功"})}))}))},methods:{copyOrderId:function(){uni.setClipboardData({data:this.orderInfo.delivery_id})},getExpress:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),t.orderId?(0,n.express)(t.orderId).then((function(e){uni.hideLoading();var r=e.data.express||{};t.$set(t,"product",e.data.order.orderProduct[0]||{}),t.$set(t,"orderInfo",e.data.order),t.$set(t,"expressList",r||[]),t.get_host_product()})).catch((function(e){return uni.hideLoading(),t.$util.Tips({title:e})})):(0,n.refundOrderExpress)(t.merId,t.refundId).then((function(e){uni.hideLoading();var r=e.data.express||{};t.$set(t,"product",e.data.refund.refundProduct[0].product||{}),t.$set(t,"orderInfo",e.data.refund),t.$set(t,"expressList",r||[]),t.get_host_product()})).catch((function(e){return uni.hideLoading(),t.$util.Tips({title:e})}))},get_host_product:function(){var t=this;t.scroll||(t.scroll=!0,(0,i.getProductHot)(t.page,t.limit).then((function(e){t.page++,t.scroll=e.data.list.length0?[t._v("+"+t._s(t.product.cart_info.productAttr.price)+"元")]:t._e()],2):r("v-uni-view",[t._v("¥"+t._s(t.product.product_price))])],1)],1),r("v-uni-view",[t._v("x"+t._s(t.product.product_num))])],1)],1):t._e(),r("v-uni-view",{staticClass:"logisticsCon"},[r("v-uni-view",{staticClass:"company acea-row row-between-wrapper"},[r("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[r("v-uni-view",{staticClass:"iconfont icon-wuliu"}),r("v-uni-view",{staticClass:"text"},[r("v-uni-view",[r("v-uni-text",{staticClass:"name line1"},[t._v("物流公司:")]),t._v(t._s(t.orderInfo.delivery_name?t.orderInfo.delivery_name:""))],1),r("v-uni-view",{staticClass:"express line1"},[r("v-uni-text",{staticClass:"name"},[t._v("快递单号:")]),t._v(t._s(t.orderInfo.delivery_id?t.orderInfo.delivery_id:""))],1)],1)],1),r("v-uni-view",{staticClass:"copy copy-data",attrs:{"data-clipboard-text":t.orderInfo.delivery_id}},[t._v("复制单号")])],1),t._l(t.expressList,(function(e,o){return t.expressList.length>0?r("v-uni-view",{key:o,staticClass:"item"},[r("v-uni-view",{staticClass:"circular",class:0===o?"on":""}),r("v-uni-view",{staticClass:"text",class:0===o?"on-font on":""},[r("v-uni-view",[t._v(t._s(e.status))]),r("v-uni-view",{staticClass:"data",class:0===o?"on-font on":""},[t._v(t._s(e.time))])],1)],1):t._e()}))],2),1==t.recommend_switch?r("recommend",{attrs:{hostProduct:t.hostProduct,isLogin:t.isLogin}}):t._e()],1)],1)},n=[]},a3c1:function(t,e,r){"use strict";r.r(e);var o=r("6198"),n=r.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return o[t]}))}(i);e["default"]=n.a},acdb:function(t,e,r){var o=r("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.logistics .header[data-v-2b688848]{padding:%?23?% %?30?%;background-color:#fff;height:%?166?%;box-sizing:border-box}.logistics .header .pictrue[data-v-2b688848]{width:%?120?%;height:%?120?%}.logistics .header .pictrue uni-image[data-v-2b688848]{width:100%;height:100%;border-radius:%?6?%}.logistics .header .text[data-v-2b688848]{width:%?540?%;font-size:%?28?%;color:#999;margin-top:%?6?%}.logistics .header .text .name[data-v-2b688848]{width:%?480?%;color:#282828}.logistics .header .text .sku[data-v-2b688848]{color:#999;font-size:%?22?%;margin-top:%?10?%}.logistics .header .text .money[data-v-2b688848]{font-size:%?22?%;margin-top:%?10?%}.logistics .logisticsCon[data-v-2b688848]{background-color:#fff;margin:%?12?% 0}.logistics .logisticsCon .company[data-v-2b688848]{height:%?120?%;margin:0 0 %?45?% %?30?%;padding-right:%?30?%;border-bottom:1px solid #f5f5f5}.logistics .logisticsCon .company .picTxt[data-v-2b688848]{width:%?520?%}.logistics .logisticsCon .company .picTxt .iconfont[data-v-2b688848]{width:%?50?%;height:%?50?%;background-color:#666;text-align:center;line-height:%?50?%;color:#fff;font-size:%?35?%}.logistics .logisticsCon .company .picTxt .text[data-v-2b688848]{width:%?450?%;font-size:%?26?%;color:#282828}.logistics .logisticsCon .company .picTxt .text .name[data-v-2b688848]{color:#999}.logistics .logisticsCon .company .picTxt .text .express[data-v-2b688848]{margin-top:%?5?%}.logistics .logisticsCon .company .copy[data-v-2b688848]{font-size:%?20?%;width:%?106?%;height:%?40?%;text-align:center;display:flex;align-items:center;justify-content:center;border-radius:%?3?%;border:1px solid #999}.logistics .logisticsCon .item[data-v-2b688848]{padding:0 %?40?%;position:relative}.logistics .logisticsCon .item .circular[data-v-2b688848]{width:%?20?%;height:%?20?%;border-radius:50%;position:absolute;top:%?-1?%;left:%?31.5?%;background-color:#ddd}.logistics .logisticsCon .item .circular.on[data-v-2b688848]{background-color:var(--view-theme)}.logistics .logisticsCon .item .text.on-font[data-v-2b688848]{color:var(--view-theme)}.logistics .logisticsCon .item .text .data.on-font[data-v-2b688848]{color:var(--view-theme)}.logistics .logisticsCon .item .text[data-v-2b688848]{font-size:%?26?%;color:#666;width:%?615?%;border-left:1px solid #e6e6e6;padding:0 0 %?60?% %?38?%}.logistics .logisticsCon .item .text.on[data-v-2b688848]{border-left-color:var(--view-bntColor22)}.logistics .logisticsCon .item .text .data[data-v-2b688848]{font-size:%?24?%;color:#999;margin-top:%?10?%}.logistics .logisticsCon .item .text .data .time[data-v-2b688848]{margin-left:%?15?%}',""]),t.exports=e},cf17:function(t,e,r){"use strict";r.r(e);var o=r("63e6"),n=r("a3c1");for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(i);r("d9cb");var a=r("f0c5"),s=Object(a["a"])(n["default"],o["b"],o["c"],!1,null,"2b688848",null,!1,o["a"],void 0);e["default"]=s.exports},d9cb:function(t,e,r){"use strict";var o=r("0744"),n=r.n(o);n.a}}]);