(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{36:function(t,e,n){"use strict";(function(t,e){var r=n(4);n(26);r(n(25));var a=r(n(37));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n(1)["default"],n(2)["createPage"])},37:function(t,e,n){"use strict";n.r(e);var r=n(38),a=n(40);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n(50);var o,c=n(35),u=Object(c["default"])(a["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],o);u.options.__file="pages/index/index.vue",e["default"]=u.exports},38:function(t,e,n){"use strict";n.r(e);var r=n(39);n.d(e,"render",(function(){return r["render"]})),n.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(e,"components",(function(){return r["components"]}))},39:function(t,e,n){"use strict";var r;n.r(e),n.d(e,"render",(function(){return a})),n.d(e,"staticRenderFns",(function(){return o})),n.d(e,"recyclableRender",(function(){return i})),n.d(e,"components",(function(){return r}));var a=function(){var t=this,e=t.$createElement;t._self._c},i=!1,o=[];a._withStripped=!0},40:function(t,e,n){"use strict";n.r(e);var r=n(41),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},41:function(t,e,n){"use strict";(function(t){var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n(42)),i=r(n(44)),o=r(n(11)),c=n(45),u=(n(49),n(28)),s=n(48);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 d(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 l={data:function(){return{carouselList:[""],height:"",swiperCurrent:0,swiperLength:1,dataList:[],dblist:[],pzlist:[]}},computed:d(d({},(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=l}).call(this,n(2)["default"])},50:function(t,e,n){"use strict";n.r(e);var r=n(51),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},51:function(t,e,n){}},[[36,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map