(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/article/article-list/article-list"],{3792:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var r=function(){var t=this,e=t.$createElement;t._self._c},a=[]},"50cd":function(t,e,n){"use strict";n.r(e);var i=n("cd3f"),r=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=r.a},"7fe9":function(t,e,n){"use strict";var i=n("d0bc"),r=n.n(i);r.a},c75a:function(t,e,n){"use strict";(function(t){n("3447");i(n("66fd"));var e=i(n("fad0"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},cd3f: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){c(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 c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o={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=o}).call(this,n("543d")["default"])},d0bc:function(t,e,n){},fad0:function(t,e,n){"use strict";n.r(e);var i=n("3792"),r=n("50cd");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("7fe9");var c,o=n("f0c5"),u=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"501c09e7",null,!1,i["a"],c);e["default"]=u.exports}},[["c75a","common/runtime","common/vendor"]]]);