require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/goods_logistics/index"],{"0e89":function(t,e,n){"use strict";var o=n("3d3f"),r=n.n(o);r.a},1578:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.product.length),o=n?t.__map(t.product,(function(e,n){var o=t.__get_orig(e),r=t.$t("¥"),i=(parseFloat(e.truePrice)+parseFloat(e.postage_price/e.cart_num)).toFixed(2);return{$orig:o,m0:r,g1:i}})):null,r=n?t.$t("快递公司"):null,i=n?t.$t("快递单号"):null,s=n?t.$t("复制"):null;t.$mp.data=Object.assign({},{$root:{g0:n,l0:o,m1:r,m2:i,m3:s}})},r=[]},"21eb":function(t,e,n){"use strict";n.r(e);var o=n("a779"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},"3d3f":function(t,e,n){},a779:function(t,e,n){"use strict";(function(t){var o=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("39ed"),i=n("2a39"),s=(o(n("8a87")),n("86eb")),a=n("26cb"),c=o(n("19b6")),u={components:{recommend:function(){Promise.all([n.e("common/vendor"),n.e("components/recommend/index")]).then(function(){return resolve(n("7992"))}.bind(null,n)).catch(n.oe)},authorize:function(){n.e("components/Authorize").then(function(){return resolve(n("ad23"))}.bind(null,n)).catch(n.oe)}},mixins:[c.default],data:function(){return{orderId:"",product:[],orderInfo:{},expressList:[],hostProduct:[],is_admin:0}},computed:(0,a.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,e){t&&(this.getExpress(),this.get_host_product())},deep:!0}},onLoad:function(t){if(!t.orderId)return this.$util.Tips({title:this.$t("缺少订单号")});this.orderId=t.orderId,this.type=t.type,this.is_admin=t.is_admin||0,this.isLogin?(this.getExpress(),this.get_host_product()):(0,s.toLogin)()},onReady:function(){},onPageScroll:function(e){t.$emit("scroll")},methods:{onLoadFun:function(){this.getExpress(),this.get_host_product()},copyOrderId:function(){t.setClipboardData({data:this.orderInfo.delivery_id})},getExpress:function(){var t=this,e=this,n=this.is_admin?r.adminExpress:r.express;n(e.orderId,e.type).then((function(t){var n=t.data.express.result||{};e.$set(e,"product",t.data.order.cartInfo||[]),e.$set(e,"orderInfo",t.data.order),e.$set(e,"expressList",n.list||[])})).catch((function(e){t.$util.Tips({title:e})}))},get_host_product:function(){var t=this;(0,i.getProductHot)().then((function(e){t.$set(t,"hostProduct",e.data)}))}}};e.default=u}).call(this,n("543d")["default"])},f7ce:function(t,e,n){"use strict";(function(t,e){var o=n("4ea4");n("4789");o(n("66fd"));var r=o(n("fb5b"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},fb5b:function(t,e,n){"use strict";n.r(e);var o=n("1578"),r=n("21eb");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("0e89");var s=n("f0c5"),a=Object(s["a"])(r["default"],o["b"],o["c"],!1,null,"629c861a",null,!1,o["a"],void 0);e["default"]=a.exports}},[["f7ce","common/runtime","common/vendor"]]]);