(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6cdc4b15"],{"2bb1":function(t,n,e){"use strict";e.r(n);var i,a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"committees"},[e("div",{staticClass:"committees-component"},[e("router-view")],1),e("van-tabbar",{staticClass:"committees-tabbar",attrs:{"safe-area-inset-bottom":"","active-color":"#ffffff","inactive-color":"#00baad"},on:{change:t.onChange},model:{value:t.active,callback:function(n){t.active=n},expression:"active"}},t._l(t.barList,(function(n,i){return e("van-tabbar-item",{key:i,domProps:{textContent:t._s(n.txt)}})})),1)],1)},r=[],o=(e("ac1f"),e("5319"),e("ade3")),c=(e("a52c"),e("2ed4")),u=(e("537a"),e("ac28")),s={name:"committees",components:(i={},Object(o["a"])(i,u["a"].name,u["a"]),Object(o["a"])(i,c["a"].name,c["a"]),i),data:function(){return{active:1,barList:[{txt:"疫情动态",path:""},{txt:"小区日报",path:"communitys"},{txt:"求助响应",path:""},{txt:"我的发布",path:""}]}},computed:{userInfo:function(){return this.$store.getters.userInfo}},mounted:function(){document.title=this.userInfo.userName},methods:{onChange:function(t){this.barList[t].path&&this.$router.replace(this.barList[t].path),!this.barList[t].path&&(this.active=1)}}},f=s,d=(e("7c70"),e("2877")),h=Object(d["a"])(f,a,r,!1,null,null,null);n["default"]=h.exports},"2ed4":function(t,n,e){"use strict";var i=e("c31d"),a=e("d282"),r=e("a142"),o=e("48f4"),c=e("9884"),u=e("ad06"),s=e("6f2f"),f=Object(a["a"])("tabbar-item"),d=f[0],h=f[1];n["a"]=d({mixins:[Object(c["a"])("vanTabbar")],props:Object(i["a"])({},o["c"],{dot:Boolean,icon:String,name:[Number,String],info:[Number,String]}),data:function(){return{active:!1}},computed:{routeActive:function(){var t=this.to,n=this.$route;if(t&&n){var e=Object(r["d"])(t)?t:{path:t},i=e.path===n.path,a=Object(r["b"])(e.name)&&e.name===n.name;return i||a}}},methods:{onClick:function(t){this.parent.onChange(this.name||this.index),this.$emit("click",t),Object(o["b"])(this.$router,this)}},render:function(){var t=arguments[0],n=this.icon,e=this.slots,i=this.parent.route?this.routeActive:this.active,a=this.parent[i?"activeColor":"inactiveColor"];return t("div",{class:h({active:i}),style:{color:a},on:{click:this.onClick}},[t("div",{class:h("icon")},[e("icon",{active:i})||n&&t(u["a"],{attrs:{name:n}}),t(s["a"],{attrs:{dot:this.dot,info:this.info}})]),t("div",{class:h("text")},[e("default",{active:i})])])}})},3094:function(t,n,e){},"48f4":function(t,n,e){"use strict";function i(t,n){var e=n.to,i=n.url,a=n.replace;if(e&&t){var r=t[a?"replace":"push"](e);r&&r.catch&&r.catch((function(t){if(t&&"NavigationDuplicated"!==t.name)throw t}))}else i&&(a?location.replace(i):location.href=i)}function a(t){i(t.parent&&t.parent.$router,t.props)}e.d(n,"b",(function(){return i})),e.d(n,"a",(function(){return a})),e.d(n,"c",(function(){return r}));var r={url:String,replace:Boolean,to:[String,Object]}},"537a":function(t,n,e){"use strict";e("68ef"),e("9312")},"7c70":function(t,n,e){"use strict";var i=e("3094"),a=e.n(i);a.a},9312:function(t,n,e){},9884:function(t,n,e){"use strict";e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return o}));var i=e("a026");function a(t){var n=[];function e(t){t.forEach((function(t){n.push(t),t.children&&e(t.children)}))}return e(t),n}function r(t,n){var e,r;void 0===n&&(n={});var o=n.indexKey||"index";return i["a"].extend({inject:(e={},e[t]={default:null},e),computed:(r={parent:function(){return this.disableBindRelation?null:this[t]}},r[o]=function(){return this.bindRelation(),this.parent.children.indexOf(this)},r),mounted:function(){this.bindRelation()},beforeDestroy:function(){var t=this;this.parent&&(this.parent.children=this.parent.children.filter((function(n){return n!==t})))},methods:{bindRelation:function(){if(this.parent&&-1===this.parent.children.indexOf(this)){var t=[].concat(this.parent.children,[this]),n=a(this.parent.slots());t.sort((function(t,e){return n.indexOf(t.$vnode)-n.indexOf(e.$vnode)})),this.parent.children=t}}}})}function o(t){return{provide:function(){var n;return n={},n[t]=this,n},data:function(){return{children:[]}}}}},a52c:function(t,n,e){"use strict";e("68ef"),e("9d70"),e("3743"),e("ae73")},ac28:function(t,n,e){"use strict";var i=e("d282"),a=e("9884"),r=e("b1d2"),o=Object(i["a"])("tabbar"),c=o[0],u=o[1];n["a"]=c({mixins:[Object(a["b"])("vanTabbar")],props:{route:Boolean,zIndex:[Number,String],activeColor:String,inactiveColor:String,safeAreaInsetBottom:Boolean,value:{type:[Number,String],default:0},border:{type:Boolean,default:!0},fixed:{type:Boolean,default:!0}},watch:{value:"setActiveItem",children:"setActiveItem"},methods:{setActiveItem:function(){var t=this;this.children.forEach((function(n,e){n.active=(n.name||e)===t.value}))},onChange:function(t){t!==this.value&&(this.$emit("input",t),this.$emit("change",t))}},render:function(){var t,n=arguments[0];return n("div",{style:{zIndex:this.zIndex},class:[(t={},t[r["f"]]=this.border,t),u({fixed:this.fixed,"safe-area-inset-bottom":this.safeAreaInsetBottom})]},[this.slots()])}})},ade3:function(t,n,e){"use strict";function i(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"a",(function(){return i}))},ae73:function(t,n,e){},b1d2:function(t,n,e){"use strict";e.d(n,"a",(function(){return i})),e.d(n,"h",(function(){return a})),e.d(n,"b",(function(){return r})),e.d(n,"e",(function(){return o})),e.d(n,"c",(function(){return c})),e.d(n,"d",(function(){return u})),e.d(n,"f",(function(){return s})),e.d(n,"g",(function(){return f}));var i="#1989fa",a="#fff",r="van-hairline",o=r+"--top",c=r+"--left",u=r+"--surround",s=r+"--top-bottom",f=r+"-unset--top-bottom"}}]); //# sourceMappingURL=chunk-6cdc4b15.d99732e6.js.map