1 |
- require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/points_mall/logistics_details"],{"0132":function(t,e,n){},"07d3":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("2a39"),r=n("84d8"),s=(o(n("8a87")),n("86eb")),c=n("26cb"),a=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:[a.default],data:function(){return{orderId:"",product:{productInfo:{}},orderInfo:{},expressList:[],hostProduct:[]}},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.order_id)return this.$util.Tips({title:this.$t("缺少订单号")});this.orderId=t.order_id,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;(0,r.getLogisticsDetails)(e.orderId).then((function(t){var n=t.data.express.result||{};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"])},2690:function(t,e,n){"use strict";(function(t,e){var o=n("4ea4");n("4789");o(n("66fd"));var i=o(n("cac5"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"82be":function(t,e,n){"use strict";n.r(e);var o=n("07d3"),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},ba67:function(t,e,n){"use strict";var o=n("0132"),i=n.n(o);i.a},bed0a: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,e=(this._self._c,this.$t("积分")),n=this.$t("物流公司"),o=this.$t("快递单号"),i=this.$t("复制单号");this.$mp.data=Object.assign({},{$root:{m0:e,m1:n,m2:o,m3:i}})},i=[]},cac5:function(t,e,n){"use strict";n.r(e);var o=n("bed0a"),i=n("82be");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("ba67");var s=n("f0c5"),c=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"2644dabd",null,!1,o["a"],void 0);e["default"]=c.exports}},[["2690","common/runtime","common/vendor"]]]);
|