require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/activity/mer-good-seckill/index"],{1909:function(e,t,n){"use strict";var i=n("d022"),a=n.n(i);a.a},2449:function(e,t,n){"use strict";n.r(t);var i=n("f0c3"),a=n("a120");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("1909");var c=n("828b"),r=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"7bdce276",null,!1,i["a"],void 0);t["default"]=r.exports},a120:function(e,t,n){"use strict";n.r(t);var i=n("ee9c"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},cf5b:function(e,t,n){"use strict";(function(e,t){var i=n("47a9");n("1d3c");i(n("3240"));var a=i(n("2449"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},d022:function(e,t,n){},ee9c:function(e,t,n){"use strict";(function(e){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n("7ca3")),o=i(n("7951")),c=n("953a"),r=n("9592"),l=n("8f59"),s=i(n("486b"));function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var d={mixins:[o.default,s.default],name:"index",computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({headerBg:function(){return"url("+this.urlDomain+"crmebimage/presets/seckill_header.png)"}},(0,l.mapGetters)(["isLogin","uid","globalData"])),components:{navBar:function(){n.e("components/navBar").then(function(){return resolve(n("820c"))}.bind(null,n)).catch(n.oe)},SeckillList:function(){Promise.all([n.e("common/vendor"),n.e("pages/activity/components/SeckillList")]).then(function(){return resolve(n("0211"))}.bind(null,n)).catch(n.oe)}},data:function(){return{seckillList:[],page:1,limit:10,loading:!1,loadend:!1,merId:0,loadTitle:"",urlDomain:this.$Cache.get("imgHost"),title:"秒杀列表"}},onLoad:function(e){this.merId=e.merId,this.getSeckillList(),(0,r.getUserSpread)(e)},onShow:function(){(0,r.silenceBindingSpread)(this.isLogin,this.globalData.spread)},onPageScroll:function(t){e.$emit("scroll")},onReachBottom:function(){this.getSeckillList()},methods:{touchStart:function(){this.$refs.navBarRef.currentPage=!1},getSeckillList:function(){var e=this,t={page:this.page,limit:this.limit,merId:this.merId};this.loadend||this.loading||(this.loadTitle="",this.loading=!0,(0,c.seckillMerchantApi)(t).then((function(t){e.$set(e,"page",e.page+1),e.seckillList=e.seckillList.concat(t.data.list||[]),e.loadend=e.page>t.data.totalPage,e.loadTitle=e.loadend?"已全部加载":"加载更多",e.loading=!1,e.showSkeleton=!1})).catch((function(t){e.loading=!1})))}}};t.default=d}).call(this,n("df3c")["default"])},f0c3:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var i=function(){var e=this.$createElement;this._self._c},a=[]}},[["cf5b","common/runtime","common/vendor"]]]);