CINXE.COM

高级搜索-《中国大百科全书》第三版网络版

<!DOCTYPE html> <html lang="zh-cn"> <head> <title>高级搜索-《中国大百科全书》第三版网络版</title> <meta name="description" content="" /> <meta name="keywords" content="" /> <!-- <link rel="shortcut icon" href="${prefix("images/icon.png")}" type="images/x-icon"/> <link rel="icon" href="${prefix("images/icon.png")}" type="images/png"/> --> <link rel="stylesheet" href="https://www.zgbk.com/v3/css/v3-site-wb.css" type="text/css" /> <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> <script> //页面加载之后进行显示的处理(登录和非登录用户的显示不同) function initSelectType() { var value = ""; if (value) { var eles = $T("Option"); for (var i = 0; i < eles.length; i++) { if (value == eles[i].value) { eles[i].selected = true; } else { eles[i].selected = false; } } } }; $(window).on('load', initSelectType); </script> <style> .form-control[readonly] { background: #fff; } input.btn.btn-default { padding: 5px 25px; } .highsearch .alert-box button { width: auto; height: auto; } </style> </head> <body class="highsearch search_result "> <!-- 最顶部 --> <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="search-wrap"> <div class="searchlist part-right"> <div class="title font18">高级搜索 <span clas="info" style="color: #999;font-size: 14px;"> (只对专业板块数据进行检索) </span> </div> <ul class="lists font14"> <li class='row'> <div class="col-sm-7 col-md-8"> <div class="row"> <div class="col-sm-4 col-md-3 norpadding"> <div class="type"> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <div class="text field" para='title'>条头</div> </button> <ul class="dropdown-menu"> <li> <a href="javascript:void(0)" onclick="changeitem(this)" para='title'>条头</a> </li> <li> <a href="javascript:void(0)" onclick="changeitem(this)" para='content'>正文</a> </li> <li> <a href="javascript:void(0)" onclick="changeitem(this)" para='authors'>作者</a> </li> <li class=""> <a href="javascript:void(0)" onclick="changeitem(this)" para='innerCode' class='sub'>学科分类</a> </li> <li class="hide"> <a href="javascript:void(0)" onclick="changeitem(this)" para='innerCode' class='sub'>分类</a> </li> </ul> </div> </div> </div> <div class="col-sm-8 col-md-9 nolpadding"> <div class="input"> <input type="text" class="" placeholder="关键词"> <div class="btn-group hide" style='width:100%'> <button type="button" class="btn btn-default dropdown-toggle" style='width:100%' data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <div class="text field" para='0'>请选择</div> </button> <ul class="dropdown-menu" id='subjectlist' style='max-height:200px;overflow:auto'> </ul> </div> </div> <script type="javascript/template" id="navlists"> {{#for(item in lists)}} <li> <a href="javascript:void(0)" onclick="changeitem(this)" para="{{item.current.id}}">{{item.current.name}}</a> {{#for(child in item.children)}} <!-- <li> --> <a href="javascript:void(0)" onclick="changeitem(this)" para="{{child.id}}">&nbsp;&nbsp;&nbsp;&nbsp;{{child.name}}</a> <!-- </li> --> {{/for}} </li> {{/for}} </script> </div> </div> </div> <div class="col-sm-5 col-md-4"> <div class="row"> <div class="status col-sm-6 col-lg-5"> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <div class="text accuracy" para='1'>精准匹配</div> </button> <ul class="dropdown-menu"> <li class='mh'> <a href="javascript:void(0)" onclick="changeitem(this)" para='0'>模糊匹配</a> </li> <li class='jz'> <a href="javascript:void(0)" onclick="changeitem(this)" para='1'>精准匹配</a> </li> </ul> </div> </div> <div class="col-sm-6 col-lg-7"> <div class="col-sm-8 col-md-9 col-lg-6 norpadding"> <div class="and"> </div> </div> <div class="col-sm-3 col-sm-offset-1 col-md-offset-0 col-lg-offset-3 nopadding"> <div class="add pointer"> + </div> </div> </div> </div> </div> </li> </ul> <div class="submitbtn"> <div class="submit pointer text-center">检索</div> </div> </div> <div class="hide part-right" id='top'> <div class="top"> <div class='font12'> 共有 <span class="searchlen"></span> 条结果 </div> </div> <ul class="part-list clearfix" id="test"></ul> <script type="javascript/template" id="J_tmpl"> {{#for(item in lists)}} <li class="clearfix"> <div class="row"> {{#if(!item.contentType)}} <div class="list {{item.wikiType=='bkdzb'?'public':item.wikiType=='bkztb'?'special':'major'}} {{item.descriptionImg?'col-md-9 col-sm-9 col-xs-8':'col-md-12 col-sm-12 col-xs-12'}} fl"> <div class="title clearfix"> <h2 class="ellipsis fl" title='{{{item.title|deleteHtml}}}{{item.enTitle?"/"+item.enTitle+"/":""}}'> <a href="https://www.zgbk.com/ecph/words?SiteID={{item.siteID}}&ID={{item.ID}}&Type={{item.wikiType}}&SubID={{item.subjectIDs[0]}}" target='_blank' class='font20'>{{{item.title}}}</a> <span class="ennamebig font12" t-if="item.enTitle">/ {{{item.enTitle}}} /</span> <span class="enname font12" t-if="item.enTitle">{{{item.enTitle}}}</span> </h2> <a class='fr font12 type' target='_blank' t-if="item.wikiType=='bkzyb'" href="https://www.zgbk.com/ecph/subject?SiteID={{item.siteID}}&ID={{item.secondid}}">{{{item.twoSubjectName}}}</a> <a class='fr font12 type' target='_blank' t-if="item.wikiType=='bkztb'" href="https://www.zgbk.com/ecph/sublibrary?SiteID={{item.siteID}}&ID={{item.subjectIDs[1]}}&code={{item.subjectIDs[0]}}#sort">{{{item.twoSubjectName}}}</a> <a class='fr font12 type' t-if="item.wikiType=='bkdzb'">{{{item.twoSubjectName}}}</a> </div> <div class="content J-textEllipsis clearfix font13">{{{item.content}}}...</div> </div> <div class="right col-md-3 col-sm-3 col-xs-4" t-if="item.descriptionImg"> <div> <img src="{{item.descriptionImg}}" onerror="this.src='https://www.zgbk.com/images/default.jpg';this.onerror=null" class='wordpic'> </div> </div> {{/if}} {{#if(item.contentType=='Video' ||item.contentType=='VideoGroup' || item.contentType=='Image')}} <div class="bgblock clearfix"> <div class="col-md-9 col-sm-9 col-xs-8"> <div class="padding_l"> <div class="clearfix"> <div class="fl name font12">{{item.authors}}</div> <span class="fr type font12">{{item.twoSubjectName}}</span> </div> <a href="{{item.url}}" title='{{{item.title|deleteHtml}}}' target='_blank' class='font20'>{{{item.title}}} </a> <div class="content font13">{{{item.content}}}</div> <div class="font12 duration" t-if='item.duration'>{{item.duration}}</div> </div> </div> <div class="col-md-3 col-sm-3 col-xs-4"> <div class="imgbox right"> <img src="{{item.descriptionImg}}" alt="" class='wordpic' onerror="this.src='https://www.zgbk.com/images/default.jpg';this.onerror=null"> <img src="https://www.zgbk.com/images/index_new/video.png" alt="" class='icon' t-if='item.contentType=="Video"||item.contentType=="VideoGroup"'> </div> </div> </div> {{/if}} {{#if(item.contentType=='Audio')}} <div class="col-xs-12 bgblock audioblock"> <div class="clearfix"> <div class="fl name font12">{{item.subjectName}}</div> <div class="fr type font12">{{item.twoSubjectName}}</div> </div> <a href="{{item.url}}" target='_blank' title='{{{item.title|deleteHtml}}}' class='font20'>{{{item.title}}} </a> <div class="content font13"> {{item.summary}} </div> <div class="clearfix"> <span class="fl source font12">{{item.source}}</span> <span class="duration font12 fr" t-if='item.duration'>{{item.duration}}</span> </div> </div> {{/if}} </div> </li> {{/for}} </script> <div class="nowords"></div> <div class="page"> <ul class="pagination" id="pagination"></ul> </div> </div> </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&amp;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> <div class="index_totop hide"></div> <script src="https://www.zgbk.com/js/jquery.pagination.js"></script> <script> $('.advance-search').attr('href', 'https://www.zgbk.com/ecph/advanceSearch/result?SiteID=1&Alias=bkzyb') $(function () { autoScrolling() }) if ('bkzyb' != 'all') { $(".nav-tit .bkzyb-nav").addClass("on"); $(".modal .bkzyb-nav").addClass("actived"); } $(window).resize(function () { autoScrolling() }); function autoScrolling() { $('.search_result li .title').each(function () { var cwidth = $(this).find('a').outerWidth() var ewidth = $(this).find('.eng').outerWidth() var titlewidth = $(this).outerWidth() if (cwidth * 1 + ewidth + 12 > titlewidth) { $(this).addClass('full') } else { $(this).removeClass('full') } }) $('.search_result .lists ul .content').each(function () { $(this).height('auto') var height = $(this).height(); if (height > 72) { $(this).addClass("full"); $(this).css("height", "72px"); } else { $(this).removeClass("full"); $(this).css("height", "72px"); } }) var mainheight = $(window).height() - $('.head-con').outerHeight() - $('.footer_new').outerHeight() $('.search-wrap').css('min-height', mainheight < 0 ? 0 : mainheight) } var menu1, menu2, menu3 menu1 = $('.lists .status').html() menu2 = $('.type').html() menu3 = $('.input').html() var listnum = 1 $('.add').click(function () { var text = '<li class="row">' + '<div class="col-sm-7 col-md-8"><div class="row">' + '<div class="col-sm-4 col-md-3 norpadding"><div class="type">' + menu2 + '</div></div>' + '<div class="col-sm-8 col-md-9 nolpadding"><div class="input">' + menu3 + '</div></div>' + '</div></div>' + '<div class="col-sm-5 col-md-4"><div class="row">' + '<div class="status col-sm-6 col-lg-5">' + menu1 + '</div>' + '<div class="col-sm-6 col-lg-7">' + '<div class="col-sm-8 col-md-9 col-lg-6 norpadding"><div class="and"></div></div>' + '<div class="col-sm-3 col-sm-offset-1 col-md-offset-0 col-lg-offset-3 nopadding"><div class="minus pointer" onclick="minus(this)">-</div></div>' + '</div>' + '</div></div>' + '</li>' var lj = '<div class="btn-group"><button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><div class="text logic" para="and">并含</div></button><ul class="dropdown-menu"><li><a href="javascript:void(0)" onclick="changeitem(this)" para="and">并含</a></li><li><a href="javascript:void(0)" onclick="changeitem(this)" para="or">或含</a></li><li><a href="javascript:void(0)" onclick="changeitem(this)" para="not">不含</a></li></ul></div>' $('ul.lists').append(text) $('ul.lists>li').eq(listnum - 1).find('div.and').html(lj) listnum += 1 // 添加回车事件 $('.input input').each(function (index, ele) { $(ele).focus(function () { $(".submitbtn .submit").addClass("enterclick"); }).blur(function () { $(".submitbtn .submit").removeClass("enterclick"); }); }) }) function minus(a) { var index = $(a).parents('li').index(), len = $('ul.lists>li').length $(a).parents('li').remove() if (index + 1 == len) { $('ul.lists>li').eq(index - 1).find('div.and').empty() } listnum -= 1 } function changeitem(a) { $(a).parents('.btn-group').find('.text').text($(a).text()) if ($(a).attr('para')) { $(a).parents('.btn-group').find('.text').attr('para', $(a).attr('para')) } if ($(a).parents().hasClass('type')) { if ($(a).hasClass('sub')) { $(a).parents('li.row').find('.input input,.input .btn-group').addClass('hide') $(a).parents('li.row').find('.input .btn-group').removeClass('hide') $(a).parents('li.row').find('.jz a').click() $(a).parents('li.row').find('.mh').addClass('hide') } else { $(a).parents('li.row').find('.input input,.input .btn-group').removeClass('hide') $(a).parents('li.row').find('.input .btn-group').addClass('hide') $(a).parents('li.row').find('.mh').removeClass('hide') } } } var p = new Pat({ el: 'test', // dataCheckType:'dirtyCheck', data: { lists: [], }, filters: { deleteHtml: function (html) { var div = document.createElement("div") div.innerHTML = html html = div.textContent div.innerHTML = '' return html }, }, template: document.getElementById('J_tmpl').innerHTML }) var pp = new Pat({ el: 'subjectlist', data: { lists: [], }, template: document.getElementById('navlists').innerHTML }) $('.submit').click(function () { var conditions = [] for (var i = 0; i < $('li.row').length; i++) { var obj = { accuracy: $('li.row').eq(i).find('.accuracy').attr('para'), field: $('li.row').eq(i).find('.field').attr('para') } if (obj.field == 'innerCode') { obj.value = $('li.row').eq(i).find('.input .btn-group .field').attr('para') } else { obj.value = trim($('li.row').eq(i).find('.input input').val()) } if (i != 0) { obj.logic = $('li.row').eq(i - 1).find('.logic').attr('para') } else { obj.logic = 'and' } conditions.push(obj) if (obj.field == 'title') { var newObj = { accuracy: obj.accuracy, field: 'enTitle', logic: 'or', value: obj.value } conditions.push(newObj) } } var str = JSON.stringify(conditions) searchlist(0, str) if ($('#top').hasClass('hide')) { $('#top').removeClass('hide') } }) function searchlist(index, conditions) { $('.nowords').html('') var datas if ('bkzyb' != 'all') { datas = { 'conditions': conditions, 'pageIndex': index, 'pageSize': '8', siteID: '1', 'type': 'bkzyb' } } else { datas = { 'conditions': conditions, 'pageIndex': index, 'pageSize': '8', siteID: '1' } } $.ajax({ url: frontAppContext + 'api/search', dataType: 'json', async: true, headers: { 'Accept': 'aplication/json', 'token': token }, data: datas, type: 'post', success: function (data) { $('.searchlen').text(data.data.total) data.data.datalist.each(function (v, i) { var num = v.subjectIDs.length if (num > 3) { v.secondid = v.subjectIDs[num - 3] } else if (num == 2) { v.secondid = v.subjectIDs[1] } else { v.secondid = v.subjectIDs[0] } if (v.contentType == 'Video' && v.duration) { var minute = parseInt(v.duration / 60) < 10 ? '0' + parseInt(v.duration / 60) : parseInt(v.duration / 60) var second = parseInt(v.duration % 60) < 10 ? '0' + parseInt(v.duration % 60) : parseInt(v.duration % 60) v.duration = minute + ':' + second } }) p.$data.lists = data.data.datalist p.$apply() if (data.data.total > 0) { $('.pagination').pagination({ totalData: data.data.total, showData: 8, isHide: true, current: index + 1, coping: true, prevContent: '&lt; 上一页', nextContent: '下一页 &gt;', keepShowPN: true, callback: function (api) { searchlist(api.getCurrent() - 1, conditions) } }); if (index == 0) { $('.pagination .prev').addClass('disabled') } if (index == Math.ceil(data.data.total / 8 - 1)) { $('.pagination .next').addClass('disabled') } $('.search_result li .title').each(function () { var cwidth = $(this).find('a').outerWidth() var ewidth = $(this).find('.eng').outerWidth() var titlewidth = $(this).outerWidth() if (cwidth * 1 + ewidth + 12 > titlewidth) { $(this).addClass('full') } else { $(this).removeClass('full') } }) window.location.href = '#top' } else { var textLeng = 0; var text = "未找到相关结果" $("input[type='text']").each(function () { if ($(this).val().trim().length > 0) { textLeng++; } }) if (textLeng > 0) { var text = "未找到相关结果" } else { if (JSON.parse(conditions)[0].field == 'innerCode') { var text = "未找到相关结果" }else{ var text = "请输入关键词!" } } $('.nowords').html('<div style="margin:30px 0; text-align:center"><img src="https://www.zgbk.com/images/wordsdefault.png" alt=""><div style="margin-top:20px;color:#777">' + text + '</div></div>') $('.pagination').html('') } } }) } function navlist() { var url, data if ('bkzyb' == 'bkzyb') { url = frontAppContext + 'api/subject' data = { 'ID': 0, 'Alias': 'bkzyb', 'SiteID': '1', 'level': '2' } } else if ('bkzyb' == 'bkztb') { url = frontAppContext + 'api/sublib' data = { 'ID': 0, 'Alias': 'bkzyb', 'SiteID': '1', 'level': '2' } } else { url = frontAppContext + 'api/catalog' data = { 'siteId': '1', 'alias': 'dzb' } } $.ajax({ url: url, dataType: 'json', async: true, headers: { 'Accept': 'aplication/json', 'token': token }, data: data, type: 'GET', success: function (data) { pp.$data.lists = data.data.list ? data.data.list : data.data pp.$apply() menu1 = $('.lists .status').html() menu2 = $('.type').html() menu3 = $('.input').html() } }) } if ('bkzyb' != 'all') { navlist() } // 去掉开头结尾空格 function trim(str) { return str.replace(/(^\s*)|(\s*$)/g, ""); } // 添加回车事件 $('.input input').each(function (index, ele) { $(ele).focus(function () { $(".submitbtn .submit").addClass("enterclick"); }).blur(function () { $(".submitbtn .submit").removeClass("enterclick"); }); }) </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=50,PublishDate=2024-11-24 06:29:46 --> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10