tabs.js 2.5 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/widgets/category/tabs"],{"67eb":function(t,e,n){"use strict";n.r(e);var i=n("a38e"),a=n("8691");for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n("fed4");var o=n("828b"),u=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"d0154774",null,!1,i["a"],void 0);e["default"]=u.exports},8691:function(t,e,n){"use strict";n.r(e);var i=n("acd5"),a=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=a.a},"90fd":function(t,e,n){},a38e:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return i}));var i={uIcon:function(){return n.e("components/uview-ui/components/u-icon/u-icon").then(n.bind(null,"1340"))},uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"566d"))}},a=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.categoryLists,(function(e,n){var i=t.__get_orig(e),a=e.name.slice(0,4);return{$orig:i,g0:a}}))),i=t.__map(t.categoryLists,(function(e,n){var i=t.__get_orig(e),a=e.name.slice(0,4);return{$orig:i,g1:a}}));t.$mp.data=Object.assign({},{$root:{l0:n,l1:i}})},c=[]},acd5:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{categoryLists:{type:Array,default:function(){return[]}},height:{type:Number,default:0},tabbarHeight:{type:Number,default:0},selectIndex:{type:Number,default:0}},emit:["change"],data:function(){return{show:0,showheight:0,scrollLeft:0,activeIndex:0}},watch:{selectIndex:{handler:function(t){this.activeIndex=t},immediate:!0}},methods:{InchangeActive:function(t){this.scrollLeft=110*t-10+"rpx",this.handleShow(),this.activeIndex=t,this.$emit("change",t)},changeActive:function(t){this.scrollLeft=110*t-10+"rpx",this.activeIndex=t,this.$emit("change",t)},handleShow:function(){this.show=1==this.show?0:1,this.showheight=this.show?this.height+this.tabbarHeight+"px":0}},computed:{},created:function(){}};e.default=i},fed4:function(t,e,n){"use strict";var i=n("90fd"),a=n.n(i);a.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/widgets/category/tabs-create-component',
  4. {
  5. 'components/widgets/category/tabs-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('df3c')['createComponent'](__webpack_require__("67eb"))
  7. })
  8. },
  9. [['components/widgets/category/tabs-create-component']]
  10. ]);