(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/homeIndex/cateNav"],{1368:function(t,e,i){"use strict";var n=i("9867"),o=i.n(n);o.a},"5d99":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.boxStyle]));this.$mp.data=Object.assign({},{$root:{s0:e}})},o=[]},9867:function(t,e,i){},a129:function(t,e,i){"use strict";i.r(e);var n=i("fc5e"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},ab07:function(t,e,i){"use strict";i.r(e);var n=i("5d99"),o=i("a129");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("1368");var c=i("828b"),s=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"2eb2c8fb",null,!1,n["a"],void 0);e["default"]=s.exports},fc5e:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i("3c22");var n=getApp(),o={name:"tabNav",props:{dataConfig:{type:Object,default:function(){}},isFixed:{type:Boolean,default:!1}},data:function(){return{tabClick:0,isLeft:0,isWidth:0,mainWidth:0,tabLeft:0,isTop:0,navHeight:35,tabItem:null,themeColor:this.$options.filters.filterTheme(n.globalData.theme)}},computed:{boxStyle:function(){return{borderRadius:2*this.dataConfig.bgStyle.val+"rpx",background:"linear-gradient(".concat(this.dataConfig.bgColor.color[0].item,", ").concat(this.dataConfig.bgColor.color[1].item,")")}},fontColor:function(){return this.dataConfig.fontColor.color[0].item},checkColor:function(){return this.dataConfig.themeStyleConfig.tabVal?this.dataConfig.checkColor.color[0].item:this.themeColor},tabList:function(){var t=this.dataConfig.listConfig.list;return t.unshift({title:"首页",type:2,val:0}),t}},created:function(){var e=this,i=this;t.getSystemInfo({success:function(t){i.isWidth=t.windowWidth/5}}),setTimeout((function(n){var o=t.getSystemInfoSync().statusBarHeight,a=t.createSelectorQuery().in(e);a.select(".navTabBox").boundingClientRect((function(t){i.navHeight=2*(t.height+o)})).exec()}),300),i.$nextTick((function(){t.getSystemInfo({success:function(t){i.windowHeight=t.windowHeight}})})),this.isTop=t.getSystemInfoSync().statusBarHeight+43+"px"},watch:{tabClick:{handler:function(t,e){this.tabItem&&this.$emit("changeTab",t,this.tabItem)},immediate:!0}},methods:{longClick:function(t,e){var i=this;this.tabItem=e,this.tabClick=t,this.$nextTick((function(){i.tabLeft=(t-2)*i.isWidth}))}}};e.default=o}).call(this,i("df3c")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/homeIndex/cateNav-create-component',
    {
        'components/homeIndex/cateNav-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("ab07"))
        })
    },
    [['components/homeIndex/cateNav-create-component']]
]);
