(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-article-index"],{"1c95":function(t,e,n){"use strict";n.r(e);var i=n("3ecf"),r=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=r.a},"1ce9":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是app内置的常用样式变量\r\n *\r\n * app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 水平间距 */\r\n/* 水平间距 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.u-sticky[data-v-1fc668dc]{z-index:9999999999}',""]),t.exports=e},"25e1":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是app内置的常用样式变量\r\n *\r\n * app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 水平间距 */\r\n/* 水平间距 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.article-item[data-v-3dbe1879]{padding:%?26?% %?24?%;overflow:hidden}.article-item .title[data-v-3dbe1879]{font-size:%?32?%;font-weight:700;color:#317afd;line-height:%?44?%}.article-item .text[data-v-3dbe1879]{margin-top:%?10?%;margin-bottom:%?10?%;font-size:%?28?%;color:#666;line-height:%?40?%;overflow:hidden}.article-item .text.shadow[data-v-3dbe1879]{max-height:%?200?%}.article-item .more[data-v-3dbe1879]{font-size:%?26?%;color:#317afd;text-align:center}.article-item .more.shadow[data-v-3dbe1879]{position:relative;background-image:linear-gradient(-180deg,hsla(0,0%,100%,0),#fff 80%);padding-top:%?160?%;margin-top:%?-160?%}.article-item .time[data-v-3dbe1879]{padding:%?6?% %?15?%;font-size:%?28?%;color:#333;line-height:1;border-radius:%?4?%}',""]),t.exports=e},"306d":function(t,e,n){"use strict";n.r(e);var i=n("6c09"),r=n("dd17");for(var s in r)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(s);n("4c07");var a=n("f0c5"),o=Object(a["a"])(r["default"],i["b"],i["c"],!1,null,"3dbe1879",null,!1,i["a"],void 0);e["default"]=o.exports},"3bc0":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{},[n("v-uni-view",{staticClass:"u-sticky-wrap",class:[t.elClass],style:{height:t.fixed?t.height+"px":"auto",backgroundColor:t.bgColor}},[n("v-uni-view",{staticClass:"u-sticky",style:{position:t.fixed?"fixed":"static",top:t.stickyTop+"px",left:t.left+"px",width:"auto"==t.width?"auto":t.width+"px",zIndex:t.uZIndex,backgroundColor:t.bgColor}},[t._t("default")],2)],1)],1)},r=[]},"3ecf":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3"),n("d3b7"),n("ac1f");var i={name:"ui-sticky",props:{offsetTop:{type:[Number,String],default:0},index:{type:[Number,String],default:""},enable:{type:Boolean,default:!0},h5NavHeight:{type:[Number,String],default:0},bgColor:{type:String,default:"#ffffff"},zIndex:{type:[Number,String],default:""}},data:function(){return{fixed:!1,height:"auto",stickyTop:0,elClass:"ui-sticky1",left:0,width:"auto"}},watch:{offsetTop:function(t){this.initObserver()},enable:function(t){0==t?(this.fixed=!1,this.disconnectObserver("contentObserver")):this.initObserver()}},computed:{uZIndex:function(){return this.zIndex?this.zIndex:10}},mounted:function(){this.initObserver()},methods:{$uGetRect:function(t,e){var n=this;return new Promise((function(i){uni.createSelectorQuery().in(n)[e?"selectAll":"select"](t).boundingClientRect((function(t){e&&Array.isArray(t)&&t.length&&i(t),!e&&t&&i(t)})).exec()}))},initObserver:function(){var t=this;this.enable&&(this.stickyTop=0!=this.offsetTop?uni.upx2px(this.offsetTop)+this.h5NavHeight:this.h5NavHeight,this.disconnectObserver("contentObserver"),this.$uGetRect("."+this.elClass).then((function(e){t.height=e.height,t.left=e.left,t.width=e.width,t.$nextTick((function(){t.observeContent()}))})))},observeContent:function(){var t=this;this.disconnectObserver("contentObserver");var e=this.createIntersectionObserver({thresholds:[.95,.98,1]});e.relativeToViewport({top:-this.stickyTop}),e.observe("."+this.elClass,(function(e){t.enable&&t.setFixed(e.boundingClientRect.top)})),this.contentObserver=e},setFixed:function(t){var e=t=this.total||(this.params.page+=1,this.getArticleList())},onPullDownRefresh:function(){this.refreshArticleList(),uni.stopPullDownRefresh()},methods:{searchArticle:function(t){this.params.key_word=t,this.refreshArticleList()},refreshArticleList:function(){this.params.page=1,this.articleList=[],this.getArticleList()},getArticleList:function(){var t=this;return(0,a.default)((0,s.default)().mark((function e(){var n,i,a;return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,o.getArticleList)(t.params);case 2:n=e.sent,i=n.total_num,a=n.data,t.articleList=[].concat((0,r.default)(t.articleList),(0,r.default)(a)),t.total=null!==i&&void 0!==i?i:0;case 7:case"end":return e.stop()}}),e)})))()},toggleReadMore:function(t){var e=this.articleList[t];e.toggle=!e.toggle,this.$set(this.articleList,t,e)}}};e.default=c}}]);