logistics_details.js 2.8 KB

1
  1. require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/points_mall/logistics_details"],{"1b61":function(t,e,o){"use strict";var n=o("f845"),r=o.n(n);r.a},"76c9":function(t,e,o){"use strict";o.r(e);var n=o("8c0f"),r=o("a56e");for(var i in r)["default"].indexOf(i)<0&&function(t){o.d(e,t,(function(){return r[t]}))}(i);o("1b61");var a=o("f0c5"),s=Object(a["a"])(r["default"],n["b"],n["c"],!1,null,"4183bcad",null,!1,n["a"],void 0);e["default"]=s.exports},"8c0f":function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return r})),o.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,parseFloat(this.orderInfo.total_integral)),o=parseFloat(this.orderInfo.total_price)&&parseFloat(this.orderInfo.total_price),n=parseFloat(this.orderInfo.total_price);this.$mp.data=Object.assign({},{$root:{m0:e,m1:o,m2:n}})},r=[]},a56e:function(t,e,o){"use strict";o.r(e);var n=o("b860"),r=o.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},ac37:function(t,e,o){"use strict";(function(t,e){var n=o("4ea4");o("59a4");n(o("66fd"));var r=n(o("76c9"));t.__webpack_require_UNI_MP_PLUGIN__=o,e(r.default)}).call(this,o("bc2e")["default"],o("543d")["createPage"])},b860:function(t,e,o){"use strict";(function(t){var n=o("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o("f8b7"),i=o("74b1"),a=(n(o("61e9")),o("8e8a")),s=o("26cb"),c=n(o("5c3b")),u={components:{recommend:function(){Promise.all([o.e("common/vendor"),o.e("components/recommend/index")]).then(function(){return resolve(o("b281"))}.bind(null,o)).catch(o.oe)}},mixins:[c.default],data:function(){return{orderId:"",product:{productInfo:{}},orderInfo:{},expressList:[],hostProduct:[],isShowAuth:!1}},computed:(0,s.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,e){t&&this.getExpress()},deep:!0}},onLoad:function(t){if(!t.order_id)return this.$util.Tips({title:"缺少订单号"});this.orderId=t.order_id,this.get_host_product(),this.isLogin?this.getExpress():(0,a.toLogin)()},onReady:function(){},onShow:function(){t.removeStorageSync("form_type_cart")},methods:{authColse:function(t){this.isShowAuth=t},onLoadFun:function(){this.getExpress(),this.isShowAuth=!1},copyOrderId:function(){t.setClipboardData({data:this.orderInfo.delivery_id})},getExpress:function(){var t=this,e=this;(0,i.getLogisticsDetails)(e.orderId).then((function(t){var o=t.data.express.result||{};e.$set(e,"orderInfo",t.data.order),e.$set(e,"expressList",o.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,o("543d")["default"])},f845:function(t,e,o){}},[["ac37","common/runtime","common/vendor"]]]);