1 |
- require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/goods_logistics/index"],{2515:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},i=[]},"2c3f":function(t,e,n){},5076:function(t,e,n){"use strict";var o=n("2c3f"),i=n.n(o);i.a},"8d1e":function(t,e,n){"use strict";(function(t,e){var o=n("4ea4");n("59a4");o(n("66fd"));var i=o(n("9420"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"8d5c":function(t,e,n){"use strict";n.r(e);var o=n("ef27"),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=i.a},9420:function(t,e,n){"use strict";n.r(e);var o=n("2515"),i=n("8d5c");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("5076");var s=n("f0c5"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"651d936d",null,!1,o["a"],void 0);e["default"]=c.exports},ef27:function(t,e,n){"use strict";(function(t){var o=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("bcf5"),r=n("f8b7"),s=(o(n("61e9")),n("8e8a")),c=n("26cb"),d=o(n("5c3b")),u={components:{recommend:function(){Promise.all([n.e("common/vendor"),n.e("components/recommend/index")]).then(function(){return resolve(n("b281"))}.bind(null,n)).catch(n.oe)}},mixins:[d.default],data:function(){return{orderId:"",type:"",product:[],orderInfo:{},expressList:[],hostProduct:[],isShowAuth:!1}},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:"缺少订单号"});"undefined"==typeof t.type?this.type="":this.type=t.type,this.orderId=t.orderId,this.isLogin&&(this.getExpress(),this.get_host_product())},onReady:function(){},onShow:function(){t.removeStorageSync("form_type_cart"),this.isLogin||(0,s.toLogin)()},methods:{authColse:function(t){this.isShowAuth=t},onLoadFun:function(){this.getExpress(),this.get_host_product(),this.isShowAuth=!1},copyOrderId:function(){t.setClipboardData({data:this.orderInfo.delivery_id})},getExpress:function(){var t=this,e=this;(0,i.express)(e.orderId,this.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,r.getProductHot)().then((function(e){t.$set(t,"hostProduct",e.data)}))}}};e.default=u}).call(this,n("543d")["default"])}},[["8d1e","common/runtime","common/vendor"]]]);
|