(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/plugin/tabs"],{"35e7":function(t,e,i){"use strict";i.r(e);var n=i("5804"),a=i.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(u);e["default"]=a.a},5804:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"tuiTabs",props:{tabs:{type:Array,default:function(){return[]}},height:{type:Number,default:80},padding:{type:Number,default:30},bgColor:{type:String,default:"#FFFFFF"},isFixed:{type:Boolean,default:!1},top:{type:Number,default:0},unlined:{type:Boolean,default:!1},currentTab:{type:Number,default:0},sliderWidth:{type:Number,default:68},sliderHeight:{type:Number,default:6},sliderRadius:{type:String,default:"50rpx"},bottom:{type:String,default:"0"},itemWidth:{type:String,default:"25%"},color:{type:String,default:"#999"},size:{type:Number,default:28},bold:{type:Boolean,default:!1},borderLeft:{type:Boolean,default:!1},isAdd:{type:Boolean,default:!1},addIcon:{type:String,default:"icontianjiakehu"},addText:{type:String,default:"添加"},isBoxShadow:{type:Boolean,default:!0}},watch:{currentTab:function(){this.checkCor()}},created:function(){var e=this;setTimeout((function(){t.getSystemInfo({success:function(t){e.winWidth=t.windowWidth,e.checkCor()}})}),50)},data:function(){return{winWidth:0,scrollLeft:0,addTabWidth:130}},computed:{},methods:{checkCor:function(){var e=this.isAdd?t.upx2px(this.addTabWidth+30):0,i=this.tabs.length,n=this.winWidth/750*this.padding,a=this.winWidth-2*n-e,u=(a/i-this.winWidth/750*this.sliderWidth)/2+n,d=u;this.currentTab>0&&(d+=a/i*this.currentTab),this.scrollLeft=d},swichTabs:function(t,e){var i=this.tabs[e];if(!i||!i.disabled)return this.currentTab!=e&&void this.$emit("change",{index:Number(e),item:t})},add:function(){this.$emit("add")}}};e.default=i}).call(this,i("1480")["default"])},"5b98":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return u})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement;t._self._c},u=[]},"62eb":function(t,e,i){"use strict";var n=i("9ef2"),a=i.n(n);a.a},"9ef2":function(t,e,i){},f58d:function(t,e,i){"use strict";i.r(e);var n=i("5b98"),a=i("35e7");for(var u in a)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(u);i("62eb");var d,r=i("41a2"),o=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"08736473",null,!1,n["a"],d);e["default"]=o.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/plugin/tabs-create-component',
    {
        'components/plugin/tabs-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('1480')['createComponent'](__webpack_require__("f58d"))
        })
    },
    [['components/plugin/tabs-create-component']]
]);
