chunk-79154484.bd5c106e.js 5.7 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-79154484"],{3200:function(e,t,a){"use strict";a("c29e")},"9a3b":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"wrapper"},[a("left-nav",{attrs:{navList:e.navList,rightTitle:e.rightTitle}},[a("router-view")],1)],1)},n=[],i=a("ea4a"),c={components:{LeftNav:i["a"]},data:function(){return{navList:[{index:0,name:"红会科普",path:"/popularScience/list"}],rightTitle:"红会科普"}}},r=c,l=a("2877"),o=Object(l["a"])(r,s,n,!1,null,"52760b66",null);t["default"]=o.exports},c29e:function(e,t,a){},ea4a:function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"wrapper"},[a("div",{staticClass:"left-nav",style:{height:e.navHeight}},[a("div",{staticClass:"nav-title"},[e._v(e._s(e.topTitle))]),e._l(e.navList,(function(t){return a("div",{key:t.id,staticClass:"nav-item",class:{action:-1!==e.currentUrl.indexOf(t.path)},on:{click:function(a){return e.navTo(t.path)}}},[a("div",{staticClass:"item-name"},[e._v("\n\t\t\t\t"+e._s(t.name)+"\n\t\t\t")]),a("div",{staticClass:"item-icon"},[e._v("\n\t\t\t\t>\n\t\t\t")])])}))],2),a("div",{staticClass:"right-content"},[e.isShow?a("div",{staticClass:"title moren"},[e._v("\n\t\t\t"+e._s(e.rightTitle)+"\n\t\t")]):[a("div",{staticClass:"title hand",class:{action:0!==e.currentIndex},staticStyle:{display:"inline-block"},on:{click:function(t){return e.changeClik(0)}}},[e._v("\n\t\t\t\t基础知识\n\t\t\t")]),a("div",{staticClass:"title hand",class:{action:1!==e.currentIndex},staticStyle:{display:"inline-block"},on:{click:function(t){return e.changeClik(1)}}},[e._v("\n\t\t\t\t如何报名\n\t\t\t")])],a("div",{staticClass:"line",staticStyle:{padding:"35px 50px 35px 50px"}},[e._t("default")],2)],2)])},n=[],i={props:{navList:{type:Array,default:[]},topTitle:{type:String,default:"公众参与"}},computed:{isShow:function(){return"/donation/Hpc"!==this.$route.path},navHeight:function(){return 51*this.navList.length+52+"px"},currentUrl:function(){return this.$route.path},rightTitle:function(){var e="";switch(this.currentUrl){case"/donation/contribution":e="爱心捐赠";break;case"/donation/organDonation":e="遗体及器官捐献";break;case"/join/rescue":e="救护员报名";break;case"/join/member":e="会员入会登记";break;case"/join/volunteer":e="志愿者报名";break;case"/join/train":e="普及培训报名";break;case"/about/chineseRedCross":e="关于中国红十字会";break;case"/about/matrix":e="微信矩阵";break;case"/about/redCrossLaw":e="中国红十字会法";break;case"/about/redCrossMovement":e="关于红十字运动";break;case"/concat":e="联系我们";break;case"/popularScience/list":e="红会科普";break;case"/popularScience/detail":e="红会科普";break;case"/news/list":e="红会新闻";break;case"/news/detail":e="红会新闻";break;case"/publicity/list":e="信息公示";break;case"/publicity/detail":e="信息公示";break;case"/regulations/detail":e="政策法规";break;case"/regulations/list":e="政策法规";break;case"/regulations":e="政策法规";break;case"/knowledge/rescue/list":e="救护培训";break;case"/knowledge/rescue/detail":e="救护培训";break;case"/knowledge/cells/detail":e="造血干细胞";break;case"/knowledge/cells/list":e="造血干细胞";break;case"/knowledge/bloodDonation/list":e="无偿献血";break;case"/knowledge/bloodDonation/detail":e="无偿献血";break;case"/knowledge/development/detail":e="红十字发展";break;case"/knowledge/development/list":e="红十字发展";break;case"/newContent/jlx/detail":e="江陵县红会";break;case"/newContent/jlx/list":e="江陵县红会";break;case"/newContent/jzq/list":e="荆州区红会";break;case"/newContent/jzq/detail":e="荆州区红会";break;case"/newContent/szs/list":e="松滋市红会";break;case"/newContent/szs/detail":e="松滋市红会";break;case"/newContent/sss/list":e="石首市红会";break;case"/newContent/sss/detail":e="石首市红会";break;case"/newContent/jls/list":e="监利县红会";break;case"/newContent/jls/detail":e="监利县红会";break;case"/newContent/ssq/list":e="沙市区红会";break;case"/newContent/ssq/detail":e="沙市区市红会";break;case"/newContent/hhs/list":e="洪湖市红会";break;case"/newContent/hhs/detail":e="洪湖市红会";break;case"/directories/list":e="造血干细胞捐献名录";break;case"/directories/detail":e="造血干细胞捐献名录";break;case"/organs/detail":e="器官/遗体捐献名录";break;case"/organs/list":e="器官/遗体捐献名录";break;case"/cause/cells/list":e="造血干细胞捐献";break;case"/cause/cells/detail":e="造血干细胞捐献";break;case"/cause/emergency/detail":e="应急救护";break;case"/cause/emergency/list":e="应急救护";break;case"/cause/free/detail":e="无偿献血";break;case"/cause/free/list":e="无偿献血";break;case"/cause/humanity/detail":e="人道救助";break;case"/cause/humanity/list":e="人道救助";break;case"/cause/remains/detail":e="遗体和人体器官捐献";break;case"/cause/remains/list":e="遗体和人体器官捐献";break;case"/cause/rescue/detail":e="应急救援";break;case"/cause/rescue/list":e="应急救援";break;case"/cause/service/detail":e="志愿服务";break;case"/cause/service/list":e="志愿服务";break;case"/cause/teenagers/detail":e="红十字青少年";break;case"/cause/teenagers/list":e="红十字青少年";break;default:e=""}return e}},data:function(){return{currentIndex:0}},methods:{navTo:function(e){var t=this.$route.path;t!==e&&this.$router.push(e)},changeClik:function(e){this.currentIndex=e,this.$router.push("/donation/Hpc?id="+e)}}},c=i,r=(a("3200"),a("2877")),l=Object(r["a"])(c,s,n,!1,null,"d81a2a9e",null);t["a"]=l.exports}}]);