网上书城
当前位置:首页 > 网上书城> 外语 >英语>读物
  • 丛书系列
  • 畅销排行
`s\vl VE`s\vl V var checkState = true; $(function () { $(".gnfhwleft1").load("/home/GetPLeft", { pid: "3", date: new Date().getTime() }, function () { $(".gnfhwleft3").mouseover(function () { $(this).addClass("gnfhhover"); }).mouseout(function () { $(this).removeClass("gnfhhover"); }); }) $(".dlMedia").css("display", "none"); }) function AdvancedSearch() { if (checkState) { $(".dlMedia").css("display", ""); checkState = false; } else { $(".dlMedia").css("display", "none"); checkState = true; } } function seriesSearch() { var _content = $("#content").val() window.location.href = "/SeriesBook/ListSeriesBook?sn=" + _content } function Search() { show(); } $("#dvLoadLeft").load("/ProductPartial/GetSeriesBooks", { pid: "" }); function LoadSerBook() { $("#liSerBook").attr("class", "mgTag msgCurTag"); $("#liSeal").attr("class", "mgTag"); $("#dvLoadLeft").load("/ProductPartial/GetSeriesBooks", { pid: "" }); } function LoadSeal() { $("#liSerBook").attr("class", "mgTag"); $("#liSeal").attr("class", "mgTag msgCurTag"); $("#dvLoadLeft").load("/ProductPartial/GetBestSell", { pid: "" }); } function loadJZ(mediaID) { $("#hidmediaID").val(mediaID); $("a[id*=media]").removeClass("checkin"); $("#media" + mediaID).addClass("checkin"); show(); } function LoadKeX(KeX) { $("#hidKeX").val(KeX); $("a[id*=KeX]").removeClass("checkin"); $("#KeX" + KeX).addClass("checkin"); show(); } function LoadYuYSP(YuYSP) { $("#hidYuYSP").val(YuYSP); $("a[id*=YuYSP]").removeClass("checkin"); $("#YuYSP" + YuYSP).addClass("checkin"); show(); } function LoadNianL(NianL) { $("#hidNianL").val(NianL); $("a[id*=NianL]").removeClass("checkin"); $("#NianL" + NianL).addClass("checkin"); show(); } function ody(ody) { $("#hidOby").val(ody); show(); } function show() { $("#slt").html("") var param1 = { id: "1182", pid: "3", oby: $("#hidOby").val(), _type: $("#type").val(), _content: $("#content").val(), show: $("#HidShow").val(), pageNo: $("#hidpageNo").val(), mediaID: $("#hidmediaID").val(), KeX: $("#hidKeX").val(), YuYSP: $("#hidYuYSP").val(), NianL: $("#hidNianL").val(), date: new Date().getTime() }; $("#slt").load("/PList/LoadPro", param1, function ( ) { var searchName = $("#snFite").val().toUpperCase(); $(".searchRed").each(function () { var snames = searchName.split(","); //字符分割 for (i = 0; i < snames.length ; i++) { $(this).html($(this).html().replace(snames[i], " " + snames[i] + "")); } }) return false; }); } function ChooseColumn() { $("#dvFm").load("/PList/GetColumn", { date: new Date().getTime() }, function (result) { $("#myModal").modal('show'); $("#myModalLabel").text("选择需要导出的字段"); }); } function exportexcel() { var id = "1182"; var pid = "3"; var oby = $("#hidOby").val(); var _type = $("#type").val(); var _content = $("#content").val(); var show = $("#HidShow").val(); var pageNo = $("#hidpageNo").val(); var mediaID = $("#hidmediaID").val(); var KeX = $("#hidKeX").val(); var YuYSP = $("#hidYuYSP").val(); var NianL = $("#hidNianL").val(); var chooseedColumn = $("#chooseedColumn").val(); var currentURL = window.location.href; var date = new Date().getTime(); window.location.href = "/PList/ImPortExcle?id=" + id + "&pid=" + pid + "&oby=" + oby + "&_type=" + _type + "&_content=" + _content + "&mediaID=" + mediaID + "&KeX=" + KeX + "&YuYSP=" + YuYSP + "&NianL=" + NianL+"&chooseedColumn="+chooseedColumn+"¤tURL="+currentURL; } $(function () { var media = $("#hidmediaID").val(); $("#hidmediaID").val(media) if (media != "") { var mids = media.split(','); mids.forEach(function (e) { $("#media" + e).addClass("checkin"); }) } show(); $("#btnSlt").click(function () { $("#HidShow").val("01"); show(); }); $("#btnLB").click(function () { $("#HidShow").val("02"); show(); }) document.onkeydown = function (event) { e = event ? event : (window.event ? window.event : null); if (e.keyCode == 13) { if ($.trim($("#content").val()) != "") { //执行的方法 show(); } return false; } } })