(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-common-article-list"],{"268d":function(a,t,n){var e=n("65f7");"string"===typeof e&&(e=[[a.i,e,""]]),e.locals&&(a.exports=e.locals);var i=n("4f06").default;i("105b7c0a",e,!0,{sourceMap:!1,shadowMode:!1})},"5af6":function(a,t,n){"use strict";n.r(t);var e=n("96d2"),i=n("8243");for(var s in i)"default"!==s&&function(a){n.d(t,a,(function(){return i[a]}))}(s);n("ba7a");var o,r=n("f0c5"),c=Object(r["a"])(i["default"],e["b"],e["c"],!1,null,"48068841",null,!1,e["a"],o);t["default"]=c.exports},"65f7":function(a,t,n){var e=n("24fb");t=e(!1),t.push([a.i,'@charset "UTF-8";\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.news-cate-navbar[data-v-48068841]{position:fixed;background-color:#fff;z-index:100}.news-cate-navbar-placeholder[data-v-48068841]{height:50px}.item-active[data-v-48068841]{color:#ff6b00;position:relative}.item-active[data-v-48068841]::before{content:" ";background-color:#ff6b00;position:absolute;left:35%;right:35%;height:2px;bottom:5px}',""]),a.exports=t},8243:function(a,t,n){"use strict";n.r(t);var e=n("8c63"),i=n.n(e);for(var s in e)"default"!==s&&function(a){n.d(t,a,(function(){return e[a]}))}(s);t["default"]=i.a},"8c63":function(a,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={data:function(){return{navTabBarInto:"",navTabBarIndex:null,navTabBars:[]}},onLoad:function(){this.initNavTabBars()},onShareAppMessage:function(a){return{title:this.XYBase.config.appName,path:"/pages/common/article/list"}},onShareTimeline:function(a){return{title:this.XYBase.config.appName,path:"/pages/common/article/list"}},onReachBottom:function(){if(null!==this.navTabBarIndex){var a=this.navTabBars[this.navTabBarIndex];a.page.page++,this.initHtml()}},methods:{tabchange:function(a,t){this.navTabBarInto=a.alias,this.navTabBarIndex=t,this.initHtml()},initHtml:function(){var a=this.navTabBars[this.navTabBarIndex];"loading"!=a.page.status&&"noMore"!=a.page.status&&(a.page.status="loading",this.XYBase.get({url:"article/list/getAliasSelect/"+a.alias,data:a.page},(function(t){if(t)if(0===t.code){t.data.current_page<t.data.last_page?a.page.status="more":a.page.status="noMore";for(var n=0;n<t.data.data.length;n++)a.data.push(t.data.data[n])}else a.page.status="noMore"})))},initNavTabBars:function(){var a=this;this.XYBase.get({url:"article/cate/getCateAliasSelect/find"},(function(t){if(t&&0===t.code){for(var n=t.data,e=0;e<n.length;e++)n[e].data=[],n[e].page={page:1,status:"more"},a.navTabBars.push(n[e]);n.length&&a.tabchange(n[0],0)}}))}}};t.default=e},"96d2":function(a,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return e}));var e={mediaNews:n("17ed").default,uniLoadMore:n("7711").default},i=function(){var a=this,t=a.$createElement,n=a._self._c||t;return n("v-uni-view",{staticClass:"bottom-placeholder"},[n("v-uni-scroll-view",{staticClass:"news-cate-navbar",attrs:{"scroll-y":!1,"scroll-x":!0,"scroll-with-animation":!0,"scroll-into-view":a.navTabBarInto}},[n("v-uni-view",{staticClass:"uni-flex flex-nowrap text-auxiliary"},a._l(a.navTabBars,(function(t,e){return n("v-uni-view",{key:e,staticClass:"px-3 py-2 text-nowrap",class:{"item-active":a.navTabBarInto==t.alias},attrs:{id:t.alias},on:{click:function(n){arguments[0]=n=a.$handleEvent(n),a.tabchange(t,e)}}},[a._v(a._s(t.title))])})),1)],1),n("v-uni-view",{staticClass:"news-cate-navbar-placeholder"}),a._l(a.navTabBars,(function(t,e){return n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:a.navTabBarInto==t.alias,expression:"navTabBarInto==v.alias"}],key:e},[a._l(t.data,(function(t,e){return n("media-news",{key:e,attrs:{options:t},on:{click:function(n){arguments[0]=n=a.$handleEvent(n),a.XYBase.openPage({common:!0,url:"article/content?id="+t.id})}}})})),n("uni-load-more",{staticClass:"pb-3",attrs:{status:t.page.status,iconSize:24}})],2)}))],2)},s=[]},ba7a:function(a,t,n){"use strict";var e=n("268d"),i=n.n(e);i.a}}]);