require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_tool/order/logistics"],{1384:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return o}));var o={loadingCover:function(){return i.e("components/loading-cover/loading-cover").then(i.bind(null,"0773"))}},n=function(){var t=this,e=t.$createElement,i=(t._self._c,t.__map(t.packageList,(function(e,i){var o=t.__get_orig(e),n=t.__map(e.goods_list,(function(e,i){var o=t.__get_orig(e),n=t.$util.img(e.sku_image,{size:"mid"});return{$orig:o,g0:n}})),r=1==e.delivery_type?t.$util.img(e.express_company_image):null,a=1==e.delivery_type?e.trace.success&&0!=e.trace.list.length:null,s=1!=e.delivery_type||a?null:e.trace.success&&0==e.trace.list.length;return{$orig:o,l0:n,g1:r,g2:a,g3:s}})));t.$mp.data=Object.assign({},{$root:{l1:i}})},r=[]},"33ab":function(t,e,i){"use strict";i.r(e);var o=i("1384"),n=i("d20b");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("4608");var a=i("828b"),s=Object(a["a"])(n["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=s.exports},4608:function(t,e,i){"use strict";var o=i("86ba"),n=i.n(o);n.a},"5acb":function(t,e,i){"use strict";(function(t,e){var o=i("47a9");i("1dee");o(i("3240"));var n=o(i("33ab"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(n.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"86ba":function(t,e,i){},bf34:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={data:function(){return{orderId:"",packageList:[],isIphoneX:!1,currIndex:0,status:0}},onLoad:function(t){t.order_id&&(this.orderId=t.order_id)},onShow:function(){this.storeToken?this.getPackageInfo():this.$util.redirectTo("/pages_tool/login/login"),this.isIphoneX=this.$util.uniappIsIPhoneX()},methods:{ontabtap:function(t){this.currIndex=t},getPackageInfo:function(){var t=this;this.$api.sendRequest({url:"/api/order/package",data:{order_id:this.orderId},success:function(e){e.code>=0?(t.packageList=e.data,t.packageList.forEach((function(e){e.trace.list&&(e.trace.list=e.trace.list.reverse()),e.status=t.status++})),t.$refs.loadingCover&&t.$refs.loadingCover.hide()):(t.$util.showToast({title:"未获取到订单信息！"}),setTimeout((function(){t.$util.redirectTo("/pages/order/list")}),1500))},fail:function(e){t.$refs.loadingCover&&t.$refs.loadingCover.hide()}})},toGoodsDetail:function(t){this.$util.redirectTo("/pages/goods/detail",{sku_id:t})},imageError:function(t,e){this.packageList[t].goods_list[e].sku_image=this.$util.getDefaultImage().goods,this.$forceUpdate()},copyDeliveryNo:function(t){this.$util.copy(t)}}};e.default=o},d20b:function(t,e,i){"use strict";i.r(e);var o=i("bf34"),n=i.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e["default"]=n.a}},[["5acb","common/runtime","common/vendor"]]]);