(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6ed16e14"],{"058c":function(t,i,n){"use strict";var s=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("div",{staticClass:"contact"},[t.isShownav?n("div",{directives:[{name:"show",rawName:"v-show",value:t.navList,expression:"navList"}],staticClass:"navlist"},t._l(t.navList.list,(function(i,s){return n("div",{staticClass:"nav",class:{navC:s==t.navChoose},on:{click:function(n){return t.navC(s,i)}}},[n("div",{staticClass:"title",attrs:{title:i.title}},[t._v(" "+t._s(i.title)+" ")]),n("div",{},[t._v(" > ")])])})),0):t._e(),n("div",{staticClass:"right"},[t.isShowHeader?n("div",{staticClass:"head nawarp"},[t._v(" 当前位置: "),n("div",{on:{click:function(i){return t.urlTo("index")}}},[t._v("首页")]),t._v(" > "),n("div",{on:{click:t.listBack}},[t._v(" "+t._s(t.navList.title)+" > "+t._s(t.navList.list[t.navChoose].title))]),n("span",{directives:[{name:"show",rawName:"v-show",value:!!t.content&&this.navList.listinlist,expression:"!(!content) && this.navList.listinlist"}]},[t._v(" > 信息详情")])]):n("div",{staticClass:"head"},[t._v(" 当前位置:"),n("div",{on:{click:function(i){return t.urlTo("index")}}},[t._v("首页")]),t._v(" > "),n("div",{on:{click:t.listBack}},[t._v(t._s(t.navList.title))]),n("span",{directives:[{name:"show",rawName:"v-show",value:!!t.content&&this.navList.listinlist,expression:"!(!content) && this.navList.listinlist"}]},[t._v(" > 信息详情")])]),t._t("default"),n("div",{staticClass:"contentbox"},[n("div",{staticClass:"content"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"loadmore"==t.loadingType,expression:"loadingType == 'loadmore'"}],staticClass:"load"},[t._v(" ----- 加载中 ----- ")]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowSon,expression:"isShowSon"}],domProps:{innerHTML:t._s(t.content)}}),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.isShowSon,expression:"!isShowSon"}],staticClass:"contentList chooseitem"},[t._l(t.contentList,(function(i){return n("div",{staticClass:"item",on:{click:function(n){return t.listChoose(i)}}},[n("div",{staticClass:"title nawarp"},[t._v(" "+t._s(i.title)+" ")]),n("div",{staticClass:"time"},[t._v(" "+t._s(t.getTime(i.releasetime))+" ")])])})),0!=t.sum?n("div",{staticClass:"pagec"},[n("div",{staticClass:"fristPage",on:{click:function(i){t.page=1}}},[t._v(" 第一页 ")]),t._l(t.totalPage,(function(i){return n("div",{staticClass:"pageNum",class:{isChoose:i==t.page},on:{click:function(n){return t.pageChoose(i)}}},[t._v(" "+t._s(i)+" ")])})),n("div",{staticClass:"nextPage",on:{click:t.nextPage}},[t._v(" 下一页 ")])],2):t._e()],2)])])],2)])},e=[],o=n("fd03"),a={props:["navList"],data:function(){return{page:1,limit:10,sum:0,loadingType:"loadmore",path:this.$route.path,navChoose:this.$route.params.navChoose||this.$route.query.navChoose||0,timeOut:"",content:"",contentList:[],contentId:this.$route.params.contentId||this.$route.query.contentId||0,isShowSon:!0,pageId:0}},mounted:function(){this.isShowContent&&this.init()},methods:{init:function(){this.navC(this.navChoose,this.navList.list[this.navChoose])},navC:function(t,i){"/introduce"==this.path&&2==t?(this.content="",this.loadingType,this.contentList=[]):(this.loadingType="loadmore",this.page=1,this.isShowSon=!0,this.content="",this.contentList=[],this.pageId=i.id,this.getlistslist()),this.navChoose=t,this.$emit("navListC",t)},listChoose:function(t){this.loadingType="loadmore",this.isShowSon=!0,this.contentId=t.id,this.getData()},getData:function(){var t=this;Object(o["a"])({},this.contentId).then((function(i){var n=i.data;""==n.url?(t.content=n.content,t.contentId=0):(t.originalText(n.url),t.contentId=0,t.isShowSon=!1),t.loadingType="nomore"}))},getlistslist:function(){var t=this;Object(o["b"])({page:this.page,limit:this.limit},this.pageId).then((function(i){t.sum=i.data.count,i.data.count>0?(1==i.data.count?(t.isShowSon=!0,t.contentId=i.data.list[0].id,t.getData()):0!=t.contentId?(t.isShowSon=!0,t.getData()):i.data.count>1&&(t.isShowSon=!1,t.loadingType="nomore"),t.contentList=i.data.list):t.loadingType="nomore"}))},pageChoose:function(t){this.page=t},listBack:function(){"/introduce"==this.path&&2==this.navChoose||(this.loadingType="nomore",this.content="",this.isShowSon=!1)},nextPage:function(){this.page++,this.page>this.totalPage&&(this.page=this.totalPage)},urlTo:function(t,i){this.$router.push({name:t})},getTime:function(t){return t.substring(0,10)},originalText:function(t){window.open(t)}},computed:{totalPage:function(){return Math.ceil(this.sum/this.limit)},isShownav:function(){return!!this.navList.list},isShowHeader:function(){if(this.isShownav)return this.navList.list.length>1},isShowContent:function(){return!!this.navList.list&&this.navList.list.length>0}},watch:{isShowContent:function(){this.isShowContent&&this.init()},page:function(){this.getlistslist()}}},c=a,h=(n("c3ff"),n("2877")),l=Object(h["a"])(c,s,e,!1,null,"185d0751",null);i["a"]=l.exports},2842:function(t,i,n){"use strict";n("50e4")},"50e4":function(t,i,n){},"76c3":function(t,i,n){"use strict";n.r(i);var s,e=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("div",{staticClass:"introduce"},[n("jm-box",{attrs:{navList:t.navList},on:{navListC:t.navListC}},[2==t.navChoose?n("div",{staticClass:"center"},[n("div",{staticClass:"inlist"},t._l(t.qxlist,(function(i,s){return n("div",{staticClass:"initem",on:{click:function(i){t.isShowQx=s}}},[n("div",{staticClass:"titley",class:{title:t.isShowQx==s}},[t._v(" "+t._s(i.title)+" ")]),n("div",{directives:[{name:"show",rawName:"v-show",value:s==t.isShowQx,expression:"index==isShowQx"}],staticClass:"nr",domProps:{innerHTML:t._s(i.content)}})])})),0)]):t._e()])],1)},o=[],a=n("ade3"),c=n("fd03"),h=n("058c"),l=(s={components:{jmBox:h["a"]},data:function(){return{list:[{name:"沙洋县红十字会",phone:""}]}},mounted:function(){this.init()}},Object(a["a"])(s,"data",(function(){return{navChoose:this.$route.params.navChoose||this.$route.query.navChoose||0,navList:{title:"组织介绍",url:"introduce",list:this.$store.state.introduce||[]},qxlist:[],isShowQx:0}})),Object(a["a"])(s,"methods",{init:function(){this.getdataList(),this.getGqx()},getdataList:function(){var t=this;Object(c["c"])({},14).then((function(i){t.navList.list=i.data,t.$store.commit("setIntroduce",i.data)}))},getGqx:function(){var t=this;Object(c["b"])({},35).then((function(i){console.log(i),t.qxlist=i.data.list;for(var n=function(n){Object(c["a"])({},i.data.list[n].id).then((function(i){t.qxlist[n].content=i.data.content}))},s=0;s