You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
3.1 KiB

require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/goods_logistics/index"],{"17a5":function(t,e,n){"use strict";n.r(e);var o=n("2cb8"),r=n("7fd0");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("686c");var s=n("f0c5"),c=Object(s["a"])(r["default"],o["b"],o["c"],!1,null,"629c861a",null,!1,o["a"],void 0);e["default"]=c.exports},"2bbe":function(t,e,n){},"2cb8":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=[]},"686c":function(t,e,n){"use strict";var o=n("2bbe"),r=n.n(o);r.a},"7d71":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("451d"),i=n("1579"),s=(o(n("cf40")),n("666f")),c=n("26cb"),a=o(n("66ca")),u={components:{recommend:function(){Promise.all([n.e("common/vendor"),n.e("components/recommend/index")]).then(function(){return resolve(n("f1f8"))}.bind(null,n)).catch(n.oe)},authorize:function(){n.e("components/Authorize").then(function(){return resolve(n("b29f"))}.bind(null,n)).catch(n.oe)}},mixins:[a.default],data:function(){return{orderId:"",product:[],orderInfo:{},expressList:[],hostProduct:[],is_admin:0}},computed:(0,c.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"])},"7fd0":function(t,e,n){"use strict";n.r(e);var o=n("7d71"),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},a715:function(t,e,n){"use strict";(function(t,e){var o=n("4ea4");n("248d");o(n("66fd"));var r=o(n("17a5"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])}},[["a715","common/runtime","common/vendor"]]]);