You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
2.6 KiB
10 lines
2.6 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/diy/components/tabNav"],{"0850":function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e("1579"),a={name:"tabNav",props:{dataConfig:{type:Object,default:function(){}},isFixed:{type:Boolean|String|Number,default:!1}},data:function(){return{tabTitle:[],tabLeft:0,isWidth:0,tabClick:0,isLeft:0,bgColor:this.dataConfig.bgColor.color,mbConfig:this.dataConfig.mbConfig.val,txtColor:this.dataConfig.txtColor.color[0].item,fixedTop:0,isTop:0,navHeight:0}},created:function(){var i=this;i.getAllCategory(),t.getSystemInfo({success:function(t){i.isWidth=t.windowWidth/5}})},methods:{longClick:function(t,i){this.tabTitle.length>5&&(this.tabLeft=(i-2)*this.isWidth),this.tabClick=i,this.isLeft=i*this.isWidth,this.$emit("bindSortId",t.id)},getAllCategory:function(){var i=this,e=this;(0,n.getCategoryList)().then((function(n){n.data.unshift({id:-99,cate_name:"首页"}),e.tabTitle=n.data,setTimeout((function(n){var a=t.createSelectorQuery().in(i);a.select(".navTabBox").boundingClientRect((function(t){e.domOffsetTop=t.top,e.navHeight=t.height,e.$emit("bindHeight",t)})).exec()}),200),i.isTop=t.getSystemInfoSync().statusBarHeight+43+"px"}))}}};i.default=a}).call(this,e("543d")["default"])},4487:function(t,i,e){"use strict";e.r(i);var n=e("d0d4"),a=e("67ba");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("61cc");var c=e("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);i["default"]=r.exports},5754:function(t,i,e){},"61cc":function(t,i,e){"use strict";var n=e("5754"),a=e.n(n);a.a},"67ba":function(t,i,e){"use strict";e.r(i);var n=e("0850"),a=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a},d0d4:function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=(t._self._c,t.__map(t.tabTitle,(function(i,e){var n=t.__get_orig(i),a=t.$t(i.cate_name);return{$orig:n,m0:a}})));t.$mp.data=Object.assign({},{$root:{l0:e}})},a=[]}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'pages/index/diy/components/tabNav-create-component',
|
|
{
|
|
'pages/index/diy/components/tabNav-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('543d')['createComponent'](__webpack_require__("4487"))
|
|
})
|
|
},
|
|
[['pages/index/diy/components/tabNav-create-component']]
|
|
]);
|
|
|