(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-330ab9fe"],{"0a0d":function(t,i,s){},"12e3":function(t,i,s){t.exports=s.p+"img/yq4.d557f8b1.png"},"1e4b":function(t,i,s){"use strict";s.r(i);var e=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"index"},[e("div",{staticClass:"headerGrid"},[e("div",{staticClass:"swiper"},[e("el-carousel",{staticClass:"swiper-box",attrs:{interval:5e3,type:"card",height:"200px"}},t._l(t.rotation,(function(i,s){return e("el-carousel-item",{key:s,staticClass:"swiper-box-item"},[e("img",{staticClass:"swiper-img",attrs:{src:i.image},on:{click:function(s){return t.newsTo(0,i)}}}),e("div",{staticClass:"title"},[t._v(" "+t._s(i.title)+" ")])])})),1)],1),e("div",{staticClass:"participate"},[e("div",{staticClass:"title1"},[t._v(" 我要参与 ")]),e("div",{staticClass:"list"},t._l(t.partakeList,(function(i,s){return e("div",{staticClass:"item",on:{click:function(i){return t.navTo(s)}}},[e("img",{staticClass:"iNimg",attrs:{src:i.image}}),e("div",{staticClass:"name"},[t._v(" "+t._s(i.title)+" ")])])})),0)]),e("div",{staticClass:"cityNews"},[e("div",{staticClass:"title title2"},[t._v(" 市红十字会新闻 "),e("div",{staticClass:"more",on:{click:function(i){return t.urlTo("news")}}},[t._v("【查看更多】")])]),e("div",{staticClass:"list chooseitem"},t._l(t.cityNewsList,(function(i){return e("div",{staticClass:"item",attrs:{title:i.title},on:{click:function(s){return t.newsTo(0,i)}}},[e("div",{staticClass:"title"},[e("div",{staticClass:"spot"}),e("div",{staticClass:"nowarp"},[t._v(" "+t._s(i.title)+" ")])]),e("div",{staticClass:"time"},[t._v(" "+t._s(t.getDataTime(i))+" ")])])})),0)]),e("div",{staticClass:"ranking"},[e("div",{staticClass:"title title1"},[t._v(" 爱心滚动榜 "),e("div",{staticClass:"more",on:{click:function(i){return t.urlTo("contribution")}}},[t._v("【查看更多】")])]),t._m(0),e("slideUpd",[e("div",{staticClass:"list"},[e("div",{staticClass:"listTime"},t._l(t.rankingList,(function(i){return e("div",{staticClass:"item"},[t._v(" "+t._s(t.getPaytime(i))+" ")])})),0),e("div",{staticClass:"listName"},t._l(t.rankingList,(function(i){return e("div",{staticClass:"item nowarp",attrs:{title:i.contact}},[t._v(" "+t._s(i.contact||"空")+" ")])})),0),e("div",{staticClass:"listPrice"},t._l(t.rankingList,(function(i){return e("div",{staticClass:"item"},[t._v(" "+t._s(i.amount||"")+" ")])})),0)])])],1)]),e("div",{staticClass:"boxFlex"},[e("div",{staticClass:"box"},[e("div",{staticClass:"title title2"},[t._v(" 县市区红十字新闻 "),e("div",{staticClass:"more",on:{click:function(i){return t.urlTo("news",1)}}},[t._v("【查看更多】")])]),e("div",{staticClass:"list chooseitem"},t._l(t.countyNewsList,(function(i){return e("div",{staticClass:"item",attrs:{title:i.title},on:{click:function(s){return t.newsTo(1,i)}}},[e("div",{staticClass:"title"},[e("div",{staticClass:"spot"}),e("div",{staticClass:"nowarp"},[t._v(" "+t._s(i.title)+" ")])]),e("div",{staticClass:"time"},[t._v(" "+t._s(t.getDataTime(i))+" ")])])})),0)]),e("div",{staticClass:"box"},[e("div",{staticClass:"title title2"},[t._v(" 公示/公告 "),e("div",{staticClass:"more",on:{click:function(i){return t.urlTo("news",2)}}},[t._v("【查看更多】")])]),e("div",{staticClass:"list chooseitem"},t._l(t.publicityList,(function(i){return e("div",{staticClass:"item",attrs:{title:i.title},on:{click:function(s){return t.newsTo(3,i)}}},[e("div",{staticClass:"title"},[e("div",{staticClass:"spot"}),e("div",{staticClass:"nowarp"},[t._v(" "+t._s(i.title)+" ")])]),e("div",{staticClass:"time"},[t._v(" "+t._s(t.getDataTime(i))+" ")])])})),0)])]),t._m(1),e("div",{staticClass:"wallAwechat"},[e("div",{staticClass:"wall"},[e("div",{staticClass:"title"},[t._v(" 优秀志愿者风采墙 ")]),e("div",{staticClass:"walllist"},[e("div",{staticClass:"wallInput"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchV,expression:"searchV"}],attrs:{type:"text",placeholder:"输入姓名搜索志愿者"},domProps:{value:t.searchV},on:{input:function(i){i.target.composing||(t.searchV=i.target.value)}}}),e("img",{staticClass:"wallImg",attrs:{src:s("1e5e")},on:{click:t.searchbu}})]),e("slideLaR",{staticClass:"slideLaR"},t._l(t.wallList,(function(i,s){return e("div",{staticClass:"item",on:{click:function(s){return t.volunteerTo(i.id)}}},[e("img",{attrs:{src:i.image}})])})),0)],1)]),t._m(2)]),e("div",{staticClass:"links"},[e("div",{staticClass:"title title2"},[t._v(" 友情链接 ")]),e("div",{staticClass:"links-list"},t._l(t.linksList,(function(i){return e("div",{staticClass:"links-item",on:{click:function(s){return t.toRescue(i.url)}}},[e("img",{attrs:{src:i.img}})])})),0)])])},a=[function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{staticClass:"listHeader"},[s("div",{},[t._v(" 捐赠时间 ")]),s("div",{},[t._v(" 捐赠者 ")]),s("div",{},[t._v(" 捐赠金额 ")])])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"index-img"},[e("img",{attrs:{src:s("6176")}})])},function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"wechat"},[e("div",{staticClass:"title"},[t._v(" 微信公众号 ")]),e("div",{staticClass:"qrcode"},[e("div",{staticClass:"header"},[e("img",{staticClass:"scanning",attrs:{src:s("f7df")}}),e("div",[t._v(" 请扫码关注"),e("br"),t._v("荆门市红十字会"),e("br"),t._v("官方微信公众号 ")])]),e("div",{staticClass:"qrcodeImg"},[e("img",{attrs:{src:s("a596")}})])])])}],n=(s("99af"),s("4e82"),s("fa7d")),o=s("fd03"),r=function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{ref:"boxH",staticClass:"slideUpd"},[s("div",{staticClass:"list",style:{"margin-top":-t.marginTop+"px"},on:{mouseover:t.mouseOver,mouseleave:t.mouseLeave}},[s("div",{staticClass:"listBox",attrs:{id:"listBoxH"}},[t._t("default"),t._t("default"),t._t("default"),t._t("default")],2)])])},c=[],l={data:function(){return{marginTop:0,listHeight:0,timeOut:"",boxHeight:0}},mounted:function(){this.init()},methods:{init:function(){this.automatic()},getslot:function(){this.listHeight=document.getElementById("listBoxH").clientHeight/4,this.boxHeight=this.$refs.boxH.clientHeight},automatic:function(){var t=this;this.timeOut=setInterval((function(){0==t.listHeight?t.getslot():t.marginTop++}),60)},mouseOver:function(){clearTimeout(this.timeOut)},mouseLeave:function(){this.init()}},watch:{marginTop:function(){this.listHeight-this.marginTop<=0&&(this.marginTop=0)}}},u=l,d=(s("2381"),s("2877")),f=Object(d["a"])(u,r,c,!1,null,"012b0123",null),v=f.exports,m=function(){var t=this,i=t.$createElement,s=t._self._c||i;return s("div",{ref:"box",staticClass:"slideLaR"},[s("div",{staticClass:"list",style:{"margin-left":-t.marginLeft+"px"},on:{mouseover:t.mouseOver,mouseleave:t.mouseLeave}},[s("span",{staticClass:"listBox",attrs:{id:"detial"}},[t._t("default"),t._t("default")],2)])])},h=[],p={data:function(){return{marginLeft:0,listWidth:0,timeOut:"",boxWidth:0}},mounted:function(){this.init()},methods:{init:function(){this.automatic()},getslot:function(){this.listWidth=document.getElementById("detial").offsetWidth/2,this.boxWidth=this.$refs.box.offsetWidth},automatic:function(){var t=this;this.timeOut=setInterval((function(){0==t.listWidth?t.getslot():t.marginLeft++}),30)},mouseOver:function(){clearTimeout(this.timeOut)},mouseLeave:function(){this.init()}},computed:{isEnough:function(){return this.listWidth>this.boxWidth}},watch:{marginLeft:function(){this.listWidth-this.marginLeft<=0&&(this.marginLeft=0)}}},g=p,C=(s("c429"),Object(d["a"])(g,m,h,!1,null,"5fe33152",null)),w=C.exports,b={data:function(){return{searchV:"",path:this.$route.path,partakeList:this.$store.state.partakeList||[],rankingList:this.$store.state.rankingList||[],cityNewsList:this.$store.state.cityNewsList||[],countyNewsList:this.$store.state.countyNewsList||[],publicityList:this.$store.state.publicityList||[],wallList:this.$store.state.wallList||[],rotation:this.$store.state.rotation||[],linksList:[{img:s("8b45"),url:"https://www.redcross.org.cn/"},{img:s("6f3a"),url:"http://www.hbsredcross.org.cn/"},{img:s("dff6"),url:"https://www.codac.org.cn/"},{img:s("12e3"),url:"http://www.hbqgjx.com/"},{img:s("2aaf"),url:"http://www.hbmdp.org.cn/"}]}},mounted:function(){this.getPartakeList(),this.getWallList(),this.getlave(),this.getNewsList(),this.getRotation()},methods:{getRotation:function(){var t=this;Object(o["b"])({page:1,limit:3},27).then((function(i){var s=i.data;t.rotation=s.list,t.$store.commit("setRotation",s.list)}))},getPartakeList:function(){var t=this;Object(o["c"])({},18).then((function(i){var s=i.data;t.partakeList=s,t.$store.commit("setPartakeList",s)}))},getWallList:function(){var t=this;Object(o["b"])({page:1,limit:30},21).then((function(i){var s=i.data;t.wallList=s.list,t.$store.commit("setWallList",s.list)}))},getlave:function(){this.getlaveListson()},getlaveListson:function(){var t=this;Object(o["f"])({page:1,limit:10}).then((function(i){t.rankingList=i.data.data,t.$store.commit("setRankingList",i.data.data)}))},getNewsList:function(){var t=this;Object(o["b"])({page:1,limit:10},27).then((function(i){var s=i.data;t.cityNewsList=s.list,t.$store.commit("setCityNewsList",s.list)})),Object(o["b"])({page:1,limit:5},28).then((function(i){var s=i.data;t.countyNewsList=s.list,t.$store.commit("setCountyNewsList",s.list)})),Object(o["b"])({page:1,limit:10},30,29).then((function(i){var s=i.data.list;Object(o["b"])({page:1,limit:10},29).then((function(i){var e=s.concat(i.data.list);t.publicityList=e.sort(t.compare("releasetime")),t.$store.commit("setPublicityList",t.publicityList)}))})),this.toTop()},compare:function(t){return function(i,s){var e=i[t],a=s[t];return a>e?1:a3)){if(v)return!0;if(h)return h<603;var t,i,s,e,a="";for(t=65;t<76;t++){switch(i=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:s=3;break;case 68:case 71:s=4;break;default:s=2}for(e=0;e<47;e++)p.push({k:i+e,v:s})}for(p.sort((function(t,i){return i.v-t.v})),e=0;ec(s)?1:-1}};e({target:"Array",proto:!0,forced:k},{sort:function(t){void 0!==t&&n(t);var i=o(this);if(A)return void 0===t?g(i):g(i,t);var s,e,a=[],c=r(i);for(e=0;e=51||!n((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),b=f("concat"),L=function(t){if(!r(t))return!1;var i=t[h];return void 0!==i?!!i:o(t)},A=!w||!b;e({target:"Array",proto:!0,forced:A},{concat:function(t){var i,s,e,a,n,o=c(this),r=d(o,0),f=0;for(i=-1,e=arguments.length;ip)throw C(g);for(s=0;s=p)throw C(g);u(r,f++,n)}return r.length=f,r}})},a596:function(t,i,s){t.exports=s.p+"img/qrcode.688ca556.png"},c429:function(t,i,s){"use strict";s("fa49")},dff6:function(t,i,s){t.exports=s.p+"img/yq3.87474fe9.png"},f7df:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF0AAABdCAYAAADHcWrDAAAF3UlEQVR4nO2cQU8bRxSAZ5Z1Fgo24FBRKxGlpECDeixSKyGQkHrJiRNCiiLTiy+59Opf4KhVLrnhU7hyjORYyiHIJkpUxZccIhFiFJU0lWhKFLMGxzHeidbYaGXvrr3jnX0Gv0+ybK93dma+HT/PzsyaIAiCIAjCD2WMNSSOx+PGt407uAONRCKgpy4ejwurm/FNfT2lJolFFUr0saFhdvWzk36RpXiFqUMr6ShcIM3CC9I+DQ0YpQOA0gFA6QBASqct7HMhyyBzpusEYW7hRl0c9fYwvACA0gFA6QCgdABQOgAoHQCUDgBKBwClA4DSAUDpAPCOvbSN00npVxMTOcKY1ThJYPrNG0fHq5t895Rz0dKLL1/22Agn/hs3ztU39rwUlhFK7UYD6b+3b39t9sGnFy+ko3Tad5ROS9VH5TiQyz88Dy8Lsdih/vwqFmv4jEpSYGp3l+ewlkse/l5a+miVKJxIBNefPDnhybAdhEm3aklmsg3QnWvXfFO7u5/rt7eQJde4eHhu7pIyM1OfXwVRcd9UeiQSETJJUYnNzVEIIaYSBGA7+eAgBDny5X1Mt4/NvOtteBuJBjEL5rX0ViqocR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