(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/order/logistics/logistics"],{"01b7":function(t,e,n){"use strict";var o={loadingCover:function(){return n.e("components/loading-cover/loading-cover").then(n.bind(null,"cd2f"))},nsShowToast:function(){return Promise.all([n.e("common/vendor"),n.e("components/ns-show-toast/ns-show-toast")]).then(n.bind(null,"f505"))}},i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.packageList,(function(e,n){var o=t.__map(e.goods_list,(function(e,n){var o=t.$util.img(e.sku_image,{size:"mid"});return{$orig:t.__get_orig(e),g0:o}})),i=t.$util.img(e.express_company_image);return{$orig:t.__get_orig(e),l0:o,g1:i}})));t._isMounted||(t.e0=function(e){return t.$util.copy(t.packageItem.delivery_no)}),t.$mp.data=Object.assign({},{$root:{l1:n}})},r=[];n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}))},"200b":function(t,e,n){"use strict";n.r(e);var o=n("b176"),i=n.n(o);for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=i.a},"430c":function(t,e,n){},"5bd7":function(t,e,n){"use strict";var o=n("430c"),i=n.n(o);i.a},"9cf6":function(t,e,n){"use strict";(function(t){n("6b76");o(n("66fd"));var e=o(n("e29d"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},b176:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("4c22"));function i(t){return t&&t.__esModule?t:{default:t}}var r=function(){Promise.all([n.e("common/vendor"),n.e("components/ns-show-toast/ns-show-toast")]).then(function(){return resolve(n("f505"))}.bind(null,n)).catch(n.oe)},s={data:function(){return{orderId:"",packageList:[],isIphoneX:!1,currIndex:0,status:0}},onLoad:function(t){t.order_id&&(this.orderId=t.order_id)},components:{nsShowToast:r},onShow:function(){this.$langConfig.refresh(),t.getStorageSync("token")?this.getPackageInfo():this.$util.redirectTo("/pages/login/login/login"),this.isIphoneX=this.$util.uniappIsIPhoneX()},mixins:[o.default],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:"未获取到订单包裹信息!！",success:function(){setTimeout((function(){t.$util.redirectTo("/pages/order/list/list",{},"redirectTo")}),1500)}})},fail:function(e){t.$refs.loadingCover&&t.$refs.loadingCover.hide()}})},toGoodsDetail:function(t){this.$util.redirectTo("/pages/goods/detail/detail",{sku_id:t})},imageError:function(t,e){this.packageList[t].goods_list[e].sku_image=this.$util.getDefaultImage().default_goods_img,this.$forceUpdate()}}};e.default=s}).call(this,n("543d")["default"])},e29d:function(t,e,n){"use strict";n.r(e);var o=n("01b7"),i=n("200b");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("5bd7");var s,a=n("f0c5"),u=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],s);e["default"]=u.exports}},[["9cf6","common/runtime","common/vendor"]]]);