(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/goodsWaterfall/goodsWaterfall"],{"2e62":function(t,i,a){"use strict";var e=a("6c09"),s=a.n(e);s.a},"3e0c":function(t,i,a){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=a("4729"),s={name:"goodsWaterfall",props:{dataLists:{default:[]}},data:function(){return{lists1:[],lists2:[],list1Height:0,list2Height:0,tmp_data:[],loaded:[],loadErr:[],showLoad:!1}},methods:{goGoodsDetail:function(i){var a=this;(0,e.goPage)().then((function(s){(0,e.goShopDetail)(i,a.uid).then((function(a){t.navigateTo({url:"/pages/goods_details/index?id=".concat(i.id)})}))}))},refresData:function(){if(this.hideLoadFlag(),!(this.loaded.length+this.loadErr.lengtht.list2Height?(t.list2Height+=i.img_height,t.lists2.push(i)):(t.list1Height+=i.img_height,t.lists1.push(i))}))}},imgLoad:function(t){this.loaded.push(t.target.id),this.tmp_data[t.target.id]["img_height"]=167.5*t.detail.height/t.detail.width},imgError:function(t){this.loadErr.push(t.target.id)},showLoadFlag:function(){this.showLoad||(this.showLoad=!0)},hideLoadFlag:function(){this.showLoad&&(t.hideLoading(),this.showLoad=!1)}},mounted:function(){var t=this;t.tmp_data=t.dataLists,t.showLoadFlag()},watch:{dataLists:function(){this.loaded=[],this.loadErr=[],this.tmp_data=this.dataLists,this.showLoadFlag()},loaded:function(){this.refresData()},loadErr:function(){this.refresData()}}};i.default=s}).call(this,a("543d")["default"])},"6c09":function(t,i,a){},cd73:function(t,i,a){"use strict";a.r(i);var e=a("f486"),s=a("f9c1");for(var o in s)"default"!==o&&function(t){a.d(i,t,(function(){return s[t]}))}(o);a("2e62");var n,d=a("f0c5"),l=Object(d["a"])(s["default"],e["b"],e["c"],!1,null,"ebe95f9e",null,!1,e["a"],n);i["default"]=l.exports},f486:function(t,i,a){"use strict";var e;a.d(i,"b",(function(){return s})),a.d(i,"c",(function(){return o})),a.d(i,"a",(function(){return e}));var s=function(){var t=this,i=t.$createElement;t._self._c},o=[]},f9c1:function(t,i,a){"use strict";a.r(i);var e=a("3e0c"),s=a.n(e);for(var o in e)"default"!==o&&function(t){a.d(i,t,(function(){return e[t]}))}(o);i["default"]=s.a}}]); ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'components/goodsWaterfall/goodsWaterfall-create-component', { 'components/goodsWaterfall/goodsWaterfall-create-component':(function(module, exports, __webpack_require__){ __webpack_require__('543d')['createComponent'](__webpack_require__("cd73")) }) }, [['components/goodsWaterfall/goodsWaterfall-create-component']] ]);