2021-11-10 11:57:11 +08:00

11 lines
2.2 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/tabNav"],{"47bd":function(t,i,n){"use strict";n.r(i);var e=n("f8f0"),a=n.n(e);for(var f in e)"default"!==f&&function(t){n.d(i,t,(function(){return e[t]}))}(f);i["default"]=a.a},"4f3f":function(t,i,n){},"89a6":function(t,i,n){"use strict";n.r(i);var e=n("c460"),a=n("47bd");for(var f in a)"default"!==f&&function(t){n.d(i,t,(function(){return a[t]}))}(f);n("993c");var o,c=n("f0c5"),r=Object(c["a"])(a["default"],e["b"],e["c"],!1,null,"087bf30f",null,!1,e["a"],o);i["default"]=r.exports},"993c":function(t,i,n){"use strict";var e=n("4f3f"),a=n.n(e);a.a},c460:function(t,i,n){"use strict";var e;n.d(i,"b",(function(){return a})),n.d(i,"c",(function(){return f})),n.d(i,"a",(function(){return e}));var a=function(){var t=this,i=t.$createElement;t._self._c},f=[]},f8f0:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=n("f15c"),a=getApp(),f={name:"tabNav",props:{dataConfig:{type:Object,default:function(){}},isFixed:{type:Boolean|String|Number,default:!1}},data:function(){return{tabTitle:[],isIframe:a.globalData.isIframe,tabLeft:0,isWidth:0,tabClick:0,isLeft:0,bgColor:"",mbConfig:45,txtColor:"#333333",fixedTop:0,isTop:0,navHeight:0,isShow:!0}},watch:{dataConfig:{immediate:!0,handler:function(t,i){t&&(this.isShow=t.isShow.val)}}},created:function(){var i=this;i.getAllCategory(),t.getSystemInfo({success:function(t){i.isWidth=100}})},methods:{longClick:function(t,i){this.tabTitle.length>4&&(this.tabLeft=(i-2)*this.isWidth),this.tabClick=i,this.isLeft=i*this.isWidth,this.$emit("bindSortId",t.id)},getAllCategory:function(){var t=this,i=this;(0,e.getCategoryList)().then((function(n){t.$emit("bindSortId",n.data[0].id),i.tabTitle=n.data}))}}};i.default=f}).call(this,n("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/index/components/tabNav-create-component',
{
'pages/index/components/tabNav-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("89a6"))
})
},
[['pages/index/components/tabNav-create-component']]
]);