Files
Smart-Farm/front/components/tabbar.js
2025-12-22 17:13:05 +08:00

11 lines
2.9 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/tabbar"],{"0e09":function(t,n,e){"use strict";(function(t){var r=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(e("9523")),c=e("26cb");function i(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function a(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?i(Object(e),!0).forEach((function(n){(0,o.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var f={components:{},props:{cur:{type:String,default:function(){return"0"}}},data:function(){return{}},computed:(0,c.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},commonOptions:function(t){return t.user.commonOptions}}),created:function(){var n=this,e=t.getSystemInfoSync().windowHeight,r=JSON.parse(JSON.stringify(this.configInfo)),o=r.navBarHeight,c=t.createSelectorQuery().in(this);c.select(".custom-tabbar").boundingClientRect((function(t){var c=e-t.height-o;r.curSysHeight=c,r.tabbarHeight=t.height,n.updateConfigItem({key:"configInfo",val:r})})).exec()},methods:a(a({},(0,c.mapMutations)(["updateConfigItem"])),{},{changeTab:function(t){this.$emit("change",t)}})};n.default=f}).call(this,e("543d")["default"])},"154d":function(t,n,e){"use strict";var r=e("3737"),o=e.n(r);o.a},"1a0f":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var r=function(){var t=this,n=t.$createElement,e=(t._self._c,t.configInfo.tabBar[1].name?t.__map(t.configInfo.tabBar,(function(n,e){var r=t.__get_orig(n),o=t.configInfo.tabBar.length;return{$orig:r,g0:o}})):null);t.$mp.data=Object.assign({},{$root:{l0:e}})},o=[]},3737:function(t,n,e){},"9da4":function(t,n,e){"use strict";e.r(n);var r=e("0e09"),o=e.n(r);for(var c in r)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(c);n["default"]=o.a},f696:function(t,n,e){"use strict";e.r(n);var r=e("1a0f"),o=e("9da4");for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);e("154d");var i=e("f0c5"),a=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,"2ec10a1c",null,!1,r["a"],void 0);n["default"]=a.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/tabbar-create-component',
{
'components/tabbar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("f696"))
})
},
[['components/tabbar-create-component']]
]);