|
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-034a0351"],{"08df":function(t,e,n){"use strict";var a=n("b71e"),s=n.n(a);s.a},"24e5":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("app-header",{directives:[{name:"show",rawName:"v-show",value:!t.isEnterEdit,expression:"!isEnterEdit"}],attrs:{backBtnTitle:"退出",theme:"basis",title:t.centerTitle,showUserCenter:!0,showBackBtn:!0},scopedSlots:t._u([{key:"right",fn:function(){return[n("search-bar",{staticClass:"proj-search-bar",on:{searchContentClick:t.searchForProj}})]},proxy:!0}])})],1)},s=[],c=n("f96e"),i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-bar"},[n("div",{staticClass:"wrap"},[n("i",{staticClass:"search-icon",on:{click:function(e){return e.stopPropagation(),t.searchContentClick(e)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchContent,expression:"searchContent"}],staticClass:"search-input",attrs:{type:"text",placeholder:"搜索的文本"},domProps:{value:t.searchContent},on:{input:function(e){e.target.composing||(t.searchContent=e.target.value)}}}),n("i",{staticClass:"close-icon"})])])},r=[],o={data:function(){return{isShowSearchBar:!0,searchContent:""}},methods:{searchContentClick:function(){this.$emit("searchContentClick",this.searchContent)},hideSearchBar:function(){this.isShowSearchBar=!1}}},l=o,h=(n("08df"),n("2877")),u=Object(h["a"])(l,i,r,!1,null,"433b0412",null),d=u.exports,p={data:function(){return{centerTitle:"“".concat(this.searchContent,"”的搜索结果")}},components:{AppHeader:c["a"],SearchBar:d},props:{searchContent:{type:String,default:""}}},f=p,b=Object(h["a"])(f,a,s,!1,null,"1528c84b",null);e["default"]=b.exports},b5fa:function(t,e,n){},b71e:function(t,e,n){},bc5a:function(t,e,n){"use strict";var a=n("b5fa"),s=n.n(a);s.a},f96e:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-header",class:{white:"white"===t.theme||t.isWindowScrollIng,black:"black"===t.theme,"black-bg-color":t.isWindowScrollIng&&"black"===t.theme}},[n("div",{staticClass:"app-header-content"},[n("div",{staticClass:"app-header-content-left"},[t._t("left",[n("i",{directives:[{name:"show",rawName:"v-show",value:t.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn",class:{icon_topback_left:"white"===t.theme||"basis"===t.theme,icon_topback_left_baise:"black"===t.theme},on:{click:function(e){return t.navBack()}}}),n("span",{directives:[{name:"show",rawName:"v-show",value:t.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title",on:{click:function(e){return t.navBack()}}},[t._v(t._s(t.backBtnTitle))])])],2),n("div",{staticClass:"app-header-content-right"},[t._t("right"),t.showUserCenter?n("user-center"):t._e()],2)]),n("div",{staticClass:"app-header-center"},[t._t("center",[t._v(t._s(t.title))])],2)])},s=[],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 t=document.getElementById("bigbody");this.isWindowScrollIng=t.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},r=i,o=(n("bc5a"),n("2877")),l=Object(o["a"])(r,a,s,!1,null,"572ed83b",null),h=l.exports}}]); |