|
12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1480e558"],{"13f0":function(e,t,n){"use strict";var a=n("13f5"),r=n.n(a);r.a},"13f5":function(e,t,n){},5167:function(e,t,n){"use strict";var a=n("b419"),r=n.n(a);r.a},b419:function(e,t,n){},bb14:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-nav"},e._l(e.list,(function(t){return n("div",{key:t.key,staticClass:"app-nav-item",class:{"app-nav-item-active":0===e.currentKey.indexOf(t.key)},on:{click:function(n){return e.goto(t.key)}}},[e._v(" "+e._s(t.label)+" ")])})),0)},r=[],c=(n("b0c0"),{props:{list:Array},data:function(){return{currentKey:this.$route.name}},methods:{goto:function(e){this.$router.push({name:e})}},watch:{$route:function(e){this.currentKey=e.name}}}),i=c,s=(n("5167"),n("2877")),o=Object(s["a"])(i,a,r,!1,null,"4a2aca36",null);t["a"]=o.exports},db21:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("app-header",{directives:[{name:"show",rawName:"v-show",value:e.showHeader,expression:"showHeader"}],attrs:{theme:"white",showUserCenter:""},scopedSlots:e._u([{key:"left",fn:function(){return[e._v("LOCKING")]},proxy:!0},{key:"center",fn:function(){return[n("app-nav",{attrs:{list:e.navList}})]},proxy:!0}])}),n("router-view")],1)},r=[],c=(n("13d5"),n("b0c0"),n("f96e")),i=n("bb14"),s=function(e,t){return{key:e,label:t}},o=[s("company_home","首页"),s("company_user","通讯录")],l=o.reduce((function(e,t){return e[t.key]=!0,e}),{}),u=function(e){return l[e]},h={components:{AppHeader:c["a"],AppNav:i["a"]},data:function(){return{showHeader:u(this.$route.name),navList:o}},methods:{},watch:{$route:function(e){this.showHeader=u(e.name)}}},d=h,p=n("2877"),f=Object(p["a"])(d,a,r,!1,null,null,null);t["default"]=f.exports},f96e:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-header",class:{white:"white"===e.theme||e.isWindowScrollIng,black:"black"===e.theme,"black-bg-color":e.isWindowScrollIng&&"black"===e.theme}},[n("div",{staticClass:"app-header-content"},[n("div",{staticClass:"app-header-content-left"},[e._t("left",[n("i",{directives:[{name:"show",rawName:"v-show",value:e.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn",class:{icon_topback_left:"white"===e.theme||"basis"===e.theme,icon_topback_left_baise:"black"===e.theme},on:{click:function(t){return e.navBack()}}}),n("span",{directives:[{name:"show",rawName:"v-show",value:e.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title",on:{click:function(t){return e.navBack()}}},[e._v(e._s(e.backBtnTitle))])])],2),n("div",{staticClass:"app-header-content-right"},[e._t("right"),e.showUserCenter?n("user-center"):e._e()],2)]),n("div",{staticClass:"app-header-center"},[e._t("center",[e._v(e._s(e.title))])],2)])},r=[],c=n("1392"),i={components:{UserCenter:c["a"]},props:{theme:String,showBackBtn:Boolean,backBtnTitle:String,onBackBtnClick:Function,title:String,showUserCenter:Boolean},data:function(){return{isWindowScrollIng:!1}},mounted:function(){window.addEventListener("scroll",this.handleScroll.bind(this),!0)},methods:{navBack:function(){this.onBackBtnClick?this.onBackBtnClick():this.$router.go(-1)},handleScroll:function(){var e=document.getElementById("bigbody");this.isWindowScrollIng=e.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},s=i,o=(n("13f0"),n("2877")),l=Object(o["a"])(s,a,r,!1,null,"f3f85a0c",null),u=l.exports}}]);
- //# sourceMappingURL=chunk-1480e558.dd5c3d17.js.map
|