(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"220a":function(t,e,n){"use strict";var r=n("50f6"),a=n.n(r);a.a},"50f6":function(t,e,n){},"5aa1":function(t,e,n){"use strict";(function(t,e){var r=n("4ea4");n("3e59");r(n("66fd"));var a=r(n("e110"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},8319:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement;this._self._c},a=[]},"8bbb":function(t,e,n){"use strict";n.r(e);var r=n("fb11"),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},e110:function(t,e,n){"use strict";n.r(e);var r=n("8319"),a=n("8bbb");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("220a");var o=n("f0c5"),c=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=c.exports},fb11:function(t,e,n){"use strict";(function(t){var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n("2eee")),i=r(n("c973")),o=r(n("9523")),c=n("b4e9"),u=(n("2280"),n("26cb")),s=n("3647");function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var d={data:function(){return{carouselList:[""],height:"",swiperCurrent:0,swiperLength:1,dataList:[],dblist:[],pzlist:[]}},computed:l(l({},(0,u.mapState)(["loginInterceptor"])),(0,u.mapState)("user",["hasLogin","userInfo"])),onLoad:function(e){e.scene&&t.setStorage({key:"spread_code",data:e.scene})},onShow:function(){this.loginInterceptor&&!this.hasLogin?(0,s.interceptor)():this.loadData()},onPullDownRefresh:function(){this.loadData()},methods:{loadData:function(){var t=this;return(0,i.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:(0,c.loadIndexs)({}).then((function(e){var n=e.data;t.carouselList=n.banner})).catch((function(t){})),(0,c.cate)({type:1}).then((function(e){var n=e.data;t.pzlist=n})),(0,c.cate)({type:2}).then((function(e){var n=e.data;t.dblist=n})),(0,c.articleList)({page:1,limit:1e4},1).then((function(e){var n=e.data;t.dataList=n,console.log(n,"123456")}));case 4:case"end":return e.stop()}}),e)})))()},swiperChange:function(t){var e=t.detail.current;this.swiperCurrent=e},navTo:function(e){this.hasLogin?t.navigateTo({url:e}):((0,s.saveUrl)(),(0,s.interceptor)())},navto:function(e){t.navigateTo({url:"/pages/index/info?id="+e.id})}}};e.default=d}).call(this,n("543d")["default"])}},[["5aa1","common/runtime","common/vendor"]]]);