webpackJsonp([35],{Tdmp:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={data:function(){return{title:"",index:null,id:this.$route.query.id,res:{}}},methods:{goBack:function(){if(this.$router.isBack=!0,window.history.length<=1)return this.$router.push({path:"/"}),!1;this.$router.go(-1)},type:function(){switch(this.index){case"0":this.title="家庭教育指导";break;case"1":this.title="家校区介绍";break;case"2":this.title="家长讲师团简介";break;case"3":this.title="社会义工合作单位";break;case"4":this.title="劳动教育教师简介";break;default:this.title="家校区"}},getHome:function(){var t=this,e={id:this.id};this.ajax.get(this.$store.state.api+"getHomeByid",e).then(function(e){t.res=e.data[0][0],console.log(t.res)}).catch(function(t){console.error(t)})}},created:function(){this.getHome()}},a={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"pb_content2",staticStyle:{background:"#fff"}},[s("div",{staticClass:"pb_head"},[s("van-icon",{staticClass:"pb_back",attrs:{name:"arrow-left",color:"#fff",size:"1.2rem"},on:{click:t.goBack}}),t._v(" "),s("span",[t._v("家校区")])],1),t._v(" "),s("div",{staticClass:"pb_content_body"},[s("div",{staticClass:"nd_body"},[s("div",{staticClass:"nd_head van-hairline--bottom"},[s("div",{staticClass:"nd_title"},[s("span",[t._v(t._s(t.res.title))])]),t._v(" "),s("div",{staticClass:"nd_time"},[s("span",[t._v(t._s(t.res.time))])])]),t._v(" "),s("div",{staticClass:"nd_article cont",domProps:{innerHTML:t._s(t.res.content)}})])])])},staticRenderFns:[]};var n=s("VU/8")(i,a,!1,function(t){s("jdKg")},"data-v-5f93121e",null);e.default=n.exports},jdKg:function(t,e){}});
//# sourceMappingURL=35.b70d52711b9f28974a62.js.map