(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/title-bar/title-bar"],{"12ae":function(t,e,n){"use strict";(function(t){var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n("7ca3")),i=n("8f59");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var u={name:"titleBar",props:{title:{type:String,default:""},backgroundColor:{type:String,default:"#fff"},frontColor:{type:String,default:"black"},showBack:{type:Boolean,default:!1},positionMode:{type:String,default:"sticky"}},data:function(){return{statusBarHeight:0,titleBarHeight:0,titleFontSize:16}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,a.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,i.mapState)({isHideBtn:function(t){var e=t.app.tabBarList,n=getCurrentPages(),r=!1;if(n&&n.length){var a="/"+n[n.length-1].route;if(e.length)for(var i in e)a==e[i].path&&(r=!0)}return r}})),mounted:function(){var e=t.getSystemInfoSync();this.titleFontSize=e.fontSizeSetting||16,this.statusBarHeight=e.statusBarHeight;var n=t.getMenuButtonBoundingClientRect();this.titleBarHeight=2*(n.top-this.statusBarHeight)+n.height},watch:{title:{handler:function(t){},immediate:!0,deep:!0}},methods:{goBack:function(){1==getCurrentPages().length?t.switchTab({url:"/pages/index/index"}):t.navigateBack()}}};e.default=u}).call(this,n("df3c")["default"])},"36d9":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement;this._self._c},a=[]},"66a2":function(t,e,n){"use strict";n.r(e);var r=n("12ae"),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},"69c7":function(t,e,n){"use strict";n.r(e);var r=n("36d9"),a=n("66a2");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("e4d6");var o=n("828b"),u=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=u.exports},e4d6:function(t,e,n){"use strict";var r=n("fb7b"),a=n.n(r);a.a},fb7b:function(t,e,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'pages/component/title-bar/title-bar-create-component',
    {
        'pages/component/title-bar/title-bar-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("69c7"))
        })
    },
    [['pages/component/title-bar/title-bar-create-component']]
]);
