





<!DOCTYPE html>
<html lang="zh-CN">
<head>

	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
	<title>
		浦东新区陆家嘴图书馆
	</title>
	<link rel="stylesheet" type="text/css" href="resources/css/common.css?v=1.4" />
	<script type="text/javascript" src="resources/javascript/lib/jquery.min.js?v=1"></script>
	<style type="text/css">
	#nav_menu {
    display: inline-block;
    width: 200px;
    min-height: 630px;
}
#bodycontent{
width: 980px;margin: 0 auto;
}
	</style>
</head>

<body>

	<div id="container">
		<div id="wrapper">
			<div id="header">
				








<link rel="stylesheet" type="text/css" href="resources/css/components/sample-styles.css" />
<link rel="stylesheet" type="text/css" href="resources/css/components/dropit.css" />
<link rel="stylesheet" type="text/css" href="resources/css/tiles/header.css?v=1.5" />
<link rel="stylesheet" type="text/css" href="resources/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="resources/bootstrap/css/carousel.css">
<link rel="stylesheet" type="text/css" href="resources/css/common.css?v=1.4">
<script src="resources/javascript/lib/jquery.min.js?v=1" type="text/javascript"></script>
<script src="resources/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="resources/bootstrap/js/bootstrap-typeahead.js" type="text/javascript"></script>
<script type="text/javascript" src="resources/javascript/components/dropit.js"></script>
<style type="text/css">
    .dropdown-menu{
        right: 0;
        left: initial;
    }
    
</style>
<script type="text/javascript">
var _webAgent = 'WEB_LJZ';
</script>
<script type="text/javascript">
    	var _hmt = _hmt || [];
    	
    </script>




<a style="position: fixed; right: 20px;bottom: 50px;" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=3485315243&site=qq&menu=yes"><img border="0" src="/cloudils/resources/images/onlineQQ.jpg?v=1" alt="在线咨询" title="在线咨询"/></a>

<div class="hd">
	<div class="hd-container">
		<div class="hd-content">
			<div class="hd-common">
				<ul class="qianpart">
					<li class="shoucang"></li>
					<li><a href="javascript:;" class="fav-site" rel="sidebar" title="">收藏本站</a></li>
							
					
							
					<li>
						<a class="weixin" href="javascript:;"></a>
						<div class="wxclientContainer wxclient" style="background: url('/cloudils/resources/images/wx_ljz.jpg') no-repeat 0px 0px; background-size:128px 128px;"></div>
					</li>
							
				</ul>
			</div>
			<div class="hd-actions">
				
				<div class="houpart">
					<div class="navbar-collapse">
							
							<ul class="nav navbar-nav" style="float:right;font-size: 16px;">
								<li><a href="myHome?rnd=0.543784062715399">首页</a></li>
								<li><a href="javascript:;" class="sign-in">登录</a></li>
								
								<li><a href="/cloudils/accessOpen/operatingGuide?rnd=0.6222110562499457">使用指南</a></li>
							     
							</ul>
							
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<div class="hd-search-container">
		<div class="hd-search">
			<div class="borrow" style="background: url('/cloudils/resources/images/ljz_sutulib_sign.png?v=1.1') no-repeat 0px 0px;"></div>
			<div class="search-part">
				<div class="i-search">
					<div class="form">
						<div class="search-input"><input value="" type="text" class="search-text" id="keyword" autocomplete="off"></div>
						<div class="btn-group" style="display:none;">
							<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><span class="i-text">书名/作者</span><span class="caret"></span></a>
							<ul class="dropdown-menu" role="menu">
								<li><a href="javascript:;" class="title">书名/作者</a></li>
						 		
								<li><a href="javascript:;" class="publisher">出版社</a></li>
								<li><a href="javascript:;" class="subject">主题</a></li>
								<li><a href="javascript:;" class="isbn">isbn</a></li>
							</ul>
						</div>
						<div class="search-submit">
						<input type="submit" value="" style="cursor:pointer;" class="search-button">
						</div>
						
					</div>
					
				</div>
				
                            <div style="width: 60px;position: absolute;right: calc((100% - 980px) / 2); top: 60px;display: inline-block;">
                            <img alt="" src="/cloudils/resources/images/wx_ljz.jpg" style="width: 60px;">
                            <div style="text-align: center;">微信扫一扫</div>
                            </div>
                            
				<div class="i-hotwords">
					<strong>热门搜索：</strong>
				</div>
				<input type="hidden" name="condition" value="null" />
				<input type="hidden" name="keyword" value="null" />
				<input type="hidden" name="jwt" value="" />
				<input type="hidden" name="from" value="null" />
				
				<input id="webTitle" type="hidden" value="">
				<input id="webLibcode" type="hidden" value="LJZ">
				<input id="libName" type="hidden" value="浦东新区陆家嘴图书馆">
				<input id="webUrl" type="hidden" value="https://www.ljzlib.cn">
				
				<input type="hidden" id="clientSource" value="LJZ" />
				<input type="hidden" name="testurl" value="null"/>
			</div>
		</div>
	</div>
</div>

<script>

$('.i-search .dropdown-menu li a').click(function(){
	$('.i-text').text($(this).html());
	$('input[name="condition"]').val($(this).attr("class"));
});

$('.hd-search .borrow').click(function(){
	window.location.href = "myHome?rnd=" + Math.random();
});

