t("创建书单或者加入书单失败!"); } } function clearNewBookList() { $("#new_listName").attr("value",""); $("#new_description").attr("value",""); $("#newBookListDialog input[name='new_privacy']").eq(0).attr("checked","checked"); } function showSaveBookListItemResult(data) { var state = $(data).find("state").text(); if(state == "1") { alert("保存成功!"); } else { alert("保存失败!"); } } function newBookListDialog() { $("#newBookListDialog").dialog("open"); clearNewBookList(); } $(function() { $("#newBookListDialog").dialog({ autoOpen: false, modal: true, width: 510, buttons:[{ text:"新增并加入书单", click:function(){ newBookList(); } } ] }); }); //读取显示隐藏趋势图的cookie信息 $(document).ready(function(){ var chartCookie = $.cookie('chartCookie'); var libcode="P2LN0415007"; if(chartCookie!=null){ if(chartCookie=='hide'){ $("#display").html(" "+getI18nMsg("chartI18n.showChart"));//显示趋势图 $("#chartCtnr").hide(0); $("#btnDiv").attr("align","left"); }else{ $("#display").html(getI18nMsg("chartI18n.hideChart")+" "); } }else{ if("0"=="0"){ $("#display").html(" "+getI18nMsg("chartI18n.showChart"));//显示趋势图 $("#chartCtnr").hide(0); $("#btnDiv").attr("align","left"); }else{ $("#display").html(getI18nMsg("chartI18n.hideChart")+" "); } } var classFacetCookie = $.cookie('classFacetCookie'); if(classFacetCookie!=null){ if(classFacetCookie=='hide'){ $("#block").html(" "+getI18nMsg("searchResultI18n.showClassFacet"));//显示 $("#classFacetDiv").hide(0); $("#sohDiv").attr("align","left"); }else{ $("#block").html(getI18nMsg("searchResultI18n.hideClassFacet")+" "); } }else{ if("P2LN0415007"=="ESH021039"){ $("#block").html(" "+getI18nMsg("searchResultI18n.showClassFacet"));//显示 $("#classFacetDiv").hide(0); $("#sohDiv").attr("align","left"); }else{ $("#block").html(getI18nMsg("searchResultI18n.hideClassFacet")+" "); } } }); //当馆藏为空时,判断该书目是否在订购中,如果是则提示 $(function() { //如果有光盘,显示提示“含光盘”,方便读者预订 }); function showAttachment(bookrecnos){ $.ajax({ type: "GET", url: "/opac/book/getAttachments", data: { "bookrecnos": bookrecnos.join(",") }, dataType: "json", success: function(data){ for(var i in data) { var bookrecno = data[i]; $("span[id='attachment_" + bookrecno + "']").show(); } } }); } function getOrderStatus(bookrecnos) { $.ajax({ type: "GET", url: "/opac/book/orderStatus", data: { "bookrecnos": bookrecnos.join(",") }, dataType: "json",//这里要用xml,如果用html,则在IE下无法解析这个数据 success: function(data){ for(var i in data) { var bookrecno = data[i]; $("div[bookrecno='" + bookrecno + "'] span.biblios_ordering").show(); } } }); } function getReservationCount(bookrecnos) { $.ajax({ type: "GET", url: "/opac/book/currentReservationCount", data: { "bookrecnos": bookrecnos.join(",") }, dataType: "json", success: function(data){ for (var i=0;i
名称:
描述:
公开/私有: 公开 私有
"; $("#holdingPreviewDiv_" + bookrecno).find('table').append(appendStr); } } } } }); } $(function(){ //做一个高亮效果 function trim(s){ //去除左右空格 return s.replace(/(^\s*)|(\s*$)/g, ""); } var searchValueUpper ; var reg; function highlighter(items){ if(!items){ return; } items.each(function(){ var innerText=trim($(this).html()); //处理大小写问题 var innerTextUpper=innerText.toUpperCase(); var _index=innerTextUpper.indexOf(searchValueUpper); innerTextVal=innerText.substr(_index,searchValueUpper.length); if(reg.test(innerText)){ console.log(innerTextVal); //匹配成功 var newinner = innerText.replace(reg,''+innerTextVal+'')//处理HTML字符串,为目标文本加上样式,即替换对应的HTML结构 $(this).html(newinner);//把处理后的HTML字符串写回到容器中 } }); } //检索词 function light(searchValue,searchway){ searchValueUpper=searchValue.toUpperCase(); if(searchValue&&searchValue!="*:*"){ reg = new RegExp(searchValue,"gi"); if(searchway==""||searchway=="marc"){ highlighter($(".title-link")); highlighter($(".author-link")); highlighter($(".publisher-link")); }else if(searchway=="title"||searchway=="title200a"){ highlighter($(".title-link")); }else if(searchway=="author"){ highlighter($(".author-link")); }else if(searchway=="publisher"){ highlighter($(".publisher-link")); } } } var searchway = ""; if(!searchway){ searchway = "marc"; } light("长江文艺出版社",searchway); light("長江文藝出版社",searchway); }); //延迟加载的内容 $(window).load(function(){ setTimeout(function(){ var globalLibraryCode = "P2LN0415007"; //获取封面 loadBookcovers(globalLibraryCode); //自动获取图书元数据信息是否存在的标识  if($.cookie("configouternet")=="false"){ return; } var haveBookMetaResource = "1"; if(haveBookMetaResource != '1') { return; } function getDivISBNs() { var divObjects = $("div[express_isbn]"); var isbns = ""; divObjects.each(function(index){ var isbn = $(this).attr("express_isbn"); isbns += "," + isbn; }); return isbns; } var isbns = getDivISBNs(); if(isbns == "") { return; } var strURL = GLOBAL_BASE_API_URL + "/api/bookmetadatastatus?glc="+globalLibraryCode+"&isbns="+isbns +"&returnType=json&callback=showAllBookMetaInfoTab&jsoncallback=?"; $.getJSON(strURL, {}); //信息推送 $.getScript("http://api.interlib.com.cn:8586/InterlibCommonService/media/centerservice.js").done(function(){ var baseParam = "q=%E9%95%BF%E6%B1%9F%E6%96%87%E8%89%BA%E5%87%BA%E7%89%88%E7%A4%BE&searchType=standard&isFacet=true&view=standard&searchWay=publisher&rows=10&sortWay=score&sortOrder=desc&curlibcode=007&f_subject=%E9%95%BF%E7%AF%87%E5%B0%8F%E8%AF%B4&f_author=%E8%8B%8F%E7%AB%A5&f_booktype=1&searchWay0=marc&logical0=AND"; } else { alert("保存失败!"); } } function newBookListDialog() { $("#newBookListDialog").dialog("open"); clearNewBookList(); } $(function() { $("#newBookListDialog").dialog({ autoOpen: false, modal: true, width: 510, buttons:[{ text:"新增并加入书单", click:function(){ newBookList(); } } ] }); }); //读取显示隐藏趋势图的cookie信息 $(document).ready(function(){ var chartCookie = $.cookie('chartCookie'); var libcode="P2LN0415007"; if(chartCookie!=null){ if(chartCookie=='hide'){ $("#display").html(" "+getI18nMsg("chartI18n.showChart"));//显示趋势图 $("#chartCtnr").hide(0); $("#btnDiv").attr("align","left"); }else{ $("#display").html(getI18nMsg("chartI18n.hideChart")+" "); } }else{ if("0"=="0"){ $("#display").html(" "+getI18nMsg("chartI18n.showChart"));//显示趋势图 $("#chartCtnr").hide(0); $("#btnDiv").attr("align","left"); }else{ $("#display").html(getI18nMsg("chartI18n.hideChart")+" "); } } var classFacetCookie = $.cookie('classFacetCookie'); if(classFacetCookie!=null){ if(classFacetCookie=='hide'){ $("#block").html(" "+getI18nMsg("searchResultI18n.showClassFacet"));//显示 $("#classFacetDiv").hide(0); $("#sohDiv").attr("align","left"); }else{ $("#block").html(getI18nMsg("searchResultI18n.hideClassFacet")+" "); } }else{ if("P2LN0415007"=="ESH021039"){ $("#block").html(" "+getI18nMsg("searchResultI18n.showClassFacet"));//显示 $("#classFacetDiv").hide(0); $("#sohDiv").attr("align","left"); }else{ $("#block").html(getI18nMsg("searchResultI18n.hideClassFacet")+" "); } } }); //当馆藏为空时,判断该书目是否在订购中,如果是则提示 $(function() { //如果有光盘,显示提示“含光盘”,方便读者预订 }); function showAttachment(bookrecnos){ $.ajax({ type: "GET", url: "/opac/book/getAttachments", data: { "bookrecnos": bookrecnos.join(",") }, dataType: "json", success: function(data){ for(var i in data) { var bookrecno = data[i]; $("span[id='attachment_" + bookrecno + "']").show(); } } }); } function getOrderStatus(bookrecnos) { $.ajax({ type: "GET", url: "/opac/book/orderStatus", data: { "bookrecnos": bookrecnos.join(",") }, dataType: "json",//这里要用xml,如果用html,则在IE下无法解析这个数据 success: function(data){ for(var i in data) { var bookrecno = data[i]; $("div[bookrecno='" + bookrecno + "'] span.biblios_ordering").show(); } } }); } function getReservationCount(bookrecnos) { $.ajax({ type: "GET", url: "/opac/book/currentReservationCount", data: { "bookrecnos": bookrecnos.join(",") }, dataType: "json", success: function(data){ for (var i=0;i
标题:
名称:
描述:
公开/私有: 公开 私有
标题:
描述:
公开/私有: 公开 私有
检索词: 侠义小说─长篇─中国─当代 , 在七道仁忠分馆 检索到: 0 条结果, 检索时间: 0.015 秒

在以下图书馆搜索
还可以搜索


nt); $("#holdingPreviewDiv_" + bookrecno).html(tableStr); }else{ var appendStr = "
"+lib+""+year+""+count+"