require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/goods_logistics/index"],{"00fa":function(t,e,o){"use strict";var n=o("5022"),r=o.n(n);r.a},5022:function(t,e,o){},"60b7":function(t,e,o){"use strict";o.r(e);var n=o("7f5b"),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},"7f5b":function(t,e,o){"use strict";(function(t){var n=o("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(o("7ca3")),i=o("606e"),s=o("0f73"),c=o("5088"),a=o("8f59"),u=n(o("89cc")),f=o("4d38");function d(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function l(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?d(Object(o),!0).forEach((function(e){(0,r.default)(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var h=t.getWindowInfo().statusBarHeight,p={components:{recommend:function(){Promise.all([o.e("common/vendor"),o.e("components/recommend/index")]).then(function(){return resolve(o("a60c"))}.bind(null,o)).catch(o.oe)},emptyPage:function(){o.e("components/emptyPage").then(function(){return resolve(o("398a"))}.bind(null,o)).catch(o.oe)}},mixins:[u.default],data:function(){return{sysHeight:h,imgHost:f.HTTP_REQUEST_URL,orderId:"",type:"",product:[],orderInfo:{},expressList:[],hostProduct:[],isShowAuth:!1,pageScrollStatus:!1,showMore:!1}},computed:l(l({},(0,a.mapGetters)(["isLogin"])),{},{logisticList:function(){return this.showMore?this.expressList:this.expressList.slice(0,1)}}),watch:{isLogin:{handler:function(t,e){},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())},onPageScroll:function(e){e.scrollTop>100?this.pageScrollStatus=!0:e.scrollTop<100&&(this.pageScrollStatus=!1),t.$emit("scroll")},onShow:function(){t.removeStorageSync("form_type_cart"),this.isLogin||(0,c.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){e.$set(e,"product",t.data.order.cartInfo||[]),e.$set(e,"orderInfo",t.data.order),e.$set(e,"expressList",t.data.express||[])})).catch((function(e){t.$util.Tips({title:e})}))},get_host_product:function(){var t=this;(0,s.getProductHot)({page:1,limit:20}).then((function(e){t.$set(t,"hostProduct",e.data.list)}))},checkShowMore:function(){this.showMore=!this.showMore},goPage:function(e,o){1==e?t.navigateTo({url:o}):2==e?t.switchTab({url:o}):3==e&&t.navigateBack()}}};e.default=p}).call(this,o("df3c")["default"])},"833b":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,this.expressList.length),o=this.product.length;this.$mp.data=Object.assign({},{$root:{g0:e,g1:o}})},r=[]},e3e8:function(t,e,o){"use strict";o.r(e);var n=o("833b"),r=o("60b7");for(var i in r)["default"].indexOf(i)<0&&function(t){o.d(e,t,(function(){return r[t]}))}(i);o("00fa");var s=o("828b"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"13fa2fc8",null,!1,n["a"],void 0);e["default"]=c.exports},f2cd:function(t,e,o){"use strict";(function(t,e){var n=o("47a9");o("f076");n(o("3240"));var r=n(o("e3e8"));t.__webpack_require_UNI_MP_PLUGIN__=o,e(r.default)}).call(this,o("3223")["default"],o("df3c")["createPage"])}},[["f2cd","common/runtime","common/vendor"]]]);