var urlhot = 'https://alipay.jieshu.me';
var testurl = $('input[name="testurl"]').val();
if(testurl != 'null'){
	urlhot = testurl;
}
var urltrue = urlhot +'/cloudils/api/social/hotword';
$.ajax({
	type: 'GET',
	dataType : 'json',
	contentType: 'application/json',
	xhrFields: {
		withCredentials: true
	},
	global: false,
	url: urltrue ,
	success:function(data){
		//console.log(JSON.stringify(data));
		if ("1" == data.success){
			$('.i-hotwords a').remove();
			var availableTags = [];
			for (var i=0;i< data.hotwords.length;i++) {
				if (i <= 5) {
					$('.i-hotwords').append('<a  href="javascript:;">' + data.hotwords[i].hotword + '</a>');
				}
				availableTags[i] = data.hotwords[i].hotword;
			}
			$('.i-hotwords').delegate('a', 'click', function() {
				PostHotGlobalSearch($(this).text());
				//$(this).attr("href",  "search?keyword=" + encodeURIComponent($(this).text()) + "&condition=title&rnd=" + Math.random());
			});
			$(".search-input .search-text").typeahead({
				items : 5,
				source: availableTags
			});
		}
	},
	error:function(){
		//console.log("failure");
	},
	headers: {
		// "Access-Control-Allow-Origin":"http://example.edu",
		// "Access-Control-Allow-Headers":"X-Requested-With",
		"jwt" : $('input[name="jwt"]').val()
	}
});

$('.search-button').click(function(){
	var cond = $('input[name="condition"]').val();
	var jwt = $('input[name="jwt"]').val();	
	if (cond == "" || cond == "null") cond = "title"; //default search title;
	if ($.trim($('.search-text').val())) {
		//window.location.href = "search?keyword=" + encodeURIComponent($('.search-text').val()) + "&condition=" + cond + "&rnd=" + Math.random();
		PostGlobalSearch();
	} else {
		$('.search-text').val('').focus();
	}
});
function PostHotGlobalSearch(keyword) {  
	//var cond ="title";
	var jwt = $('input[name="jwt"]').val();	
	var ExportForm = document.createElement("FORM");  
    document.body.appendChild(ExportForm);  
    //ExportForm.method = "POST";  
    ExportForm.target = "_blank";
    var newElement = document.createElement("input");  
    newElement.setAttribute("name", "keyword");  
    newElement.setAttribute("type", "hidden");
    
    var newElement2 = document.createElement("input");  
    newElement2.setAttribute("name", "condition");  
    newElement2.setAttribute("type", "hidden");
    
    var newElement3 = document.createElement("input");  
    newElement3.setAttribute("name", "pageCounts");  
    newElement3.setAttribute("type", "hidden");

    var jwtInput = document.createElement("input");  
    jwtInput.setAttribute("name", "jwt");  
    jwtInput.setAttribute("type", "hidden");  
    ExportForm.appendChild(newElement);  
    ExportForm.appendChild(newElement2);
    ExportForm.appendChild(newElement3); 
    ExportForm.appendChild(jwtInput);  
    newElement.value =keyword;  
    newElement2.value ="";
    newElement3.value =6;
    jwtInput.value=jwt;
    ExportForm.action = "GlobalSearch?rnd=" + Math.random();  
    ExportForm.submit();  
}; 
function PostGlobalSearch(stayNotGo) {  
	var cond = $('input[name="condition"]').val();
	var jwt = $('input[name="jwt"]').val();	
	//if (cond == "" || cond == "null") cond = "title";
	var keyword=$('.search-text').val();
    var ExportForm = document.createElement("FORM");  
    document.body.appendChild(ExportForm);  
    //ExportForm.method = "POST";  
    if (!stayNotGo) {
        ExportForm.target = "_blank";
    }
    
    var newElement = document.createElement("input");  
    newElement.setAttribute("name", "keyword");  
    newElement.setAttribute("type", "hidden");  
    var newElement2 = document.createElement("input");  
    newElement2.setAttribute("name", "condition");  
    newElement2.setAttribute("type", "hidden");
    
    var newElement3 = document.createElement("input");  
    newElement3.setAttribute("name", "pageCounts");  
    newElement3.setAttribute("type", "hidden");
    
    var jwtInput = document.createElement("input");  
    jwtInput.setAttribute("name", "jwt");  
    jwtInput.setAttribute("type", "hidden");  
    ExportForm.appendChild(newElement);  
    ExportForm.appendChild(newElement2);  
    ExportForm.appendChild(newElement3); 
    ExportForm.appendChild(jwtInput);  
    newElement.value =keyword;  
    newElement2.value ="";
    newElement3.value ="6";
    jwtInput.value=jwt;
    ExportForm.action = "GlobalSearch?rnd=" + Math.random();  
    ExportForm.submit();  
};  

$('.hd-actions .sign-in').click(function(){
	window.location.href = "login?rnd=" + Math.random();
}); 

$('.dynamic-msg a').click(function(){
	window.location.href = "notifyList?rnd=" + Math.random();
}); 

$('.hd-actions .sign-out').click(function(){
	$.ajax({
		type: 'GET',
		dataType : 'json',
		contentType: 'application/json',
		url: '/cloudils/logout?' ,
		success:function(data){
			window.location.href = "login?";
		},
		error:function(){
			window.location.href = "login?";
		},
		headers: {
			"Access-Control-Allow-Origin":"http://example.edu",
			"Access-Control-Allow-Headers":"X-Requested-With",
			"jwt" : $('input[name="jwt"]').val()
		}
	});
}); 

$('.hd-content .fav-site').click(function(){
	var title = document.title; 
	var url = window.location;  
	var userAgent = navigator.userAgent.toLowerCase();
	if (/mozilla/.test(userAgent) && /firefox/.test(userAgent) && !/(compatible|webkit)/.test(userAgent)) {
	    window.sidebar.addPanel(title, url, "");
	} else {
	    try {
	        window.external.addFavorite(url, title);
	    } catch (e) {
	        try {
	            window.sidebar.addPanel(title, url, "");
	        } catch (e) {
	            alert("抱歉，您所使用的浏览器无法完成此操作。\n\n加入收藏失败，请使用Ctrl+D进行添加");
	        }
	    }
	}
    
});


