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.
shipin/public/statics/mp_view/pages/points_mall/logistics_details.js

1 line
2.8 KiB

1 year ago
require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/points_mall/logistics_details"],{1901:function(t,e,n){"use strict";var o=n("825f"),i=n.n(o);i.a},3734:function(t,e,n){"use strict";(function(t,e){var o=n("4ea4");n("248d");o(n("66fd"));var i=o(n("7313"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},3978: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("1579"),r=n("6a71"),s=(o(n("cf40")),n("666f")),c=n("26cb"),u=o(n("66ca")),a={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:[u.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=a}).call(this,n("543d")["default"])},7313:function(t,e,n){"use strict";n.r(e);var o=n("ae99"),i=n("f9d1");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("1901");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},"825f":function(t,e,n){},ae99: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=[]},f9d1:function(t,e,n){"use strict";n.r(e);var o=n("3978"),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}},[["3734","common/runtime","common/vendor"]]]);