CINXE.COM
中国志愿服务 - 《中国大百科全书》第三版网络版
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="renderer" content="webkit" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1" /> <meta name="format-detection" content="telephone=no" /> <!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" /> --> <link rel="shortcut icon" href="https://www.zgbk.com/images/favicon.ico" /> <link rel="stylesheet" href="https://www.zgbk.com/v3/css/bootstrap.min.css" type="text/css" /> <!-- <link rel="stylesheet" href="${prefix("template/v3/css/animate.css")}" type="text/css" /> --> <link rel="stylesheet" href="https://www.zgbk.com/v3/css/font-awesome.min.css" type="text/css" /> <!-- <link rel="stylesheet" href="${prefix("template/v3/css/font-opensans.css")}" type="text/css" /> --> <link rel="stylesheet" href="https://www.zgbk.com/v3/css/v3-framework.css" type="text/css" /> <link rel="stylesheet" href="https://www.zgbk.com/v3/css/v3-common.css" type="text/css" /> <link rel="stylesheet" href="https://www.zgbk.com/v3/css/v3-site_new.css?v=1.02115" type="text/css" /> <link href="https://www.zgbk.com/v3/css/addition/jquery.mCustomScrollbar.css" rel="stylesheet" type="text/css" /> <script src="https://www.zgbk.com/js/md5.js"></script> <script> var frontAppContext = 'https://www.zgbk.com/ecph/'; var siteID = "1"; var token = "353c7adc8d64acdd0bf83efb84203b7a"; </script> <script src="https://www.zgbk.com/v3/js/addition/pat-min.js"></script> <script src="https://www.zgbk.com/js/zcms_require.js" contextpath="https://www.zgbk.com/ecph/"></script> <script src="https://www.zgbk.com/v3/js/addition/jquery.mCustomScrollbar.min.js"></script> <link rel="stylesheet" href="https://www.zgbk.com/js/popover/jquery.webui-popover.min.css" /> <script src="https://www.zgbk.com/js/popover/jquery.webui-popover.min.js"></script> <script src="https://www.zgbk.com/js/ofi.min.js"></script> <script src="https://www.zgbk.com/js/mtoken.js"></script> <script> if (isIE && ieVersion < 9 || isIE8) { importJS('../../v3/js/ie/html5shiv.js') if (!isIE6 && !isIE7) { importJS('../../v3/js/ie/respond.min.js') } importJS('../../v3/js/ie/excanvas.js') } if (/MSIE (6|7)\.0/.test(navigator.userAgent)) { importCSS('../../v3/css/bootstrap-ie6.css') importJS('../../v3/js/ie/bootstrap-ie6.js') } if (isIE && ieVersion < 9 || isIE8) { importCSS('../../v3/css/v3-site-ie.css') } if (inTouch) { importJS('../../v3/js/hammer.min.js') } importJS('../../v3/js/responsiveslides.js') document.oncontextmenu = function () { return false; } $(window).on('copy', function (event) { if (!Cookie.get("_ZMemberName")) { myAlert("拷贝功能暂未开放,敬请谅解。"); return false; event.returnValue = false; } else { if (window.location.href.indexOf('words') > -1) { if (!window.getSelection) { return } $.ajax({ url: frontAppContext + 'api/wikiQuote', dataType: 'json', async: false, headers: { 'Accept': 'aplication/json', 'token': token }, data: { wordID: '', wordName: $('.title h2').text() }, type: 'POST', success: function (data) { var myDate = new Date; var year = myDate.getFullYear(); //获取当前年 var mon = myDate.getMonth() + 1; //获取当前月 var date = myDate.getDate(); //获取当前日 var time = year + '-' + mon + '-' + date // var genCopy = () => { // return [ // '', // '[' + data.quoteCount + ']' + author + '.' + $('.title h2').text() + '[DB/OL].' + window.location.href + ', ' + time + '.' // ] // } var copyinfo = new Array(); copyinfo[0] = ""; copyinfo[1] = '[' + data.quoteCount + ']' + author + '.' + $('.title h2').text() + '[DB/OL].' + window.location.href + ', ' + time + '.'; var copyString = window.getSelection().toString() if ('object' === typeof event.originalEvent.clipboardData) { // event.originalEvent.clipboardData.setData('text/html', copyString + genCopy().join('')) // event.originalEvent.clipboardData.setData('text/plain', copyString + genCopy().join('\n')) event.originalEvent.clipboardData.setData('text/html', copyString + copyinfo.join('')) event.originalEvent.clipboardData.setData('text/plain', copyString + copyinfo.join('\n')) event.preventDefault() return } } }) } } }) // 禁止f12 window.onkeydown = function (e) { if (e.keyCode === 123) { e.preventDefault() } } window.oncontextmenu = function (e) { e.preventDefault() } </script> <style> @media print { a[href]:after { content: none !important; } .noprint { display: none } } </style> <script> function PrintDiv() { jQuery('#divcontent').print({ globalStyles: true, mediaPrint: false, stylesheet: null, noPrintSelector: '.noprint', iframe: true, append: null, prepend: null, manuallyCopyFormValues: true, deferred: $.Deferred() }) } </script> <title>中国志愿服务 - 《中国大百科全书》第三版网络版</title> <meta name="keywords" content="" /> <meta name="description" content="" /> </head> <body> <!-- 最顶部 --> <div class="headbox clearfix"> <div class="head-con clearfix"> <div class="fl logobox"> <a href="https://www.zgbk.com/"> <img class="logo" src="https://www.zgbk.com/images/word_new/logo.png" /> <img class="m-logo" src="https://www.zgbk.com/images/word_new/m-logo.png" /> </a> <button type="button" class="hamburger animated is-closed menu fr pointer "> <span class="hamb-top"></span> <span class="hamb-middle"></span> <span class="hamb-bottom"></span> </button> <!-- <span class="menu fr pointer hamburger"></span> --> </div> <div class="edition font13 fl"></div> <!-- 搜索框 --> <div class="search clearfix"> <div class="search-box"> <div class="inputbox fl"> <input type="text" class="form-control search-query" id="search" autocomplete="off" placeholder="输入关键词" οnkeydοwn="return banInputSapce(event);" maxlength="50" /> <ul class='hide' id='suggestlistbox'></ul> <script type="javascript/template" id="suggestlist"> {{#for(item in lists)}} <li class="pointer ellipsis" onclick='chooseqery(this)'>{{{item}}}</li> {{/for}} </script> </div> <span class='pointer search-submit fr' alias='all'></span> </div> <a class="advance-search fr" href="https://www.zgbk.com/ecph/advanceSearch/result?SiteID=1&Alias=bkzyb">高级搜索</a> </div> <!-- 搜索框 end --> <div class="head-right fr"> <div class=" userbox member-span-logined member-span-logined1"> <span class="pointer realName font16 ellipsis"></span> <ul class="infolist"> <li> <a class='member-username' target="_blank">个人中心</a> </li> <li> <a class='member-organ hide' target="_blank">机构中心</a> </li> <li class="last"> <a class="member-logout" href="">退出</a> </li> </ul> </div> <div class="member-span-login clearfix hide"> <a class="member-login">登录</a> <a class="member-register">注册</a> </div> </div> <div class="all-nav"> <div class="nav-head"> <a href="https://www.zgbk.com/ecph/sublibrary?SiteID=1&ID=1">专业板块</a> <a href="https://www.zgbk.com/ecph/sublibrary?SiteID=1&ID=2">专题板块</a> <a href="https://www.zgbk.com/ecph/sublibrary?SiteID=1&ID=451">大众板块</a> </div> <div id="head-navlistbox" class="navlist-box"></div> <script type="javascript/template" id="head-navlist"> {{#for(item in lists)}} <div class="side-nav-list clearfix"> <a class="side-nav-title fl" id="{{item.current.id}}" href="https://www.zgbk.com/ecph/subject?SiteID={{item.current.siteid}}&ID={{item.current.id}}">{{item.current.name}}</a> <ul class="nav-inner-list" id="nav-inner-list-{{item.current.id}}"> {{#for(child in item.children)}} <li> <a href="https://www.zgbk.com/ecph/subject?SiteID={{child.siteid}}&ID={{child.id}}">{{child.name}}</a> </li> {{/for}} </ul> </div> {{/for}} </script> <script type="javascript/template" id="navlist_child"> {{#for(item in lists)}} <li> <a href="https://www.zgbk.com/ecph/subject?SiteID={{item.siteid}}&ID={{item.id}}">{{item.name}}</a> </li> {{/for}} </script> <div class="mobilebox"> <div class=" userbox member-span-logined member-span-logined1"> <span class="pointer realName font16 ellipsis"></span> <ul class="infolist"> <li> <a class="advance-search hidden-sm hidden-md hidden-lg" href="https://www.zgbk.com/ecph/advanceSearch/result?SiteID=1&Alias=bkzyb">高级搜索</a> </li> <li> <a class='member-username' target="_blank">个人中心</a> </li> <li> <a class='member-organ hide' target="_blank">机构中心</a> </li> <li class="last"> <a class="member-logout" href="">退出</a> </li> </ul> </div> <div class="member-span-login clearfix hide"> <a class="advance-search hidden-sm hidden-md hidden-lg" href="https://www.zgbk.com/ecph/advanceSearch/result?SiteID=1&Alias=bkzyb">高级搜索</a> <a class="member-login">登录</a> <a class="member-register">注册</a> </div> </div> </div> </div> </div> <div class="wrap-height"></div> <style> body { font-family: 'PingFang SC', 'Microsoft Yahei', '宋体', DBK; } </style> <script> // 联想词 var suggest = new Pat({ el: 'suggestlistbox', data: { lists: [], }, template: document.getElementById('suggestlist').innerHTML }) var sFlag = true; $('.head-con').delegate('.headbox .search input', 'input', function () { if (!sFlag) CustomerList($('.headbox .search input').val()); }).on('compositionstart', function () { sFlag = true; }).on('compositionend', function () { sFlag = false; CustomerList($('.headbox .search input').val()); }); // $('.headbox .search input').keyup(function(){ function CustomerList(val){ $.ajax({ url: frontAppContext + 'api/suggest', dataType: 'json', async: true, headers: { 'Accept': 'aplication/json', 'token': token }, data: { 'query': val ,field:'title',type:'bkzyb',pagesize:10 }, type: 'GET', success: function (data) { if(data.data){ suggest.$data.lists = data.data.datalist suggest.$apply() if (data.data.datalist) { $('.headbox .search ul').removeClass('hide') } } } }) } // }) $(document).click(function () { $('.headbox .search #suggestlistbox').addClass('hide') }); function chooseqery(a) { $('.headbox .search input').val($(a).text()) } // 导航 function headnavlist() { $.ajax({ url: frontAppContext + 'api/subject', dataType: 'json', async: true, headers: { 'Accept': 'aplication/json', 'token': token }, data: { 'ID': 0, 'Alias': 'bkzyb', 'SiteID': '1', 'level': '2' }, type: 'GET', success: function (data) { var p = new Pat({ el: 'head-navlistbox', data: { lists: data.data, }, template: document.getElementById('head-navlist').innerHTML }) $(".navlist-box").mCustomScrollbar({ mouseWheel: { preventDefault: true } }); $(".side-nav-title").each(function () { $(".side-nav-title").eq(0).addClass("cur"); // var id = $(this).attr("id"); // navChildlist(id); if (document.body.clientWidth < 700) { $(this).attr("href", "javascript:;"); $(this).click(function () { $(".side-nav-title").removeClass("cur") $(this).addClass("cur"); $(".nav-inner-list").hide(); $(this).next(".nav-inner-list").show(); $(".nav-inner-list").mCustomScrollbar({ mouseWheel: { preventDefault: true } }); }) } }) } }) } // function navChildlist(id) { // $.ajax({ // url: frontAppContext + 'api/subject', // dataType: 'json', // async: true, // headers: { 'Accept': 'aplication/json', 'token': token }, // data: { 'ID': id }, // type: 'GET', // success: function (data) { // var p = new Pat({ // el: 'nav-inner-list-' + id, // data: { // lists: data.data.datalist, // }, // template: document.getElementById('navlist_child').innerHTML // }) // } // }) // } $(".menu").click(function () { if ($(this).hasClass("is-closed")) { if ($(".navlist-box").children().length < 1) { headnavlist() } $(this).addClass("is-open").removeClass("is-closed") $(".logobox").addClass("toggled"); $(".all-nav").slideDown(); } else { $(this).addClass("is-closed").removeClass("is-open") $(".logobox").removeClass("toggled"); $(".all-nav").slideUp(); } }) $(function () { $(".menu").hoverDelay({ hoverDuring: 1000, outDuring: 1000, hoverEvent: function () { if ($(".navlist-box").children().length < 1) { headnavlist() } $(".menu").addClass("is-open").removeClass("is-closed") $(".logobox").addClass("toggled"); $(".all-nav").slideDown(); $(".all-nav").addClass("cur1").removeClass("cur"); }, outEvent: function () { if (!$(".all-nav").hasClass("cur")) { $(".all-nav").slideUp(); $(".menu").removeClass("is-open").addClass("is-closed") $(".logobox").removeClass("toggled"); $(".all-nav").removeClass("cur1"); } } }); $(".all-nav").hoverDelay({ hoverDuring: 100, outDuring: 2000, hoverEvent: function () { $(".menu").addClass("is-open").removeClass("is-closed") $(".logobox").addClass("toggled"); $(".all-nav").slideDown(); $(".all-nav").addClass("cur").removeClass("cur1"); }, outEvent: function () { if (!$(".all-nav").hasClass("cur1")) { $(".all-nav").slideUp(); $(".menu").removeClass("is-open").addClass("is-closed") $(".logobox").removeClass("toggled"); $(".all-nav").removeClass("cur"); } } }); autoNav(); }) $(window).resize(function () { autoNav() }); function autoNav() { var height = $(window).height() - 67; var navlist_H = $(window).height() - 67 - 59; $(".all-nav").css("max-height", height); $(".all-nav .navlist-box").css("max-height", navlist_H); if ($(window).width() > 700) { $(".userbox").click(function () { if ($(".userbox").hasClass("isShow")) { $(".userbox").removeClass("isShow") $(".infolist").slideUp(); } else { $(".userbox").addClass("isShow") $(".infolist").slideDown(); } }) $(".userbox").hoverDelay({ hoverDuring: 200, outDuring: 100, hoverEvent: function () { $(".userbox").addClass("isShow") $(".infolist").slideDown(); }, outEvent: function () { $(".userbox").removeClass("isShow") $(".infolist").slideUp(); } }); } } </script> <div class="intangible fy-intangible"> <div class=""> <ul class="clearfix"> <li class=""> <a href="https://www.zgbk.com/ecph/sublibrary?SiteID=1&ID=458" target='_blank'><img src="https://www.zgbk.com/upload/resources/image/2020/11/16/80059.jpg" alt=""></a> </li> </ul> </div> <div class="container"> <div class="introduce-word"> <h2 class="name">中国志愿服务</h2> <div class="intro-thumb"><p style="text-indent: 2em;"><span style="font-size: 16px;">志愿服务专题是在中国大百科全书出版社2016年出版的《中国志愿服务大辞典》基础上修订而成,旨在推广中国志愿服务工作模式,加深全社会对志愿服务的了解,推动志愿服务在中国的进一步发展。本专题分为基本概念与综合理论、实务、法规及相关制度、组织、项目、人物、事件、文献、其他九个分支,全面阐述了中国志愿服务的理论与实践,集中展示了改革开放以来中国志愿服务的成就与经验。本专题是对中国特色志愿服务体系的重要探索,不仅能促进志愿服务理论研究系统化、推动志愿服务标准规范化,而且能为国内外志愿服务研究者、实践者提供参考和指导。</span></p></div> <div class="editorbox"> <h2 class="clearfix"> <span class="fl">编委会 </span> <span class="fl font specialNum"></span><span class="fl"> 人</span> </h2> <a class="fr toeditor" href="https://www.zgbk.com/ecph/editorialSpecial?SiteID=1&SubID=458">查看详细</a> </div> </div> <!-- 瀑布流开始 --> <div class="wall clearfix" id="hotlistbox"></div> <script type="javascript/template" id="hotbox"> {{#for(item in lists)}} <div class="wall-item"> <a href="https://www.zgbk.com/ecph/words?SiteID=1&ID={{item.ID}}&Type=bkztb&SubID={{item.SubLibraryID}}" target="_blank"> <img src="{{item.SubcDescriptionImg}}" onerror="this.src='https://www.zgbk.com/images/defaultb.jpg';this.onerror=null"/> <div class="mask"></div> </a> <div class="clearfix info"> <a class="fl tit ellipsis" href="https://www.zgbk.com/ecph/words?SiteID=1&ID={{item.ID}}&Type=bkztb&SubID={{item.SubLibraryID}}" target="_blank">{{item.Name}}</a> <span class="fr sub">{{item.SubLibraryName}}</span> </div> </div> {{/for}} </script> <div class="more"> <a href="https://www.zgbk.com/ecph/hot?SiteID=1&Type=hot&Alias=bkztb&ID=458">更多热门条目</a> </div> <!-- 瀑布流结束 --> </div> <div class="sort clearfix" id='sort'> <div class="l-sort fl clearfix"> <div class="fr sort-box"> <div class="title"> <p class="name">中国志愿服务</p> <p class="sort-show">分类展示</p> </div> <div class="addnav"> <span class="shownav">全部分类</span> <div id="navlist-box" class="navlist"></div> <script type="javascript/template" id="navlist"> {{#for(item in lists)}} <div class="side-nav-list"> <a href="javascript:void(0);" sid='{{item.ID}}' title="{{item.Name}}" class="side-nav-title {{__INDEX__==0?'on':''}}" code='{{item.InnerCode}}' onclick="showchildren(this,'{{item.ID}}','{{item.InnerCode}}','{{item.SiteID}}','{{item.Alias}}')">{{item.Name}}</a> </div> {{/for}} </script> </div> </div> </div> <div class="r-sort clearfix"> <div class="fl con-box"> <div class="part hide"> <div class="branch-box clearfix"> <div class="clearfix"> <div class="branch-list part1 fl" id='branch-nav-box'></div> </div> </div> </div> <script type="javascript/template" id="branch-nav"> <div class="pointer branch fl branch-click"> <i>{{all}}</i> <img src="https://www.zgbk.com/images/part/tran.png"> </div> <ul class="branch-nav active"> <li> <a href="javascript:;" onclick="branchall(this ,'{{allid}}','{{allcode}}','{{allsiteid}}','{{allAlias}}')" code='{{allcode}}' class='font14'>全部</a> </li> {{#for(item in lists)}} <li> <a href="javascript:;" code='{{item.InnerCode}}' onclick="child(this,'{{item.ID}}','{{item.InnerCode}}','{{item.SiteID}}','{{item.Alias}}')">{{item.Name}}</a> </li> {{/for}} </ul> </script> <ul class="part-list" id='part-list-box'></ul> <script type="javascript/template" id="part-list"> {{#for(item in lists)}} <li class="clearfix"> <div class="visible-xs"> <div class="title clearfix"> <h2 class="ellipsis"> <a target='_blank' href="https://www.zgbk.com/ecph/words?SiteID={{item.SiteID}}&ID={{item.ID}}&Type=bkztb" class='font20'>{{item.Name}}</a> </h2> <a class='font12 type fr'>{{item.SubLibraryName}}</a> </div> <div><span class="ennamebig font12" t-if="item.EnName">/ {{{item.EnName}}} /</span></div> </div> <div class="row"> <div class="left {{item.SubcDescriptionImg?'col-md-9 col-sm-9 col-xs-7':'col-md-12 col-sm-12 col-xs-12'}} fl"> <div class="title clearfix hidden-xs"> <h2 class="ellipsis fl" title='{{item.Name}}{{item.EnName?"/"+item.EnName+"/":""}}'> <a target='_blank' href="https://www.zgbk.com/ecph/words?SiteID={{item.SiteID}}&ID={{item.ID}}&Type=bkztb" class='font20'>{{item.Name}}</a> <span class="ennamebig font12" t-if="item.EnName">/ {{{item.EnName}}} /</span> </h2> <a class='font12 type'>{{item.SubLibraryName}}</a> </div> <div class="content J-textEllipsis clearfix font13">{{{item.SubcDescriptionText}}}</div> </div> <div class="right col-md-3 col-sm-3 col-xs-5" t-if="item.SubcDescriptionImg"> <div> <a target='_blank' href="https://www.zgbk.com/ecph/words?SiteID={{item.SiteID}}&ID={{item.ID}}&Type=bkztb"> <img src="{{item.SubcDescriptionImg}}" onerror="this.src='https://www.zgbk.com/images/default.jpg';this.onerror=null"> </a> </div> </div> </div> </li> {{/for}} </script> <div class="nowords"></div> <div class="page"> <div class="pagination"></div> </div> </div> </div> <!-- r-sort 结束 --> </div> <!-- sort 结束 --> </div> <div class="footer_new"> <div class="row"> <div class="text-center nopadding logo"> <img src="https://www.zgbk.com/images/index_new/logo.png" alt="" style="width:270px;"> </div> <ul class="bottomnav"> <!--<zp:sublibbasic alias='bkztb'> <li><a href="${FrontAppContext}sublibrary?SiteID=${Site.ID}&ID=${Basic.ID}">专题板块</a></li> </zp:sublibbasic> <zp:sublibbasic alias='bkdzb'> <li><a href="${FrontAppContext}sublibrary?SiteID=${Site.ID}&ID=${Basic.ID}">大众板块</a></li> </zp:sublibbasic>--> <!--<li><a href="${FrontAppContext}event?SiteID=${Site.ID}">大事记</a></li>--> <li><a href="https://www.zgbk.com/ecph/editorial/board?SiteID=1">总编委会</a></li> <li><a href="https://www.zgbk.com/ecph/editorial/subject?SiteID=1">学科编委会</a></li> <li><a href="https://www.zgbk.com/gywm/">关于我们</a></li> <li><a href="https://www.zgbk.com/sbjs/">三版介绍</a></li> </ul> <div class="text font12 text-center"> 版权所有 © 2021 中国大百科全书出版社 <br> Copyrights © 2021 by Encyclopedia of China Publishing House.All Rights Reserved <br> <a href="https://beian.miit.gov.cn" target="_blank">京ICP备13020690号-4</a> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010202008139"><img class="hidden" src="https://www.zgbk.com/images/zgbk.png" style="max-width:16px;" />京公网安备 11010202008139号</a><br /> </div> </div> </div> <div class="goTop text-center pointer hide"><img src="https://www.zgbk.com/images/index_new/gotop.png" alt=""></div> <script src="//res.wx.qq.com/open/js/jweixin-1.0.0.js" type="text/javascript"></script> <script src="https://www.zgbk.com/js/weixin.js"></script> <div class="sharedesc hide"></div> <script> var shareurl = window.location.href; var title = ""; var siteUrl = "https://www.zgbk.com" var imgUrl = siteUrl + "/images/index/share_logo.png"; var desc = $(".summary").text(); desc = desc.replace("/\\r\\n?", "<br>").replace("\\n", "<br>").replace(/\'/g, "").replace(/\"/g, "").replace(/\‘/g, "").replace(/\“/g, "").replace(/\’/g, "").replace(/\”/g, ""); weiXinShare(shareurl, title, imgUrl, desc); </script> <script src="https://www.zgbk.com/v3/js/bootstrap.min.js"></script> <!-- <script src="${prefix("template/v3/js/slimscroll/jquery.slimscroll.min.js")}"></script> --> <!-- <script src="${prefix("template/v3/js/appear/jquery.appear.js")}"></script> --> <script src="https://www.zgbk.com/v3/js/hammer.min.js"></script> <!-- <script src="${prefix("template/v3/js/scroll/smoothscroll.js")}"></script> --> <script src="https://www.zgbk.com/v3/js/v3_common.js"></script> <script src="https://www.zgbk.com/v3/js/v3_site.js?v=1.1&t=2"></script> <script> function logined(name,realname){ if (name) { Cookie.set("_ZMemberName",name,null,"/"); $(".member-span-login").addClass("hide"); $(".member-span-logined").removeClass("hide"); $("span.member-username").text(name); $("a.member-username").attr("href", frontAppContext + "member/info?SiteID=" + siteID); if(realname){ var rule = /^1[3-9][0-9]\d{4,11}$/; if(rule.test(realname)){ var realname = realname.replace(/^(\d{3})\d{4}(\d+)/,"$1****$2") $(".realName").text(realname); }else{ $(".realName").text(realname); } }else{ var rule = /^1[3-9][0-9]\d{4,11}$/; if(rule.test(name)){ var name = name.replace(/^(\d{3})\d{4}(\d+)/,"$1****$2") $(".realName").text(name); }else{ $(".realName").text(name); } } } else { var dologout=Cookie.get("_ZMemberName"); Cookie.remove("_ZMemberName","/"); Cookie.remove("_ZMemberStand","/"); $(".member-span-logined").addClass("hide"); $(".member-span-login").removeClass("hide"); if(dologout){ $(document.body).append("<img height='0' width='0' style='overflow:hodden; display: none;' src='" +frontAppContext + 'callback?action=logout' +"' >"); } } var url = encodeURIComponent(window.location.href); if(url.indexOf("Referer") > -1){ url = url.substring(url.indexOf("Referer") + 10); url = decodeURIComponent(url); } // 暂时关闭注册功能 // $(".member-register").attr("href", frontAppContext + "member/register?SiteID=" + siteID +"&Referer=" + url); $(".member-register").attr("title", "网站暂不对外开放,注册功能暂时关闭"); $(".member-login").attr("href", frontAppContext + "member/login?SiteID=" + siteID + "&Referer=" + url); $(".member-logout").attr("href", frontAppContext + "member/logout?SiteID=" + siteID + "&Referer=" + url); $(".member-organ").attr("href", frontAppContext + "branch/index?SiteID=" + siteID + "&Referer=" + url); } function onlineCallback(onlineInfo){ if(onlineInfo.BranchAdmin){ $(".member-organ").removeClass("hide"); } if(onlineInfo.Login){ logined(onlineInfo.AccessName,onlineInfo.RealName); if(Cookie.get("_OnlineCallTime")==onlineInfo.Time){ return; } Cookie.set("_OnlineCallTime",onlineInfo.Time,null,"/"); loadJsonp("https://www.zgbk.com/sso/oauth/authorize?client_id=3c01452cc9f24356801ff9219ddca4a9&response_type=code&scope=user_info&redirect_uri=https%3A%2F%2Fwww.zgbk.com%2Fecph%2Fcallback", function(data) { if (data.Success) { try { var redirectURL = data.RedirectURL; $(document.body).append("<img height='0' width='0' style='overflow:hodden; display: none;' src='" +redirectURL +"' onload='logined('\""+onlineInfo.AccessName+"\")' onerror='logined()'>"); } catch (e) { console.warn("登录回调URL失败"); } }else{ console.warn("登录授权失败"); logined(); } }); }else{ logined(); } } </script> <!--<script type="text/javascript" src="${(zasInfo.ZasURL)}online?ContentType=jsonp&callback=onlineCallback"></script>--> <!-- <link rel="stylesheet" href="${prefix("template/v3/css/font.css")}" type="text/css" /> --> <script> $(function () { var link = document.createElement("link"); link.rel = "stylesheet"; link.type = "text/css"; if (window.location.href.indexOf('ecph_manager') != -1) { link.href = "https://manager.zgbk.com:9000/ecph_manager/preview/dbk/v3/css/font.css"; } else { link.href = siteUrl + "/v3/css/font.css"; } document.getElementsByTagName("head")[0].appendChild(link); }) </script> <link rel="stylesheet" type="text/css" href="https://www.zgbk.com/v3/css/addition/idangerous.swiper2.7.6.css" /> <script src="https://www.zgbk.com/v3/js/addition/idangerous.swiper2.7.6.min.js"></script> <script src="https://www.zgbk.com/js/jquery.pagination.js"></script> <script src="https://www.zgbk.com/js/jaliswall.js"></script> <script> $(function () { var bannerSwiper = new Swiper('.banner', { centeredSlides: true, // slidesPerView: 'auto', //内部宽度自适应 loop: true, pagination: '.prompt-page', paginationClickable: true, autoplay: 2000, }) $('.banner').hover(function () { bannerSwiper.stopAutoplay(); }, function () { bannerSwiper.startAutoplay(); }); $('.prompt-prev').click(function () { bannerSwiper.swipePrev(); }) $('.prompt-next').click(function () { bannerSwiper.swipeNext(); }) $(".intro-thumb").mCustomScrollbar(); var url = location.search; //获取url中"?"符后的字串 var theRequest = new Object(); if (url.indexOf("?") != -1) { var str = url.substr(1); strs = str.split("&"); for (var i = 0; i < strs.length; i++) { theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]); } } $('.advance-search').attr('href', 'https://www.zgbk.com/ecph/advanceSearch/result?SiteID=1&Alias=bkztb') var urlcode = theRequest.ID; var siteId = theRequest.SiteID; hotlist("hot", urlcode, siteId) navlist(urlcode, 'bkztb', siteId) getNum("中国志愿服务"); }) // 热门条目 function hotlist(hot, innerCode, siteId) { $.ajax({ url: frontAppContext + 'api/wiki', dataType: 'json', async: true, headers: { 'Accept': 'aplication/json', 'token': token }, data: { 'type': hot, 'id': innerCode, 'pagesize': 8, 'siteId': siteId }, type: 'GET', success: function (data) { if (data.data.total > 0) { var p = new Pat({ el: 'hotlistbox', data: { lists: data.data.datalist, }, template: document.getElementById('hotbox').innerHTML }) // 瀑布流 $('.wall').jaliswall(); } else { $(".more").hide(); } } }) } // 左侧一级分类列表 function navlist(id, alias, siteId) { $.ajax({ url: frontAppContext + 'api/sublib', dataType: 'json', async: false, headers: { 'Accept': 'aplication/json', 'token': token }, data: { 'ID': id, pagesize: 100 }, type: 'GET', success: function (data) { var p = new Pat({ el: 'navlist-box', data: { lists: data.data.datalist, }, template: document.getElementById('navlist').innerHTML }) $('.side-nav-list a.on').click() var initcode = $('.side-nav-list a.on').attr('code') if ('') { $('.side-nav-list a').each(function () { if ($(this).attr('sid') == '') { $(this).click() } }) } var text = $('.side-nav-list a.on').text(); $(".addnav .shownav").text(text); if (document.body.clientWidth < 640) { // $(".addnav").mouseenter(function(){ // $(this).find('.navlist').slideDown('fast') // }).mouseleave(function () { // $(this).find('.navlist').slideUp('fast') // }) $(".addnav").hoverDelay({ hoverDuring: 200, outDuring: 100, hoverEvent: function () { $(".navlist").slideDown(); $(".navlist").removeClass("true"); }, outEvent: function () { $(".navlist").slideUp(); $(".navlist").addClass("true"); } }); $(".addnav .shownav").click(function () { if ($(this).next(".navlist").hasClass("true")) { $(this).next(".navlist").slideUp(); $(this).next(".navlist").removeClass("true"); } else { $(this).next(".navlist").slideDown(); $(this).next(".navlist").addClass("true"); } }) } } }) } // 学科分支初始化 var branchNav = new Pat({ el: 'branch-nav-box', data: { all: '全部', allcode: '', allsiteid: '', length: 0, name: '', text: "暂无条目", lists: [], }, template: document.getElementById('branch-nav').innerHTML }) var partList = new Pat({ el: 'part-list-box', data: { lists: [], }, template: document.getElementById('part-list').innerHTML }) function showchildrenp(a, id, code, siteid, name) { $('.allclass').text($(a).text()) showchildren(a, id, code, siteid, name) $('.subbtn').attr('data-toggle', "dropdown") } // 点击一级分类展示条目 function showchildren(a, id, code, siteid, name) { $('.shownav').text($(a).text()) if (document.body.clientWidth < 640) { $(".navlist").slideUp('fast') } $('.navlist a').removeClass('on') $(a).addClass('on') $('#branch-nav-box').siblings().remove() $.ajax({ url: frontAppContext + 'api/sublib', dataType: 'json', async: false, headers: { 'Accept': 'aplication/json', 'token': token }, data: { 'ID': id, pagesize: 100 }, type: 'GET', success: function (data) { if (data.data.total) { branchNav.$data.length = data.data.datalist.length branchNav.$data.name = data.data.datalist[0].Name branchNav.$data.allcode = code branchNav.$data.allid = id branchNav.$data.allsiteid = siteid branchNav.$data.allAlias = name branchNav.$data.lists = data.data.datalist branchNav.$apply() $('#branch-nav-box .branch-nav').mCustomScrollbar({ mouseWheel: { preventDefault: true},theme:"dark-thin" }); $('.branch-list').find('i span').text('全部') $('.part').removeClass('hide') if (document.body.clientWidth < 640) { $(".branch-box .branch-list").click(function () { if ($(this).hasClass("hover")) { $(this).removeClass('hover').find('.branch-nav').slideUp('fast') } else { $(this).addClass('hover').find('.branch-nav').slideDown('fast') } }) } else { $(".branch-box .branch-list").mouseenter(function () { $(this).addClass('hover').find('.branch-nav').slideDown('fast') }).mouseleave(function () { $(this).removeClass('hover').find('.branch-nav').slideUp('fast') }) } } else { branchNav.$data.length = 0 if (!$('.part').hasClass('hide')) { $('.part').addClass('hide') } } wordslist(0, code, siteid, name, id) } }) } // 点击分支菜单 function child(a, id, code, siteid, subName) { if ($(a).attr('href')) { var $branch_list = $(a).parents('.branch-list') $branch_list.nextAll().remove() menulevel = $branch_list.index() + 1 $branch_list.find('i span').text($(a).text()) $branch_list.find('.branch-nav').slideUp('fast') } $.ajax({ url: frontAppContext + 'api/sublib', dataType: 'json', async: false, headers: { 'Accept': 'aplication/json', 'token': token }, data: { 'ID': id }, type: 'GET', success: function (data) { var len, list = [], name, childid, childcode, childsiteid if (data.data.datalist) { len = data.data.datalist.length if (len != 0) { menulevel += 1 $(a).parents('.branch-list').find('strong').removeClass('hide') $('.branch-box>div').append('<div class="branch-list part' + menulevel + ' fl" id="branch-nav-box' + menulevel + '"></div>') list = data.data.datalist var branchNav2 = new Pat({ el: 'branch-nav-box' + menulevel, data: { all: '全部', allcode: code, allsiteid: siteid, allid: id, length: len, lists: list, }, template: document.getElementById('branch-nav').innerHTML }) var $ul = $('#branch-nav-box' + menulevel + ' .branch-nav') if ($ul.outerHeight() >= 200) { $('#branch-nav-box' + menulevel + ' .branch-nav').mCustomScrollbar({ mouseWheel: { preventDefault: true },theme:"dark-thin" }); } } $(".branch-box .branch-list").mouseenter(function () { $(this).addClass('hover').find('.branch-nav').slideDown('fast') }).mouseleave(function () { $(this).removeClass('hover').find('.branch-nav').stop(true,false).slideUp('fast') }) } wordslist(0, code, siteid, subName, id) } }) } function wordslist(index, code, siteid, name, id) { $('.nowords').html('') $.ajax({ url: frontAppContext + 'api/wiki', dataType: 'json', async: false, headers: { 'Accept': 'aplication/json', 'token': token }, data: { 'id': code, 'pageindex': index, 'pagesize': 6, 'siteId': siteid, 'alias': name }, type: 'GET', success: function (data) { if (data.data) { if (data.data.datalist) { partList.$data.lists = data.data.datalist partList.$apply() } if (data.data.total > 0) { $(".part-list").show(); $('.page .pagination').pagination({ totalData: data.data.total, showData: 6, isHide: true, current: index + 1, coping: true, prevContent: '< 上一页', nextContent: '下一页 >', keepShowPN: true, count: 2, callback: function (api) { wordslist(api.getCurrent() - 1, code, siteid, name, id) } }); if (index == 0) { $('.page .pagination .prev').addClass('disabled') } if (index == Math.ceil(data.data.total / 6 - 1)) { $('.page .pagination .next').addClass('disabled') } } else { $(".part-list").hide(); if (document.body.clientWidth > 992) { $(".l-sort").css("min-height", $(".sort-box").height()); } else { var con_width = $(".container").width(); $(".intangible .l-sort .sort-box,.intangible .r-sort .con-box").css("width", con_width); } $('.nowords').html('<div style="margin:30px 0; text-align:center"><img src="../../images/wordsdefault.png" alt=""><div style="margin-top:20px;color:#777">未找到相关结果</div></div>') $('.page .pagination').html('') } // 点击分页 var scroll_top; if ($(".wall").height() < 10) { setTimeout(function () { scroll_top = $(".sort").offset().top - 65; }, 1000); } else { scroll_top = $(".sort").offset().top - 65; } $(".page .pagination a").click(function () { $('html , body').animate({ scrollTop: scroll_top }, 'slow'); }) if (document.body.clientWidth > 992) { $(".l-sort").css("min-height", $(".sort").height()); } else { var con_width = $(".container").width(); $(".intangible .l-sort .sort-box,.intangible .r-sort .con-box").css("width", con_width); } } } }) } function branchall(a, code, siteid, id) { var $branch_list = $(a).parents('.branch-list') $branch_list.nextAll().remove() menulevel = $branch_list.index() + 1 $branch_list.find('i span').text($(a).text()) $branch_list.find('.branch-nav').slideUp('fast') wordslist(0, code, siteid, '', id) } function getNum(name) { $.ajax({ url: frontAppContext + 'api/subjectEditorialBoarCount', dataType: 'json', async: false, headers: { 'Accept': 'aplication/json', 'token': token }, data: { 'subjectName': name }, type: 'GET', success: function (data) { $(".specialNum").text(data.data.count); } }) } $(window).resize(function () { if ($(window).width() < 992) { $(".l-sort").css("min-height", "auto"); var con_width = $(".container").width(); $(".intangible .l-sort .sort-box,.intangible .r-sort .con-box").css("width", con_width); } else { $(".l-sort").css("min-height", $(".sort").height()); if ($(window).width() > 1200) { $(".intangible .l-sort .sort-box").css("width", "335px"); $(".intangible .r-sort .con-box").css("width", "800px"); } else { $(".intangible .l-sort .sort-box").css("width", "250px"); $(".intangible .r-sort .con-box").css("width", "800px"); } } }) </script> <script src="https://www.zgbk.com/ecph/stat/front/stat.js" type="text/javascript"></script> <script> if(window._zcms_stat)_zcms_stat("SiteID=1&Dest=https://www.zgbk.com/ecph/stat/dealer"); </script> <!-- App=ECPH(大百科发布与运营平台) 2.5.28290,CostTime=75,PublishDate=2024-11-28 02:47:40 --> </body> </html>