$('.hd-content .mobile>a').click(function(){
	clientDownDialog = new cloudils.dialog({
		title : "下载移动客户端",
		content : getClientDownload(), 
		width : "600px",
		buttons : [
			{
				id : 'client-btn1',
				text : '关闭',
				btnClass : 'btn-green',
				onClick : function () {
					clientDownDialog.hidden();
				}
			}
		]
	});
});

function getClientDownload() {
	
	var libcode = $("#webLibcode").val().toLowerCase();
    var webUrl = $("#webUrl").val();
	var html =  ' <div class="msgbody"> ' +
				'    <p class="msgdesc">用手机扫描左侧二维码下载。</p>' + 
				'    <div class="ct-download">' + 
				'		 <div class="msgcode"><img alt="" src="resources/images/android_download_'+libcode+'.png"></div>' + 
				'		 <div class="msgbtns"><a name="downAndroid" class="and forTcss" href="'+webUrl+'/cloudils/api/getAppUrl?platform=android&libcode='+libcode+'">Android</a></div>' + 
				'	 </div>' + 
				'    <div class="ct-download">' +
				'		<div class="msgcode"><img alt="" src="resources/images/ios_download_'+libcode+'.png"></div>'+
				'		<div class="msgbtns"><a name="downIphone" class="iph forTcss" target="_blank" href="'+webUrl+'/cloudils/api/getAppUrl?platform=ios&libcode='+libcode+'">iPhone</a></div>' + 
				'	 </div>' + 
				' </div> ';
	return html;
}


$(".weixin").hover(function() {
    $(".wxclientContainer").show();  
},function(){  
    $(".wxclientContainer").hide();  
});

//$(document).bind("ajaxSend", function(event,request,settings){ //使用bind
//    self.mask();
//}).ajaxComplete(function(event,request,settings){ //直接使用ajaxComplete
//    self.unMask();
//});

var divMask = '<div id="maskContainter" style="display:none;position:fixed;max-width: 2640px;'+
    'top:0;height:100%;width:100%;background: rgba(0, 0, 0, 0.5);z-index: 1009" '+
    'onclick="">'+//javascript:$(\'#commentContainter\').hide();
    '<img style="clear: both;display: block;margin:auto;"  src="resources/images/loading_ed5e4a40.gif"/>'+
    '</div>';
if (!$('#maskContainter').length) {
    $("body").after(divMask);
}

function mask(){
    $('#maskContainter').show();
}

function unMask(){
    $('#maskContainter').hide();
}
</script>
			</div>

			<div id="bodycontent">
				<div id="nav_menu">
					





<link rel="stylesheet" type="text/css" href="resources/css/components/dialog.css" />
<link rel="stylesheet" type="text/css" href="resources/css/components/pagination.css" />
<script type="text/javascript" src="resources/javascript/components/pagination.js"></script>
<script type="text/javascript" src="resources/javascript/components/util.js"></script>
<script type="text/javascript" src="resources/javascript/components/drag.js"></script>
<script type="text/javascript" src="resources/javascript/components/dialog.js"></script>
<script src="/cloudils/resources/javascript/lib/mustache.min.js"></script>
<script type="text/javascript">
var _webAgent = 'WEB_LJZ';
</script>

<div role="navigation" id="sidebar" class="sidebar-category">
	<div class="panel panel-default">
		<div class="panel-heading">馆藏分类</div>
		<div class="list-group">
			
		</div>
	</div>
