1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-46432c8e"],{"058c":function(t,i,s){"use strict";var e=function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"contact"},[t.isShownav?s("div",{directives:[{name:"show",rawName:"v-show",value:t.navList,expression:"navList"}],staticClass:"navlist"},t._l(t.navList.list,(function(i,e){return s("div",{staticClass:"nav",class:{navC:e==t.navChoose},on:{click:function(s){return t.navC(e,i)}}},[s("div",{staticClass:"title",attrs:{title:i.title}},[t._v(" "+t._s(i.title)+" ")]),s("div",{staticClass:"you"},[t._v(" > ")])])})),0):t._e(),s("div",{staticClass:"right"},[t.isShowHeader?s("div",{staticClass:"head nawarp"},[t._v(" 当前位置: "),s("div",{on:{click:function(i){return t.urlTo("index")}}},[t._v("首页")]),t._v(" > "),s("div",{on:{click:t.listBack}},[t._v(" "+t._s(t.navList.title)+" > "+t._s(t.navList.list[t.navChoose].title))]),s("span",{directives:[{name:"show",rawName:"v-show",value:!!t.content&&this.navList.listinlist,expression:"!(!content) && this.navList.listinlist"}]},[t._v(" > 信息详情")])]):s("div",{staticClass:"head"},[t._v(" 当前位置:"),s("div",{on:{click:function(i){return t.urlTo("index")}}},[t._v("首页")]),t._v(" > "),s("div",{on:{click:t.listBack}},[t._v(t._s(t.navList.title))]),s("span",{directives:[{name:"show",rawName:"v-show",value:!!t.content&&this.navList.listinlist,expression:"!(!content) && this.navList.listinlist"}]},[t._v(" > 信息详情")])]),t.isShowSon?t._e():t._t("default"),s("div",{staticClass:"contentbox"},[s("div",{staticClass:"content"},[s("div",{directives:[{name:"show",rawName:"v-show",value:"loadmore"==t.loadingType,expression:"loadingType == 'loadmore'"}],staticClass:"load"},[t._v(" ----- 加载中 ----- ")]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowSon,expression:"isShowSon"}],staticClass:"text",domProps:{innerHTML:t._s(t.content)}}),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.isShowSon,expression:"!isShowSon"}],staticClass:"contentList chooseitem"},[t._l(t.contentList,(function(i){return s("div",{staticClass:"item",attrs:{title:i.title},on:{click:function(s){return t.listChoose(i)}}},[s("span",{staticClass:"title-icon"}),s("div",{staticClass:"title nawarp"},[s("div",{}),s("div",{},[t._v(" "+t._s(i.title)+" ")])]),s("div",{staticClass:"time"},[t._v(" "+t._s(t.getTime(i.releasetime))+" ")])])})),t.totalPage>1?s("div",{staticClass:"pagec"},[s("div",{staticClass:"fristPage",on:{click:function(i){t.page=1}}},[t._v(" 第一页 ")]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.totalPage>10,expression:"totalPage>10"}],staticClass:"pagetoomuch"},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.page+4>t.totalPage,expression:"page+4>totalPage"}],staticClass:"nextPage"},[t._v(" ... ")]),t._l(t.totalPage,(function(i){return i>t.page-5&&i<t.page+4&&i!=t.totalPage?s("div",{staticClass:"pageNum",class:{isChoose:i==t.page},on:{click:function(s){return t.pageChoose(i)}}},[t._v(" "+t._s(i)+" ")]):t._e()})),s("div",{directives:[{name:"show",rawName:"v-show",value:t.page+4<t.totalPage,expression:"page+4<totalPage"}],staticClass:"nextPage"},[t._v(" ... ")]),t._l(t.totalPage,(function(i){return i==t.totalPage?s("div",{directives:[{name:"show",rawName:"v-show",value:t.totalPage>2,expression:"totalPage>2"}],staticClass:"pageNum",class:{isChoose:i==t.page},on:{click:function(s){return t.pageChoose(i)}}},[t._v(" "+t._s(i)+" ")]):t._e()}))],2),t._l(t.totalPage,(function(i){return s("div",{directives:[{name:"show",rawName:"v-show",value:t.totalPage<=10,expression:"totalPage<=10"}],staticClass:"pageNum",class:{isChoose:i==t.page},on:{click:function(s){return t.pageChoose(i)}}},[t._v(" "+t._s(i)+" ")])})),s("div",{staticClass:"nextPage",on:{click:t.nextPage}},[t._v(" 下一页 ")])],2):t._e()],2)])])],2)])},n=[],a=s("fd03"),o={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){var s="/introduce"==this.path&&2==t;s?(this.isShowSon=!1,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(a["a"])({},this.contentId).then((function(i){var s=i.data;""==s.url?(t.content=s.content,t.contentId=0):(t.originalText(s.url),t.contentId=0,t.isShowSon=!1),t.loadingType="nomore"}))},getlistslist:function(){var t=this;Object(a["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=o,l=(s("5d5f"),s("2877")),h=Object(l["a"])(c,e,n,!1,null,"ab1c7eee",null);i["a"]=h.exports},"2a76":function(t,i,s){"use strict";s("b7ba")},"31c8":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAF4UlEQVR4nO3da04rRxCAURORFdz9bzEbSCRHCdfCGNyeRz+qu875nejCdH3UjDFwAQAAAAAAAACAbd72XKfr9eqy7tf6ou06Qy6Xt7ftl+zd9apm1FePZ/+ucCoQyHHR1+njxyeYAwSyzQr3lj99DqJ5QSBlqz903T4/oTwhkO8yvhJx/zmL5Y5APnh57pNY7mQPRBhl6W/BsgYijH3ShpItEGGcky6ULIEIo640oaweiDDaWj6UPwJ8DK2Io59lr/WKG0QYYyy5TVYKRBgxLBXKKrdY4ohniTNZIRBxxDX92cx8iyWMOUx9yzXrBhHHfKY8sxkDEce8pju72QIRx/ymOsOZAhHHOqY5y1kCEcd6pjjTGQIRx7rCn230QMSxvtBnHDkQceQR9qyjBiKOfEKeecRAxJFXuLOPFog4CDUDkQIRBzdhZiFKIOLgUYiZiBCIOHhm+GyMDkQcvDJ0RkYGIg62GjYrowIRB3sNmZkRgYiDo7rPzsq/FwtO6x2I7cFZXWeoZyDioJZus9QrEHFQW5eZ8gwCBT0CsT1opfls2SBQ0DoQ24PWms5Yy0DEQS/NZs0tFhS0CsT2oLcmM2eDQEGLQGwPRqk+ezYIFNQOxPZgtKozaINAQc1AbA+iqDaLNggU1ArE9iCaKjNpg0DBzH8GejWPfybZVg6gxgZxkOf99DfEp/y74sGcnk23WGP99SKEt9//DYMIZJz/Bv/Xhn/9l0jG2bXGr9dvG8vt1TH/XC6XP3f+n397Zjzsy5y/vW0fe4GMcfT5wvU+5nAgZ26xHNYxZx6+Pbgfc3hWPYP0VWPARdKRQPqpOdgi6UQgfbQYaJF0IJD2Wg6ySBo7GogH9G16DLBItjk0szZIOz0HVySNCKSNEQMrkgYEUt/IQRVJZUcC8fzxXIQBFclzu2fXBqkn0mCKpBKB1BFxIEVSgUDOizyIIjlJIOfMMI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,i,s){},"5d5f":function(t,i,s){"use strict";s("4ba6")},"62bc":function(t,i){t.exports="data:image/png;base64,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"},"76c3":function(t,i,s){"use strict";s.r(i);var e,n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"introduce"},[e("jm-box",{attrs:{navList:t.navList},on:{navListC:t.navListC}},[e("div",{staticClass:"boooox"}),2==t.navChoose?e("div",{staticClass:"center"},[e("div",{staticClass:"inlist"},t._l(t.qxlist,(function(i,n){return e("div",{staticClass:"initem",on:{click:function(i){t.isShowQx=n}}},[e("div",{staticClass:"titley",class:{title:t.isShowQx==n}},[t._v(" "+t._s(i.title)+" "),e("div",{staticClass:"img"},[e("img",{directives:[{name:"show",rawName:"v-show",value:t.isShowQx==n,expression:"isShowQx == index"}],attrs:{src:s("31c8")}})]),e("div",{staticClass:"img"},[e("img",{directives:[{name:"show",rawName:"v-show",value:t.isShowQx!=n,expression:"isShowQx != index"}],attrs:{src:s("62bc")}})])]),e("div",{directives:[{name:"show",rawName:"v-show",value:n==t.isShowQx,expression:"index==isShowQx"}],staticClass:"nr",domProps:{innerHTML:t._s(i.content)}})])})),0)]):t._e()])],1)},a=[],o=s("ade3"),c=s("fd03"),l=s("058c"),h=(e={components:{jmBox:l["a"]},data:function(){return{list:[{name:"沙洋县红十字会",phone:""}]}},mounted:function(){this.init()}},Object(o["a"])(e,"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(o["a"])(e,"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 s=function(s){Object(c["a"])({},i.data.list[s].id).then((function(i){t.qxlist[s].content=i.data.content}))},e=0;e<i.data.count;e++)s(e)}))},navListC:function(t){this.navChoose=t}}),e),r=h,g=(s("2a76"),s("2877")),v=Object(g["a"])(r,n,a,!1,null,"86ae18dc",null);i["default"]=v.exports},b7ba:function(t,i,s){}}]);
|