This commit is contained in:
2025-06-13 20:48:15 +08:00
parent 52e34ffd7c
commit 1e0b2b125b
403 changed files with 16069 additions and 0 deletions
@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-tabbar/u-tabbar"],{"10a8":function(t,e,n){"use strict";n.r(e);var u=n("22c4"),i=n("9775");for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("5338");var r=n("828b"),c=Object(r["a"])(i["default"],u["b"],u["c"],!1,null,"2a5dc234",null,!1,u["a"],void 0);e["default"]=c.exports},"22c4":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return u}));var u={uSafeBottom:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom")]).then(n.bind(null,"4208"))}},i=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.tabbarStyle]));this.$mp.data=Object.assign({},{$root:{s0:e}})},a=[]},"256d":function(t,e,n){},5338:function(t,e,n){"use strict";var u=n("256d"),i=n.n(u);i.a},9775:function(t,e,n){"use strict";n.r(e);var u=n("f9ec"),i=n.n(u);for(var a in u)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(a);e["default"]=i.a},f9ec:function(t,e,n){"use strict";(function(t){var u=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=u(n("7eb4")),a=u(n("ee10")),r=u(n("d61c")),c={name:"u-tabbar",mixins:[t.$u.mpMixin,t.$u.mixin,r.default],data:function(){return{placeholderHeight:0}},computed:{tabbarStyle:function(){var e={zIndex:this.zIndex};return t.$u.deepMerge(e,t.$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(t){return t.updateFromParent()}))},setPlaceholderHeight:function(){var e=this;return(0,a.default)(i.default.mark((function n(){return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.fixed&&e.placeholder){n.next=2;break}return n.abrupt("return");case 2:return n.next=4,t.$u.sleep(20);case 4:e.$uGetRect(".u-tabbar__content").then((function(t){var n=t.height,u=void 0===n?50:n;e.placeholderHeight=u}));case 5:case"end":return n.stop()}}),n)})))()}}};e.default=c}).call(this,n("df3c")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'uni_modules/uview-ui/components/u-tabbar/u-tabbar-create-component',
{
'uni_modules/uview-ui/components/u-tabbar/u-tabbar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("10a8"))
})
},
[['uni_modules/uview-ui/components/u-tabbar/u-tabbar-create-component']]
]);
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"u-safe-bottom": "/uni_modules/uview-ui/components/u-safe-bottom/u-safe-bottom"
}
}
@@ -0,0 +1 @@
<view class="u-tabbar data-v-2a5dc234"><view data-ref="u-tabbar__content" data-event-opts="{{[['touchmove',[['noop',['$event']]]]]}}" class="{{['u-tabbar__content','data-v-2a5dc234','vue-ref',border&&'u-border-top',fixed&&'u-tabbar--fixed']}}" style="{{$root.s0}}" catchtouchmove="__e"><view class="u-tabbar__content__item-wrapper data-v-2a5dc234"><slot></slot></view><block wx:if="{{safeAreaInsetBottom}}"><u-safe-bottom vue-id="3126b186-1" class="data-v-2a5dc234" bind:__l="__l"></u-safe-bottom></block></view><block wx:if="{{placeholder}}"><view class="u-tabbar__placeholder data-v-2a5dc234" style="{{'height:'+(placeholderHeight+'px')+';'}}"></view></block></view>
File diff suppressed because one or more lines are too long