(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mys_navBar/mysNavBar"],{"05c5":function(t,i,n){"use strict";n.r(i);var o=n("d3cb"),a=n.n(o);for(var e in o)"default"!==e&&function(t){n.d(i,t,(function(){return o[t]}))}(e);i["default"]=a.a},7857:function(t,i,n){"use strict";n.r(i);var o=n("8749"),a=n("05c5");for(var e in a)"default"!==e&&function(t){n.d(i,t,(function(){return a[t]}))}(e);n("edba");var c,s=n("f0c5"),h=Object(s["a"])(a["default"],o["b"],o["c"],!1,null,"783e7d7c",null,!1,o["a"],c);i["default"]=h.exports},8749:function(t,i,n){"use strict";var o;n.d(i,"b",(function(){return a})),n.d(i,"c",(function(){return e})),n.d(i,"a",(function(){return o}));var a=function(){var t=this,i=t.$createElement;t._self._c;t._isMounted||(t.e0=function(i){t.mysNavConfig.searchConfig.ctype})},e=[]},c68b:function(t,i,n){},d3cb:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n="/pages/tasksquare/tasksquare",o="",a="/static/img/png2.png",e={props:{mysNavConfig:{type:Object,default:function(){return{navFixed:!0,isHome:!0,navPadding:!0,bgColor:"#f8f8f8",opacity:1,isOpacity:!1,opacityTime:100,btnType:"type1",onLeftClick:"",leftText:{text:"",color:"",fontSize:"",fontWeight:""},navTitle:{text:"",color:"",fontSize:"32rpx",fontWeight:""},type2Config:{leftPath:"/static/back_w.png",rightPath:"/static/home.png",radius:"40rpx"}}}},scrollTop:{type:Number,default:function(){return 0}}},data:function(){return{iconW:void 0,iconH:void 0,btnWidth:void 0,btnHeight:void 0,navBarTop:void 0,navBarHeight:void 0,navBarLeft:void 0,navBarRight:void 0,inputHeight:void 0,opacity:0,isHome:!1,homeIconPath:o,backIconPath:a}},computed:{isSharePage:function(){}},watch:{scrollTop:function(t){this.mysNavConfig.isOpacity&&this.setOpacity(t,this.mysNavConfig.opacityTime)}},methods:{init:function(){if(this.mysNavConfig.isHome){var i=getCurrentPages().length;this.isHome=1==i}this.navBarTop=t.getSystemInfoSync().statusBarHeight+"px",this.mysNavConfig.opacity?(this.opacity=this.mysNavConfig.opacity,this.mysNavConfig.isOpacity&&(this.mysNavConfig.navFixed=!0,this.opacity=0)):(this.opacity=1,this.mysNavConfig.isOpacity?(this.mysNavConfig.navFixed=!0,this.opacity=0):this.opacity=1),this.initMP()},initMP:function(){var i=t.getSystemInfoSync(),n=t.getMenuButtonBoundingClientRect(),o=n.height;this.btnWidth=n.width+"px",this.iconW=Math.floor(n.width/4-5)+"px",this.iconH=o/2+"px",this.btnHeight=o+"px",this.inputHeight=o-3+"px",this.navBarTop=n.top+"px",this.navBarLeft=i.screenWidth-n.right+"px",this.navBarRight=i.screenWidth-n.right+n.width+"px",this.navBarHeight=i.statusBarHeight+o+2*(n.top-i.statusBarHeight)+"px"},onLeftClick:function(){this.mysNavConfig.isCustomFn?this.$emit("onLeftClick"):""==this.mysNavConfig.onLeftClick?(console.log("back"),t.navigateBack()):(console.log(this.mysNavConfig.onLeftClick),t.switchTab({url:this.mysNavConfig.onLeftClick}))},onLeftHome:function(){t.switchTab({url:n})},onRightClick:function(){console.log("onRightClick"),t.showToast({title:"onRightClick",duration:1e3}),this.$emit("onRightClick")},setOpacity:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60;t>0?(t<i&&(this.opacity=t/i),t>i&&(this.opacity=1)):this.opacity=0},changeInput:function(t){this.$emit("changeInput",t)},submitInput:function(t){this.$emit("submitInput",t)},clearInput:function(){this.$emit("clearInput")},clickInput:function(){this.$emit("clickInput")}},created:function(){this.init()},onReady:function(){}};i.default=e}).call(this,n("543d")["default"])},edba:function(t,i,n){"use strict";var o=n("c68b"),a=n.n(o);a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/mys_navBar/mysNavBar-create-component',
    {
        'components/mys_navBar/mysNavBar-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("7857"))
        })
    },
    [['components/mys_navBar/mysNavBar-create-component']]
]);
