(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/article/article-list/article-list"],{"1a20":function(t,e,n){"use strict";(function(t){n("8748");i(n("66fd"));var e=i(n("878b"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"878b":function(t,e,n){"use strict";n.r(e);var i=n("9021"),r=n("dd1d");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("fa86");var o,c=n("f0c5"),u=Object(c["a"])(r["default"],i["b"],i["c"],!1,null,"d8548d08",null,!1,i["a"],o);e["default"]=u.exports},9021:function(t,e,n){"use strict";var i,r=function(){var t=this,e=t.$createElement;t._self._c},a=[];n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}))},d263:function(t,e,n){},dd1d:function(t,e,n){"use strict";n.r(e);var i=n("fed9"),r=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=r.a},fa86:function(t,e,n){"use strict";var i=n("d263"),r=n.n(i);r.a},fed9:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("2f62");function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c={data:function(){return{page:2,list:[]}},computed:a({},(0,i.mapState)({theme:function(t){return t.mallConfig.theme},title:function(t){return t.mallConfig.bar_title}})),methods:{getList:function(){var t=this,e=this;e.$showLoading({text:"加载中..."}),this.$request({url:e.$api.article.list,method:"get"}).then((function(n){e.$hideLoading(),0==n.code&&(t.list=n.data.list)})).catch((function(t){e.$hideLoading()}))},getMore:function(){var e=this;t.showLoading({title:"加载中..."}),e.$request({url:e.$api.article.list,data:{page:e.page}}).then((function(n){t.hideLoading(),0==n.code&&n.data.list.length>0&&(e.list.concat(n.data.list),e.page++)})).catch((function(e){t.hideLoading()}))},toDetail:function(e){t.navigateTo({url:"/pages/article/article-detail/article-detail?id="+e})}},onLoad:function(){this.getList()},onReachBottom:function(){this.getMore()},onShareAppMessage:function(){var t=this;for(var e in t.title)if("文章中心"==t.title[e].name)return t.$shareAppMessage({title:t.title[e].new_name,path:"/pages/article/article-list/article-list"})}};e.default=c}).call(this,n("543d")["default"])}},[["1a20","common/runtime","common/vendor"]]]);