(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/news-list/news-list"],{3598:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("bcb6"),a={data:function(){return{dataList:[],height:0,hideEmptyView:!0,completeFunc:null}},props:{tabIndex:{type:Number,default:function(){return 0}},currentIndex:{type:Number,default:function(){return 0}},title:{type:String,default:function(){return""}}},watch:{currentIndex:{handler:function(t){var e=this;t===this.tabIndex&&setTimeout((function(){e.$refs.paging.reload()}),100)},immediate:!0}},methods:{formatName:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7;return t.length>e?t.substring(0,e-1)+"...":t},toDetail:function(e){t.navigateTo({url:"../../pages/newsDetail/newsDetail?id=".concat(e)})},formatTitle:function(t){var e=/1(\d{2})\d{4}(\d{4})/g;return t=t.replace(e,"1$1****$2"),t.length>105?t.substring(0,104)+"...":t},queryList:function(t,e){var n=this,a=[2,1,4],r={pageNumber:t,pageSize:e,ascription:1,multiSource:a[this.tabIndex],title:this.title,status:1};(0,i.findPage)(r).then((function(t){if(200==t.data.state){var e=t.data.data.pageRecords.map((function(t){return t.clueInfoList=t.clueInfoList.filter((function(t){return 0!==t.type})),t}));console.log(e),n.$refs.paging.complete(e)}else n.$refs.paging.complete([]);n.hideEmptyView=!1,n.completeFunc&&n.completeFunc()}),(function(t){n.$refs.paging.complete(!1),n.completeFunc&&n.completeFunc()}))},reload:function(t){this.completeFunc=t,this.$refs.paging.reload()},contentHeightChanged:function(t){var e=this.dataList.length?t:0;this.$emit("heightChanged",e)},doLoadMore:function(){this.$refs.paging.doLoadMore()},clear:function(){this.$refs.paging.clear(),this.hideEmptyView=!0}}};e.default=a}).call(this,n("543d")["default"])},"74ed":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={zPaging:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/z-paging/components/z-paging/z-paging")]).then(n.bind(null,"03e8"))}},a=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.dataList,(function(e,n){var i=t.__get_orig(e),a=t.formatTitle(e.title),r=3==t.tabIndex?t.formatName(e.author):null;return{$orig:i,m0:a,m1:r}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},r=[]},"83a7":function(t,e,n){"use strict";var i=n("d75f"),a=n.n(i);a.a},9925:function(t,e,n){"use strict";n.r(e);var i=n("3598"),a=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},d75f:function(t,e,n){},ded7:function(t,e,n){"use strict";n.r(e);var i=n("74ed"),a=n("9925");for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("83a7");var u,o=n("f0c5"),c=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"0c40ca0a",null,!1,i["a"],u);e["default"]=c.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/news-list/news-list-create-component',
    {
        'components/news-list/news-list-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("ded7"))
        })
    },
    [['components/news-list/news-list-create-component']]
]);
