(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/news/news"],{193:function(e,t,n){"use strict";(function(e,t){var i=n(4);n(26);i(n(25));var o=i(n(194));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n(1)["default"],n(2)["createPage"])},194:function(e,t,n){"use strict";n.r(t);var i=n(195),o=n(197);for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);n(199);var s,u=n(32),c=Object(u["default"])(o["default"],i["render"],i["staticRenderFns"],!1,null,"c454de34",null,!1,i["components"],s);c.options.__file="pages/news/news.vue",t["default"]=c.exports},195:function(e,t,n){"use strict";n.r(t);var i=n(196);n.d(t,"render",(function(){return i["render"]})),n.d(t,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(t,"components",(function(){return i["components"]}))},196:function(e,t,n){"use strict";var i;n.r(t),n.d(t,"render",(function(){return o})),n.d(t,"staticRenderFns",(function(){return s})),n.d(t,"recyclableRender",(function(){return r})),n.d(t,"components",(function(){return i}));try{i={uNavbar:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-navbar/u-navbar")]).then(n.bind(null,313))},uLoadmore:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-loadmore/u-loadmore")]).then(n.bind(null,345))},uInput:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-input/u-input")]).then(n.bind(null,470))},uSwiper:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-swiper/u-swiper")]).then(n.bind(null,478))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var o=function(){var e=this,t=e.$createElement;e._self._c},r=!1,s=[];o._withStripped=!0},197:function(e,t,n){"use strict";n.r(t);var i=n(198),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=o.a},198:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(166),o=function(){n.e("pages/home/cpns/info-list").then(function(){return resolve(n(370))}.bind(null,n)).catch(n.oe)},r=function(){n.e("pages/news/cpns/news-topic-nav").then(function(){return resolve(n(486))}.bind(null,n)).catch(n.oe)},s=function(){n.e("pages/news/cpns/topic-list").then(function(){return resolve(n(390))}.bind(null,n)).catch(n.oe)},u={components:{InfoList:o,NewsTopicNav:r,TopicList:s},data:function(){return{tabIndex:1,tabList:[{name:"关注",id:"follow"},{name:"话题",id:"topic"}],swiperHeight:0,followList:{loadStatus:"loadmore",list:i.newsList[0].list},topicList:{swiper:[{image:"/static/img/demo/spring.svg",title:"迷人的春天是令人欢欣鼓舞的。"},{image:"/static/img/demo/summer.svg",title:"一道残阳铺水中，半江瑟瑟半江红。"},{image:"/static/img/demo/autumn.svg",title:"金秋的阳光温馨恬静，金秋的微风和煦轻柔。"},{image:"/static/img/demo/winter.svg",title:"风吹过，寒气直侵入骨头。"}],topic:[{title:"最新",id:1},{title:"游戏",id:2},{title:"健身",id:3},{title:"情感",id:4},{title:"故事",id:5},{title:"旅游",id:6}],list:i.topicList[1].list}}},onLoad:function(){var t=this;e.getSystemInfo({success:function(e){t.swiperHeight=e.windowHeight-44}})},methods:{changeTab:function(e){this.tabIndex=e},changeSwiper:function(e){this.tabIndex=e.detail.current},reachBottom:function(){var e=this;"loadmore"===this.followList.loadStatus&&(this.followList.loadStatus="loading",setTimeout((function(){e.getList()}),1e3))},getList:function(e){for(var t=0;t<5;t++){var n=this.$u.random(0,this.followList.list.length-1),i=JSON.parse(JSON.stringify(this.followList.list[n]));this.followList.list.push(i)}this.followList.loadStatus="nomore"},goSearch:function(){this.$u.route("/pages/home/search",{type:"topic"})}}};t.default=u}).call(this,n(2)["default"])},199:function(e,t,n){"use strict";n.r(t);var i=n(200),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);t["default"]=o.a},200:function(e,t,n){}},[[193,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/news/news.js.map