(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9b583578"],{4829:function(t,e,n){},"5af5":function(t,e,n){},"8a78":function(t,e,n){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"ids-homepage-action"},[e("div",{staticClass:"icons"},[e("section",[e("swiper",{staticClass:"ids-swiper-blue",attrs:{options:t.swiperOption}},[t._l(t.pages,(function(n,i){return e("swiper-slide",{key:i,style:{height:t.pageHeight}},[e("ul",{staticClass:"icons-ul"},t._l(n,(function(n){return e("li",{key:n.id,staticClass:"icons-li"},[e("div",{staticClass:"icons-link",on:{click:function(e){return t.Go(n,n.click.params,n.click.pageName)}}},[e("img",{staticClass:"icons-img",attrs:{src:n.icon,alt:""}}),e("span",[t._v(t._s(n.title))])])])})),0)])})),t.pages.length>1?e("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"},t._l(t.pages.length,(function(t){return e("span",{key:t})})),0):t._e()],2)],1)])])},a=[],o=(n("dfa4"),n("7212")),s=n("4532"),c=n("7e35"),l={name:"iDS-HomePageAction",components:{swiper:o["swiper"],swiperSlide:o["swiperSlide"]},props:{title:{type:String,default:"首页功能页面按钮"},pageActionCount:{type:Number,default:8}},data:function(){return{swiperOption:{pagination:{el:".swiper-pagination"}}}},computed:{pages:function(){var t=this,e=[];return console.log(s["a"].vm.getUserRoleGroup().homepage_contents.length),s["a"].vm.getUserRoleGroup().homepage_contents.forEach((function(n,i){var a=Math.floor(i/t.pageActionCount);e[a]||(e[a]=[]),e[a].push(n)})),e},pageHeight:function(){return"calc(".concat(80*(Math.floor((parseInt(this.pageActionCount)-1)/4)+1),"px")}},methods:{Go:function(t,e,n){c["a"].set("pageName",n),this.$router.push({name:e,params:{pageName:n}})}},created:function(){console.log("调试代码")},mounted:function(){}},u=l,r=(n("ebe6"),n("2877")),p=Object(r["a"])(u,i,a,!1,null,null,null);e["a"]=p.exports},"9cbd":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("pull-to",{staticClass:"ccn-home-page",style:{height:t.height},attrs:{"top-config":t.TOP_DEFAULT_CONFIG,"bottom-config":t.BOTTOM_DEFAULT_CONFIG}},[e("iDSHomePageAction",{attrs:{pageActionCount:8}})],1)},a=[],o=n("3cc5"),s=n("897d"),c=n.n(s),l=n("4532"),u=(n("aed0"),n("8a78")),r={name:"ccn-homePage",components:{PullTo:c.a,iDSHomePageAction:u["a"]},data:function(){return{TOP_DEFAULT_CONFIG:o["a"].TOP_DEFAULT_CONFIG,BOTTOM_DEFAULT_CONFIG:o["a"].BOTTOM_DEFAULT_CONFIG}},computed:{height:function(){return"calc(".concat(window.innerHeight,"px - 48px - 36px ")+")"}},methods:{changeView:function(){l["a"].vm.setTitle("首页"),l["a"].vm.setBackDisabled(!0),l["a"].vm.setBackIcon(""),l["a"].vm.setBottomNavVisible(!0),l["a"].vm.setBottomBtnVisible(!1),l["a"].vm.setContentHeight({value:"calc(".concat(window.innerHeight,"px - 48px - ").concat(l["a"].vm.getContentBottomHeight()," ")+")"}),l["a"].vm.setMenuDisabled(!0)}},created:function(){console.log("调试代码"),null!=l["a"].vm.getUserToken()&&null!=l["a"].vm.getUserId()?this.changeView():window.location.href="/"},mounted:function(){},beforeDestroy:function(){l["a"].vm.setMenuDisabled(!0),l["a"].vm.setMenuItems([]),l["a"].vm.setMenuIcon("")}},p=r,g=(n("e698"),n("2877")),m=Object(g["a"])(p,i,a,!1,null,null,null);e["default"]=m.exports},dfa4:function(t,e,n){},e698:function(t,e,n){"use strict";n("4829")},ebe6:function(t,e,n){"use strict";n("5af5")}}]);