</div>
<script id="classlist-template" type="x-tmpl-mustache">
	
    {{#data}}
    <a class="list-group-item " href="javascript:;" catagory="{{code}}">{{label}}<i class="icon-chevron-right"></i></a>
    {{/data}}
</script>
<input type="hidden" name="menu_jwt" value="null" />
<input type="hidden" id="clientSource" value="LJZ" />

<script>
var self = this;
var emptycoverisbn = new Array();//需要加装封面的isbn
$('#nav_menu').delegate('.list-group a', 'click', function(){
	var _this = this;
	$.ajax({
		type: 'POST',
		dataType : 'json',
		contentType: 'application/json',
		//url: '/cloudils/api/search/GlobalCategory',
		//data: JSON.stringify({
		//	"classNum" : $(_this).attr("catagory"),
		//	"pageIndex" : 0,
		//	"pageCounts" : 6
		//}),
		url: '/cloudils/api/category/searchBook',
		//beforeSend: mask(),
		data: JSON.stringify({
            "searchType":"normal",
            "cateCode": $(_this).attr("catagory"),
            "pageNo": 1,
            "pageNum": 6
		}),
		success:function(data){
			$(".breadcrumb li[class!='active']").remove();
			$('.breadcrumb').append('<li><a href="javascript:;">'+ $(_this).text() +'</a></li>');
			$('#nav_content>div').html(listBookHTML(data, $(_this).attr("catagory"), $(_this).text()));
			usePage(data);
			if ("1" == data.success) {
				_renderBookList(data.books);
			}
		},
		error:function(){
			//alert("failure");
		},
		headers: {
			"Access-Control-Allow-Origin":"http://example.edu",
			"Access-Control-Allow-Headers":"X-Requested-With",
			"jwt" : $('input[name="menu_jwt"]').val(),
            "clientinfo":JSON.stringify({
                clientSource: $("#clientSource").val(),
                channel: _webAgent,
                platform: "WEB"
            })
		}
	}).always(function() {
	    //unMask();
	});
});

function _renderBookList(books) {
	$('#nav_content>div .list-content').html('');
	if (books.length > 0) {
		for (var index = 0; index <books.length;index++ ) {
			$('.list-content').append(getOneBookItem(books[index]));
			emptycoverisbn.push(books[index].isbn);
		}
		// moredownloadCover(emptycoverisbn);
		reacquirePictures(emptycoverisbn);
	} else {
		$('#nav_content>div .list-content').html("<span style='font-size:16px;'>找到0条记录!</span>");
	}
	collect();
	_bindBookEvt();
}

function _bindBookEvt () {

	$('.book-item .book_action .detail').click(function(){
		window.location.href = "GlobalBook?item=" + $(this).attr("id")+"&libcode=" +$(this).attr("libcode")+"&rnd=" + Math.random();
	});
	
	$('.book-item .book_action .favorite').click(function(){
			var _this = this;
			var button=$(_this).html();
			if(button=="已收藏"){
				var content = "已取消收藏!"
			}else{
				var content = "已成功添加到收藏夹!";
			}
			var libcode = $(_this).attr("libcode");
			var bookrecno = $(_this).attr("id");
			var bookType = $(_this).attr("bookType");
			$.ajax({
				type: 'POST',
				dataType : 'json',
				contentType: 'application/json',
				url: '/cloudils/api/praise/praiseBook',
				data: JSON.stringify({
					"bookrecno": bookrecno,
					"booktype":bookType,
					"flag" : 1,
		            "optype" : 4,
		            "libcode" : libcode
				}),
				success:function(result){
					if ("1" == result.result) {
						if(button=="已收藏"){
							$(_this).html("收藏");
						}else{
							$(_this).html("已收藏");
						}
	                    self._openFavConfirmDialog(content);
	                } else if (100 == result.result){
						window.location.href = "login?backURL="+self._getBackURL();
					} else if (110 == result.result) {
						self._openAnotherLoginConfirm();
					} else {
					    if (result.error_msg) {
		                    content = result.error_msg;
		                } else {
		                    icontent = "图书收藏出错了~请稍后再试>_<|||";
		                }
						
						self._openFavConfirmDialog(content);
					}
				},
				error:function(){
					//console.log("failure");
				},
				headers: {
					"Access-Control-Allow-Origin":"http://example.edu",
					"Access-Control-Allow-Headers":"X-Requested-With",
					"jwt" : $('input[name="menu_jwt"]').val(),
		            "clientinfo":JSON.stringify({
		                clientSource: $("#clientSource").val(),
		                channel: _webAgent,
		                platform: "WEB"
		            })
				}
			});
		});
}

function _openConfirmDialog(contentStr){
	var self = this;
	self.favoriteDialog = new cloudils.dialog({
		title : "添加到收藏夹",
		content : contentStr, 
		width : "500px",
		buttons : [
			{
				id : 'book-btn1',
				text : '关闭',
				onClick : function () {
					self.favoriteDialog.hidden();
				}
			}
		]
	});
}

function _openAnotherLoginConfirm(){
	var self = this;
	self.otherloginDialog = new cloudils.dialog({
		title : "其它地点登录",
		content : "您已在另一个地方登录， 当前已退出登录！", 
		width : "500px",
		buttons : [ 
			{
				id : 'another-btn1',
				text : '关闭',
				onClick : function () {
					self.otherloginDialog.hidden();
					window.location.href = "login?rnd=" + Math.random();
				}
			}
		]
	});
}

function _openFavConfirmDialog (contentStr){
	var self = this;
	self.favoriteDialog = new cloudils.dialog({
		title : "添加到收藏夹",
		content : contentStr, 
		width : "500px",
		buttons : [
			{
				id : 'book-btn1',
				text : '关闭',
				onClick : function () {
					self.favoriteDialog.hidden();
				}
			},
			{
				id : 'book-btn2',
				text : '查看收藏夹',
				btnClass:'btn-blue',
				onClick : function () {
					self.favoriteDialog.hidden();
					window.location.href='myFavorites?&rnd=' + Math.random();
				}
			}
		]
	});
}

function listBookHTML (data, catagory, sText){
	var count = 0;
	if (data && data.count) count= data.count;
	return 	'<div class="list-header" >' +
			'	<ul>' +
			'		<li class="result-text"><a href="javascript:;"><span>查询结果：</span></a></li>' +
			'		<li class="result-content"><span class="content">' + sText + '</span>&nbsp;<span>(共 <em class="number">'+ count +'</em> 条记录）</span></li>' +
			'	</ul> ' +
			'</div>' +
			' <div style="padding: 10px 0px;" >'+
			'	<div class="list-pagination"></div>'+
			'</div>' +
			'<div class="list-content" pageIndex="1" category="' + catagory +'"></div>' +
			' <div style="padding: 10px 0px;" >'+
			'	<div class="list-pagination"></div>'+
			'</div>';
}

function getOneBookItem(data) {
	var path = "http://img.jieshu.me/htdocs/no_img.png";
	if (data.bookjpgs && data.bookjpgs != "") path =  "http://img.jieshu.me/htdocs" + data.bookjpgs;
	//var libname="";
	//if(data.libcode=='ST'){
	//	libname="苏州图书馆";
	//}
	//if(data.libcode=='SDLL'){
	//	libname="苏州园区图书馆";
	//}
	if(!data.libname){
	    data.libname="";
    }
	var html = 
			'<div class="book-item">'+
			'	<div class="book-item-normal">'+
			'		<div class="book-image image-left-normal">'+
			'			<div class="image-normal">'+
			'				<a href="GlobalBook?item=' + data.bookRecNo+'&libcode='+data.libcode+'" alt="">'+
			// '					<img isbn="'+data.isbn+'" width="100" height="130" alt="" src="' + path + '"/>'
			'<img class="imghead" width="100" height="130" alt="Load Image" isbn="'+data.isbn+'"  src="http://img.jieshu.me/htdocs/no_img.png">'
			+
			'				</a>'+
			'			</div>'+
			'		</div>'+
			'		<div class="book-detail text-right-normal">'+
			'			<div class="book_title">'+
			'				<a href="GlobalBook?item=' +data.bookRecNo+'&libcode='+data.libcode +'&rnd=">'+ data.title +'</a>'+
			'			</div>'+
/* 			'			<div class="book_reviews">'+
			'				<span style="white-space:no-wrap;" class="crAvgStars">'+
			'					<span class="reviews_summary"><a><img src="resources/images/stars-5-0.gif"/></a></span>(<a href="javascript:;">32</a>)'+
			'				</span>'+
			'			</div>'+ */
			'			<div class="book_author">'+ data.author +'</div>'+
			'			<div class="book_ph">'+ data.publisher +'</div>'+
			'			<div class="book_date">'  + '</div> ' +					
			'			<div class="book_action">'+
			'				<a role="button" class="button btn-yellow detail" href="javascript:;" id="'+ data.bookRecNo+'" libcode="'+data.libcode + '">详细信息</a> &nbsp;'+
			'				<a role="button" class="button btn-blue favorite" href="javascript:;" id="'+ data.bookRecNo +'" libcode="'+data.libcode + '" bookType="'+data.bookType+'">收藏</a>'+
			'			</div>'+
			'		</div>'+
			'		<div class="search_clear"></div>'+
			'	</div>'+
			'</div>';
	return html;
}

function usePage(data){
	if ("1" == data.success && data.pageIndices >0) {
		$('.list-pagination').PaginationList({
			totalPage : data.pageIndices,
			currentPage : 1,
			jumpToPage : function (passData) {
				var page = passData.indexPage;
				if (page < 1) page = 1;
				var self = this;
				$.ajax({
					type: 'POST',
					dataType : 'json',
					contentType: 'application/json',
					//url: '/cloudils/api/search/GlobalCategory',
					//data: JSON.stringify({
					//	"classNum": $('.list-content').attr("category"),
					//	"pageIndex" : page-1,
					//	"pageCounts" : 6
					//}),
					url: '/cloudils/api/category/searchBook',
					//beforeSend: mask(),
					data: JSON.stringify({
			            "searchType":"normal",
			            "cateCode": $('.list-content').attr("category"),
			            "pageNo": page,
			            "pageNum": 6
					}),
					success:function(data){
						if ("1" == data.success) {
							_renderBookList(data.books);
						}
					},
					error:function(){
						//console.log("failure");
					},
					headers: {
						"Access-Control-Allow-Origin":"http://example.edu",
						"Access-Control-Allow-Headers":"X-Requested-With",
						"jwt" : $('input[name="menu_jwt"]').val(),
			            "clientinfo":JSON.stringify({
			                clientSource: $("#clientSource").val(),
			                channel: _webAgent,
			                platform: "WEB"
			            })
					}
				}).always(function() {
				    //unMask();
				});
			} //end jumpToPage.
		});
	}
}
function getClassesNew() {
    $.ajax({
        type: "GET",
        url: "/cloudils/api/category/list",
        dataType: 'json',
        contentType: 'application/json',
        headers: {
			"Access-Control-Allow-Origin":"http://example.edu",
			"Access-Control-Allow-Headers":"X-Requested-With",
            "jwt": $('input[name="menu_jwt"]').val(),
            "clientinfo":JSON.stringify({
                clientSource: $("#clientSource").val(),
                channel: _webAgent,
                platform: "WEB"
            })
        },
        timeout: 30000,
        success: function (result) {
            if (result.result == 1) {
                var template = $("#classlist-template").html();
                Mustache.parse(template);
                $(".list-group").html(Mustache.render(template, result));
            }
        },
        error: function (XMLHttpRequest, textStatus, errorThrown) {
            if (textStatus == 'timeout') {
            }
        }
    }).always(function (data) {
    });
}

function collect(){
	var jwt = $('input[name="jwt"]').val();
	console.log(112);
    $.ajax({
		type: 'GET',
		dataType : 'json',
		contentType: 'application/json',
		url: 'api/praise/getPraisesOfBook',
		success:function(result){
			if (result.result == 1) {
				
		          var praiseList = new Array();
		          var userid = "";
		          if (result.list && result.list.length > 0) {
		              praiseList = result.list;
		              $.each(result.list, function(i,item){
		            	  userid = item.userid;
		              });
		              
		          } 
		          sessionStorage.setItem("praisesList", JSON.stringify(praiseList));
		          $(".favorite").each(function(){
		          	var id = $(this).attr("id");
		          	var button = $(this);
		              if (praiseList) {
		                  $.each(praiseList, function(i,item){
		                      if (item.bookrecno == id) {
		                          $(button).html("已收藏");
		                          return false;
		                      }
		                  });
		                  return;
		              }
		          })
		    }
		},
		error:function(){
			alert("failure");
		},
		headers: {
			"Access-Control-Allow-Origin":"http://example.edu",
			"Access-Control-Allow-Headers":"X-Requested-With",
			"jwt" : jwt
		}
	});
}
$(function () {
    getClassesNew();
    
});
</script>
				</div>
				<div id="nav_content">
					








<link rel="stylesheet" type="text/css" href="resources/css/modules/book/search.css?v=1" />
<link rel="stylesheet" type="text/css" href="resources/css/home.css?v=5.0" />
<link rel="stylesheet" type="text/css" href="resources/css/components/dialog.css" />

<script type="text/javascript">
	var _webAgent = 'WEB_LJZ';
</script>
<style>

	 html, body {
		     width:100%;
		     height:100%;

		        }
	 .box {

		     width: 100%;
		     height: 100%;
		     position: fixed;
		     top: 0;
		     left: 0;
		     background: rgba(51,51,51,0.3);
		     z-index: 998;
	      }
	 .pop-ups {
		        /* width: 800px;*/
		       /*  height: 400px;*/
		         position: absolute;
		         top: 50%;
	             left: 50%;
		         transform: translate(-50%, -50%);
		         background: #fff;
		         z-index: 999;
	            }
</style>



<div>
	<div class="sub-body">

		<div class="sub-body-content">
			<div id="myCarousel" class="carousel slide" data-ride="carousel">
				<!-- Indicators -->
				<ol class="carousel-indicators">
					
				</ol>
				<div class="carousel-inner">
					
				</div>
			</div>
			<script id="carousel-indicators-template" type="x-tmpl-mustache">
    			{{#data}}
    				<li data-target="#myCarousel" data-slide-to="{{index}}" class="{{active}}"></li>
    			{{/data}}
			</script>
			<script id="carousel-inner-template" type="x-tmpl-mustache">
    			{{#data}}
    				<div class="item {{active}}">
						<img src="{{picurl}}" style="cursor:pointer;" width="470" height="200" data-id="{{id}}" data-slidertype="{{slidertype}}" data-action="{{action}}" data-actionid="{{actionid}}" data-title="{{title}}" data-weburl="{{weburl}}" data-weburl="{{weburl}}" data-extra7="{{extra7}}" data-authflag="{{authflag}}" />
						<div class="container">
							<div class="carousel-caption">
							</div>
						</div>
					</div>
    			{{/data}}
			</script>
			<div style="float:right;"><a href="javascript:;" class="more-newbook">更多新书&gt;&gt;&gt;</a></div>
			<div class="pop_list">
				<ul id="BookList">
					
						
							<li>
								<div class="img" >
									<a href="javascript:void(0);" item="496190" libcode="LJZ">
										
											
										
										
											
												
											
											
												
											
										
											<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787520521130"  src="http://img.jieshu.me/htdocs/no_img.png">
									</a>
								</div>
								<div class="title">
									<a href="javascript:;" item="496190" libcode="LJZ"><span>素面朝天 </span></a>
								</div>
								<div class="author">
									<span>尹群著</span>
								</div>
								<div class="rating">
									<span><a><img src="resources/images/stars-5-0.gif"></a><span>
								</div>
								<div class="status" item="496190" libcode="LJZ" title="素面朝天" author="尹群著" bookjpgs="" booktype="">
										
									<!-- <a href="javascript:;" class="bk-addcart">加入借书架</a>&nbsp;&nbsp;&nbsp;  -->

									<a href="javascript:;" class="bk-reservse">收藏</a>
								</div>
							</li>
						
							<li>
								<div class="img" >
									<a href="javascript:void(0);" item="497069" libcode="LJZ">
										
											
										
										
											
												
											
											
												
											
										
											<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787520521352"  src="http://img.jieshu.me/htdocs/no_img.png">
									</a>
								</div>
								<div class="title">
									<a href="javascript:;" item="497069" libcode="LJZ"><span>血融大地 </span></a>
								</div>
								<div class="author">
									<span>钟程发著</span>
								</div>
								<div class="rating">
									<span><a><img src="resources/images/stars-5-0.gif"></a><span>
								</div>
								<div class="status" item="497069" libcode="LJZ" title="血融大地" author="钟程发著" bookjpgs="" booktype="">
										
									<!-- <a href="javascript:;" class="bk-addcart">加入借书架</a>&nbsp;&nbsp;&nbsp;  -->

									<a href="javascript:;" class="bk-reservse">收藏</a>
								</div>
							</li>
						
							<li>
								<div class="img" >
									<a href="javascript:void(0);" item="497955" libcode="LJZ">
										
											
										
										
											
												
											
											
												
											
										
											<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787520519533"  src="http://img.jieshu.me/htdocs/no_img.png">
									</a>
								</div>
								<div class="title">
									<a href="javascript:;" item="497955" libcode="LJZ"><span>宋莲生坐堂 </span></a>
								</div>
								<div class="author">
									<span>邹静之著</span>
								</div>
								<div class="rating">
									<span><a><img src="resources/images/stars-5-0.gif"></a><span>
								</div>
								<div class="status" item="497955" libcode="LJZ" title="宋莲生坐堂" author="邹静之著" bookjpgs="" booktype="">
										
									<!-- <a href="javascript:;" class="bk-addcart">加入借书架</a>&nbsp;&nbsp;&nbsp;  -->

									<a href="javascript:;" class="bk-reservse">收藏</a>
								</div>
							</li>
						
							<li>
								<div class="img" >
									<a href="javascript:void(0);" item="494668" libcode="LJZ">
										
											
										
										
											
												
											
											
												
											
										
											<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787559446404"  src="http://img.jieshu.me/htdocs/no_img.png">
									</a>
								</div>
								<div class="title">
									<a href="javascript:;" item="494668" libcode="LJZ"><span>女友拯救计划 </span></a>
								</div>
								<div class="author">
									<span>花清晨著</span>
								</div>
								<div class="rating">
									<span><a><img src="resources/images/stars-5-0.gif"></a><span>
								</div>
								<div class="status" item="494668" libcode="LJZ" title="女友拯救计划" author="花清晨著" bookjpgs="" booktype="">
										
									<!-- <a href="javascript:;" class="bk-addcart">加入借书架</a>&nbsp;&nbsp;&nbsp;  -->

									<a href="javascript:;" class="bk-reservse">收藏</a>
								</div>
							</li>
						
							<li>
								<div class="img" >
									<a href="javascript:void(0);" item="497109" libcode="LJZ">
										
											
										
										
											
												
											
											
												
											
										
											<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787020158829"  src="http://img.jieshu.me/htdocs/no_img.png">
									</a>
								</div>
								<div class="title">
									<a href="javascript:;" item="497109" libcode="LJZ"><span>蛟龙 </span></a>
								</div>
								<div class="author">
									<span>玄色著</span>
								</div>
								<div class="rating">
									<span><a><img src="resources/images/stars-5-0.gif"></a><span>
								</div>
								<div class="status" item="497109" libcode="LJZ" title="蛟龙" author="玄色著" bookjpgs="" booktype="">
										
									<!-- <a href="javascript:;" class="bk-addcart">加入借书架</a>&nbsp;&nbsp;&nbsp;  -->

									<a href="javascript:;" class="bk-reservse">收藏</a>
								</div>
							</li>
						
							<li>
								<div class="img" >
									<a href="javascript:void(0);" item="498083" libcode="LJZ">
										
											
										
										
											
												
											
											
												
											
										
											<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787530679395"  src="http://img.jieshu.me/htdocs/no_img.png">
									</a>
								</div>
								<div class="title">
									<a href="javascript:;" item="498083" libcode="LJZ"><span>爱与战争的日日夜夜 </span></a>
								</div>
								<div class="author">
									<span>(乌拉圭)爱德华多·加莱亚诺著</span>
								</div>
								<div class="rating">
									<span><a><img src="resources/images/stars-5-0.gif"></a><span>
								</div>
								<div class="status" item="498083" libcode="LJZ" title="爱与战争的日日夜夜" author="(乌拉圭)爱德华多·加莱亚诺著" bookjpgs="" booktype="">
										
									<!-- <a href="javascript:;" class="bk-addcart">加入借书架</a>&nbsp;&nbsp;&nbsp;  -->

									<a href="javascript:;" class="bk-reservse">收藏</a>
								</div>
							</li>
						
					
				</ul>
			</div>
		</div>

		<div class="sub-sider-content">
			
			<div>
				<div class="title recommedtitle">
					<a class="more-recommendbook" title="图书推荐" href="javascript:;" bookid="book-1241">图书推荐</a>
					<a href="javascript:;" class="more-recommendbook" style="font-size: 12px; float:right;">更多&gt;&gt;&gt;</a>
				</div>
				<div class="book_list">
					<div class="panel-group" id="accordion">
						
							
							
								<div class="panel panel-default">
									<div class="panel-heading">
										<h4 class="panel-title"><a class="book-name text-ellipsis" data-toggle="collapse" data-parent="#accordion" href="#collapse0">1、   三明治小厨王</a></h4>
									</div>
									<div id="collapse0" class="panel-collapse collapse">
										<a class="img" href="GlobalBook?item=334861&libcode=LJZ"  target="_blank" >
											
												
											
											
												
											
												<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787538569933"  src="http://img.jieshu.me/htdocs/no_img.png">

										</a>

										<div class="link" style="width:100px;float:right;">
											<span href="javascript:;" style="display:inline-block;width:100px">滕婧著</span>
											<span href="javascript:;" style="display:inline-block;width:100px">157页</span>
											<span href="javascript:;" style="display:inline-block;width:100px">北方妇女儿童出版社</span>
										</div>
									</div>
								</div>
							
								<div class="panel panel-default">
									<div class="panel-heading">
										<h4 class="panel-title"><a class="book-name text-ellipsis" data-toggle="collapse" data-parent="#accordion" href="#collapse1">2、   蚀心绝恋．贰．下</a></h4>
									</div>
									<div id="collapse1" class="panel-collapse collapse">
										<a class="img" href="GlobalBook?item=424751&libcode=LJZ"  target="_blank" >
											
												
											
											
												
											
												<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787539972909"  src="http://img.jieshu.me/htdocs/no_img.png">

										</a>

										<div class="link" style="width:100px;float:right;">
											<span href="javascript:;" style="display:inline-block;width:100px">淡漠的紫色著</span>
											<span href="javascript:;" style="display:inline-block;width:100px">244-505页</span>
											<span href="javascript:;" style="display:inline-block;width:100px">江苏文艺出版社</span>
										</div>
									</div>
								</div>
							
								<div class="panel panel-default">
									<div class="panel-heading">
										<h4 class="panel-title"><a class="book-name text-ellipsis" data-toggle="collapse" data-parent="#accordion" href="#collapse2">3、   妊娠分娩细节全书</a></h4>
									</div>
									<div id="collapse2" class="panel-collapse collapse">
										<a class="img" href="GlobalBook?item=375343&libcode=LJZ"  target="_blank" >
											
												
											
											
												
											
												<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787510129940"  src="http://img.jieshu.me/htdocs/no_img.png">

										</a>

										<div class="link" style="width:100px;float:right;">
											<span href="javascript:;" style="display:inline-block;width:100px">付娟娟编著</span>
											<span href="javascript:;" style="display:inline-block;width:100px">10,362页</span>
											<span href="javascript:;" style="display:inline-block;width:100px">中国人口出版社</span>
										</div>
									</div>
								</div>
							
								<div class="panel panel-default">
									<div class="panel-heading">
										<h4 class="panel-title"><a class="book-name text-ellipsis" data-toggle="collapse" data-parent="#accordion" href="#collapse3">4、   契丹王朝</a></h4>
									</div>
									<div id="collapse3" class="panel-collapse collapse">
										<a class="img" href="GlobalBook?item=395459&libcode=LJZ"  target="_blank" >
											
												
											
											
												
											
												<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787508084978"  src="http://img.jieshu.me/htdocs/no_img.png">

										</a>

										<div class="link" style="width:100px;float:right;">
											<span href="javascript:;" style="display:inline-block;width:100px">王占君著</span>
											<span href="javascript:;" style="display:inline-block;width:100px">269页</span>
											<span href="javascript:;" style="display:inline-block;width:100px">华夏出版社</span>
										</div>
									</div>
								</div>
							
								<div class="panel panel-default">
									<div class="panel-heading">
										<h4 class="panel-title"><a class="book-name text-ellipsis" data-toggle="collapse" data-parent="#accordion" href="#collapse4">5、   拿业绩说话</a></h4>
									</div>
									<div id="collapse4" class="panel-collapse collapse">
										<a class="img" href="GlobalBook?item=429962&libcode=LJZ"  target="_blank" >
											
												
											
											
												
											
												<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787563951956"  src="http://img.jieshu.me/htdocs/no_img.png">

										</a>

										<div class="link" style="width:100px;float:right;">
											<span href="javascript:;" style="display:inline-block;width:100px">董中良著</span>
											<span href="javascript:;" style="display:inline-block;width:100px">247页</span>
											<span href="javascript:;" style="display:inline-block;width:100px">北京工业大学出版社</span>
										</div>
									</div>
								</div>
							
								<div class="panel panel-default">
									<div class="panel-heading">
										<h4 class="panel-title"><a class="book-name text-ellipsis" data-toggle="collapse" data-parent="#accordion" href="#collapse5">6、   世界战列舰全史</a></h4>
									</div>
									<div id="collapse5" class="panel-collapse collapse">
										<a class="img" href="GlobalBook?item=405910&libcode=LJZ"  target="_blank" >
											
												
											
											
												
											
												<img class="imghead" width="100" height="130" alt="Load Image" isbn="9787502792329"  src="http://img.jieshu.me/htdocs/no_img.png">

										</a>

										<div class="link" style="width:100px;float:right;">
											<span href="javascript:;" style="display:inline-block;width:100px">(英)罗伯特·杰克逊著</span>
											<span href="javascript:;" style="display:inline-block;width:100px">239页</span>
											<span href="javascript:;" style="display:inline-block;width:100px">海洋出版社</span>
										</div>
									</div>
								</div>
							
						
					</div>
				</div>
			</div>
		</div>

	</div>

	<input type="hidden" name="jwt_token" value="null" />
	<input type="hidden" name="userName" value="null" />
	<input type="hidden" name="district" value="null" />
	<input type="hidden" name="appartment" value="null" />
	<input type="hidden" id="clientSource" value="LJZ" />

</div>


<div class="box" style="display: none;">
	<div class="pop-ups">
		<div style="text-align: left;text-indent: 20px;overflow: auto;height:400px;padding: 20px;line-height: 20px;">
		
			<p style="text-align: center;font-size:20px;font-weight: bold;text-indent: unset;">请扫描下方二维码进入微信小程序进行图书搜索下单借书</p>
			<p style="text-align: center;margin-top: 30px;"><img src="resources/images/hubei-mini-qr.png" style="width: 300px;margin: 0 auto" alt=""></p>
			
		</div>

	</div>
</div>



<script type="text/javascript" src="resources/javascript/components/util.js"></script>
<script type="text/javascript" src="resources/javascript/components/drag.js"></script>
<script type="text/javascript" src="resources/javascript/components/dialog.js"></script>

<script type="text/javascript" src="resources/javascript/common/common.js?v=2.1"></script>
<script>
	$('.more-newbook').click(function(){
		var ExportForm = document.createElement("FORM");
		document.body.appendChild(ExportForm);
		var flagInput = document.createElement("input");
		flagInput.setAttribute("name", "flag");
		flagInput.setAttribute("type", "hidden");
		ExportForm.appendChild(flagInput);
		flagInput.value="1";
		ExportForm.method = "POST";
		ExportForm.action = "MoreBooks?rnd=" + Math.random();
		ExportForm.submit();
	});
	$('.more-recommendbook').click(function(){
		var ExportForm = document.createElement("FORM");
		document.body.appendChild(ExportForm);
		var flagInput = document.createElement("input");
		flagInput.setAttribute("name", "flag");
		flagInput.setAttribute("type", "hidden");
		ExportForm.appendChild(flagInput);
		flagInput.value="2";
		ExportForm.method = "POST";
		ExportForm.action = "MoreBooks?rnd=" + Math.random();
		ExportForm.submit();
	});
	$('.slide-pay4u,.entry-pay4u').click(function(){
		var ExportForm = document.createElement("FORM");
		document.body.appendChild(ExportForm);
		ExportForm.method = "POST";
		ExportForm.action = "pay4uList?rnd=" + Math.random();
		ExportForm.submit();
	});

	$(function(){
		var isbns = new Array();
		$.each($(".imghead"),function(i,item) {
			isbns.push($(item).attr("isbn"));
		});
		reacquirePictures(isbns);


	})
</script>
				</div>
			</div>

			<div id="footer">
				

<link rel="stylesheet" type="text/css" href="resources/css/tiles/footer.css" />











<div class="ft">
	<div class="ft-container">
		<ul class="copyrg_one">
			<li>建议使用IE8.0以上浏览器</li>
			<li class="ztleft_one">沪ICP备12030704号-1</li>
			
			<li class="ztleft_one">版权所有</li>
			<li class="ztleft_two">浦东新区陆家嘴图书馆</li>
			
		</ul>
		 
		        <ul class="copyrg_one">
        
            <li>服务地址： 浦东新区浦城路150号</li>
            
            
            <li>服务电话： 58885231</li>
            
        </ul>
		<ul class="copyrg_two">
			<li>&copy; 2026 ljzlib.com.All rights reserved</li>
		</ul>
	</div>
</div>

			</div>
		</div>
		<script type="text/javascript" src='resources/javascript/module/home/home.js?v=5.6'></script>
	</div>
	
	<div style="background-color: white;text-align: center;padding-bottom: 20px; ">
		<script src="https://hm.baidu.com/hm.js?85e31ab8a2ce1c297925387f0bb551e6" type="text/javascript"></script>
	</div>
	
</body>
</html>