(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["promotionpages/topics/list/list"],{"68f8":function(t,n,e){},"777e":function(t,n,e){"use strict";(function(t){e("6b76");o(e("66fd"));var n=o(e("bf0e"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},"94f0":function(t,n,e){"use strict";e.r(n);var o=e("d093"),i=e.n(o);for(var a in o)"default"!==a&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=i.a},b1a6:function(t,n,e){"use strict";var o=e("68f8"),i=e.n(o);i.a},bf0e:function(t,n,e){"use strict";e.r(n);var o=e("ca9a"),i=e("94f0");for(var a in i)"default"!==a&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e("b1a6");var s,r=e("f0c5"),u=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"e75ac504",null,!1,o["a"],s);n["default"]=u.exports},ca9a:function(t,n,e){"use strict";var o={nsAdv:function(){return e.e("components/ns-adv/ns-adv").then(e.bind(null,"e478"))},nsEmpty:function(){return e.e("components/ns-empty/ns-empty").then(e.bind(null,"211f"))},loadingCover:function(){return e.e("components/loading-cover/loading-cover").then(e.bind(null,"cd2f"))},nsShowToast:function(){return Promise.all([e.e("common/vendor"),e.e("components/ns-show-toast/ns-show-toast")]).then(e.bind(null,"f505"))}},i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.__map(t.dataList,(function(n,e){var o=t.$util.img(n.topic_adv);return{$orig:t.__get_orig(n),g0:o}})));t.$mp.data=Object.assign({},{$root:{l0:e}})},a=[];e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return o}))},d093:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(e("4c22"));function i(t){return t&&t.__esModule?t:{default:t}}var a=function(){e.e("components/ns-adv/ns-adv").then(function(){return resolve(e("e478"))}.bind(null,e)).catch(e.oe)},s=function(){Promise.all([e.e("common/vendor"),e.e("components/ns-show-toast/ns-show-toast")]).then(function(){return resolve(e("f505"))}.bind(null,e)).catch(e.oe)},r={components:{nsAdv:a,nsShowToast:s},data:function(){return{dataList:[],nowTime:""}},onShow:function(){var t=this;if(this.$langConfig.refresh(),!this.addonIsExit.topic)return this.$util.showToast({title:"商家未开启专题活动",mask:!0,duration:2e3}),void setTimeout((function(){t.$util.redirectTo("/pages/index/index/index",{},"redirectTo")}),2e3)},mixins:[o.default],methods:{getData:function(t){var n=this;this.$api.sendRequest({url:"/topic/api/topic/page",data:{page_size:t.size,page:t.num},success:function(e){var o=[],i=e.message;0==e.code&&e.data?o=e.data.list:n.$util.showToast({title:i}),t.endSuccess(o.length),1==t.num&&(n.dataList=[]),n.dataList=n.dataList.concat(o),n.dataList.forEach((function(t){t.start_time=n.$util.timeStampTurnTime(t.start_time).slice(0,10),t.end_time=n.$util.timeStampTurnTime(t.end_time).slice(0,10)})),n.$refs.loadingCover&&n.$refs.loadingCover.hide()},fail:function(e){t.endErr(),n.$refs.loadingCover&&n.$refs.loadingCover.hide()}})},toDetail:function(t,n){this.$util.redirectTo("/promotionpages/topics/detail/detail",{topic_id:t,title:n})}},onShareAppMessage:function(t){var n="活动多多，优惠多多，快来看看吧",e="/promotionpages/topics/list/list";return{title:n,path:e,success:function(t){},fail:function(t){}}}};n.default=r}},[["777e","common/runtime","common/vendor"]]]);