(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/article/richarticle"],{2434:function(t,e,n){},"55ee":function(t,e,n){"use strict";(function(t){n("630e");r(n("66fd"));var e=r(n("e24a"));function r(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("f266")["createPage"])},8565:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("a34a"));function i(t){return t&&t.__esModule?t:{default:t}}function a(t){return c(t)||u(t)||s(t)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t,e){if(t){if("string"===typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}function u(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function c(t){if(Array.isArray(t))return l(t)}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0||this.orderList.length>0}},data:function(){return{tabwidth:40,current:0,status:"nomore",page:1,channel_id:0,filterList:[],orderList:[],archivesList:[],is_show:!1,has_more:!1,scrollTop:0,is_update:!1,params:{},query:{},isTab:!1,tabList:[],is_empty:!1,channel:{}}},onLoad:function(t){var e=this.$Route.query;"{}"==JSON.stringify(e)&&(e=t),e&&"{}"!=JSON.stringify(e)?this.params=e:this.params={channel:-1,model:-1,menu_index:1},this.getCategory(),this.getArchives()},onShow:function(){},methods:{change:function(t){this.tabwidth=30*this.$util.strlen(this.tabList[t].title),this.current=t,this.channel_id=this.tabList[t].id,this.is_update=!0,this.page=1,this.getArchives()},goOrderBy:function(t){this.page=1,this.is_update=!0,this.query=t,this.getArchives()},getArchives:function(){var e=b(r.default.mark((function e(){var n,i,o,s,u,c,l;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=h(h({page:this.page},this.params),this.query),this.channel_id&&(n.channel=this.channel_id),e.next=5,this.$api.getArchives(n);case 5:if(i=e.sent,this.status="nomore",t.stopPullDownRefresh(),i.code){e.next=11;break}return this.$u.toast(i.msg),e.abrupt("return");case 11:o=i.data,s=o.filterList,u=o.orderList,c=o.pageList,l=o.channel,this.filterList=s,this.orderList=u,this.channel=l,this.is_update&&(this.archivesList=[],this.is_update=!1),this.is_show=!0,this.has_more=c.current_page