(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-44de6488"],{"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)])])},o=[],a=(n("dfa4"),n("7212")),s=n("4532"),c=n("7e35"),l={name:"iDS-HomePageAction",components:{swiper:a["swiper"],swiperSlide:a["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 o=Math.floor(i/t.pageActionCount);e[o]||(e[o]=[]),e[o].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(){}},r=l,u=(n("ebe6"),n("2877")),p=Object(u["a"])(r,i,o,!1,null,null,null);e["a"]=p.exports},ab18:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("pull-to",{staticClass:"ids-homepage-oms-root",style:{height:t.height},attrs:{"top-load-method":t.refresh,"top-config":t.TOP_DEFAULT_CONFIG,"bottom-config":t.BOTTOM_DEFAULT_CONFIG}},[e("div",{staticClass:"ids-homepage-oms"},[e("iDSHomePageAction",{attrs:{pageActionCount:8}})],1)])},o=[],a=n("897d"),s=n.n(a),c=n("4532"),l=n("3cc5"),r=(n("8a78"),{name:"iDS-HomePageOms",components:{PullTo:s.a},data:function(){return{TOP_DEFAULT_CONFIG:l["a"].TOP_DEFAULT_CONFIG,BOTTOM_DEFAULT_CONFIG:l["a"].BOTTOM_DEFAULT_CONFIG,flag:!0}},computed:{height:function(){return"calc(".concat(window.innerHeight,"px - 48px - ").concat(c["a"].vm.getContentBottomHeight()," ")+")"},width:function(){return"calc(".concat(window.innerwidth,"px ")+")"}},methods:{refresh:function(t){var e=this;null!=t&&t("done"),this.flag=!1,this.$nextTick((function(){e.flag=!0}))},changeView:function(){c["a"].vm.setTitle("首页"),c["a"].vm.setBackDisabled(!0),c["a"].vm.setBackIcon(""),c["a"].vm.setBottomNavVisible(!0),c["a"].vm.setBottomBtnVisible(!1),c["a"].vm.setContentHeight({value:"calc(".concat(window.innerHeight,"px - 48px - ").concat(c["a"].vm.getContentBottomHeight()," ")+")"}),c["a"].vm.setMenuDisabled(!0)}},created:function(){null!=c["a"].vm.getUserToken()&&null!=c["a"].vm.getUserId()?(c["a"].vm.setHomePageRoute("homepageoms"),this.changeView()):window.location.href="/"},mounted:function(){},destroyed:function(){}}),u=r,p=(n("c002"),n("2877")),g=Object(p["a"])(u,i,o,!1,null,null,null);e["default"]=g.exports},c002:function(t,e,n){"use strict";n("d532")},d532:function(t,e,n){},dfa4:function(t,e,n){},ebe6:function(t,e,n){"use strict";n("5af5")}}]);