12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uview-ui/components/u-tabbar-item/u-tabbar-item"],{"12fc":function(t,n,e){"use strict";e.r(n);var a=e("ab8f"),i=e("95bf");for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("5c3b");var r,c=e("f0c5"),o=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"9ce268ec",null,!1,a["a"],r);n["default"]=o.exports},"5c3b":function(t,n,e){"use strict";var a=e("958e"),i=e.n(a);i.a},"7e82":function(t,n,e){"use strict";(function(t){var a=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=a(e("65de")),u={name:"u-tabbar-item",mixins:[t.$u.mpMixin,t.$u.mixin,i.default],data:function(){return{isActive:!1,parentData:{value:null,activeColor:"",inactiveColor:""}}},created:function(){this.init()},methods:{init:function(){this.updateParentData(),this.parent||t.$u.error("u-tabbar-item必须搭配u-tabbar组件使用");var n=this.parent.children.indexOf(this);this.isActive=(this.name||n)===this.parentData.value},updateParentData:function(){this.getParentData("u-tabbar")},updateFromParent:function(){this.init()},clickHandler:function(){var t=this;this.$nextTick((function(){var n=t.parent.children.indexOf(t),e=t.name||n;e!==t.parent.value&&t.parent.$emit("change",e),t.$emit("click",e)}))}}};n.default=u}).call(this,e("543d")["default"])},"958e":function(t,n,e){},"95bf":function(t,n,e){"use strict";e.r(n);var a=e("7e82"),i=e.n(a);for(var u in a)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(u);n["default"]=i.a},ab8f:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return a}));var a={uIcon:function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u-icon/u-icon")]).then(e.bind(null,"01eb"))},uBadge:function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u-badge/u-badge")]).then(e.bind(null,"eb50"))}},i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.__get_style([t.$u.addStyle(t.customStyle)]));t.$mp.data=Object.assign({},{$root:{s0:e}})},u=[]}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'uview-ui/components/u-tabbar-item/u-tabbar-item-create-component',
- {
- 'uview-ui/components/u-tabbar-item/u-tabbar-item-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('543d')['createComponent'](__webpack_require__("12fc"))
- })
- },
- [['uview-ui/components/u-tabbar-item/u-tabbar-item-create-component']]
- ]);
|