uni-Identify-quality/unpackage/dist/dev/mp-weixin/uview-ui/components/u-tabbar/u-tabbar.js
2023-10-07 17:54:23 +08:00

12 lines
3.9 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uview-ui/components/u-tabbar/u-tabbar"],{514:function(e,t,n){"use strict";n.r(t);var r=n(515),u=n(517);for(var o in u)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return u[e]}))}(o);n(520);var i,a=n(33),c=Object(a["default"])(u["default"],r["render"],r["staticRenderFns"],!1,null,"180fb800",null,!1,r["components"],i);c.options.__file="uview-ui/components/u-tabbar/u-tabbar.vue",t["default"]=c.exports},515:function(e,t,n){"use strict";n.r(t);var r=n(516);n.d(t,"render",(function(){return r["render"]})),n.d(t,"staticRenderFns",(function(){return r["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return r["recyclableRender"]})),n.d(t,"components",(function(){return r["components"]}))},516:function(e,t,n){"use strict";var r;n.r(t),n.d(t,"render",(function(){return u})),n.d(t,"staticRenderFns",(function(){return i})),n.d(t,"recyclableRender",(function(){return o})),n.d(t,"components",(function(){return r}));try{r={uSafeBottom:function(){return Promise.all([n.e("common/vendor"),n.e("uview-ui/components/u-safe-bottom/u-safe-bottom")]).then(n.bind(null,569))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var u=function(){var e=this,t=e.$createElement,n=(e._self._c,e.__get_style([e.tabbarStyle]));e.$mp.data=Object.assign({},{$root:{s0:n}})},o=!1,i=[];u._withStripped=!0},517:function(e,t,n){"use strict";n.r(t);var r=n(518),u=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=u.a},518:function(e,t,n){"use strict";(function(e){var r=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(n(63)),o=r(n(65)),i=r(n(519)),a={name:"u-tabbar",mixins:[e.$u.mpMixin,e.$u.mixin,i.default],data:function(){return{placeholderHeight:0}},computed:{tabbarStyle:function(){var t={zIndex:this.zIndex};return e.$u.deepMerge(t,e.$u.addStyle(this.customStyle))},updateChild:function(){return[this.value,this.activeColor,this.inactiveColor]},updatePlaceholder:function(){return[this.fixed,this.placeholder]}},watch:{updateChild:function(){this.updateChildren()},updatePlaceholder:function(){this.setPlaceholderHeight()}},created:function(){this.children=[]},mounted:function(){this.setPlaceholderHeight()},methods:{updateChildren:function(){this.children.length&&this.children.map((function(e){return e.updateFromParent()}))},setPlaceholderHeight:function(){var t=this;return(0,o.default)(u.default.mark((function n(){return u.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.fixed&&t.placeholder){n.next=2;break}return n.abrupt("return");case 2:return n.next=4,e.$u.sleep(20);case 4:t.$uGetRect(".u-tabbar__content").then((function(e){var n=e.height,r=void 0===n?50:n;t.placeholderHeight=r}));case 5:case"end":return n.stop()}}),n)})))()}}};t.default=a}).call(this,n(2)["default"])},520:function(e,t,n){"use strict";n.r(t);var r=n(521),u=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);t["default"]=u.a},521:function(e,t,n){}}]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/uview-ui/components/u-tabbar/u-tabbar.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uview-ui/components/u-tabbar/u-tabbar-create-component',
{
'uview-ui/components/u-tabbar/u-tabbar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(514))
})
},
[['uview-ui/components/u-tabbar/u-tabbar-create-component']]
]);