| | |
| | | <script type="text/javascript" src="static/plugins/json2.js"></script> |
| | | <![endif]--> |
| | | <style> |
| | | |
| | | html, body { |
| | | height: 100%; |
| | | } |
| | |
| | | .notice a:hover { |
| | | color: red; |
| | | } |
| | | |
| | | .archives_resultbg { |
| | | background: url(images/archivesHN/archives_resultbg.jpg) no-repeat; |
| | | height: 100%; |
| | | } |
| | | |
| | | .active_attach { |
| | | margin: 0 auto; |
| | | padding: 24px 0; |
| | | text-align: center; |
| | | padding: 30px 0 16px 0; |
| | | } |
| | | |
| | | .active_attach .search { |
| | | width: 800px; |
| | | height: 60px; |
| | | margin: 0 auto; |
| | | } |
| | | |
| | | .active_attach .search .sertext { |
| | | float: left; |
| | | height: 60px; |
| | | width: 660px; |
| | | background: #fff; |
| | | border-radius: 30px; |
| | | } |
| | | |
| | | .active_attach .search .sertext input[type="text"] { |
| | | float: left; |
| | | height: 60px; |
| | | width: 556px; |
| | | background: #fff; |
| | | border-radius: 30px; |
| | | border: none; |
| | | font-size: 14px; |
| | | font-family: "SimSun"; |
| | | padding: 0 30px; |
| | | } |
| | | |
| | | .active_attach .search .sertext input[type="button"] { |
| | | float: right; |
| | | height: 60px; |
| | | width: 104px; |
| | | background: #2461bf url(images/archivesHN/archives_resultsc.png) center center no-repeat; |
| | | border-radius: 30px; |
| | | border: 0 none; |
| | | } |
| | | |
| | | .active_attach .search .serbtn { |
| | | float: left; |
| | | } |
| | | |
| | | .active_attach .search .serbtn a { |
| | | color: #2461bf; |
| | | text-decoration: underline; |
| | | font-size: 20px; |
| | | height: 60px; |
| | | line-height: 60px; |
| | | float: left; |
| | | margin-left: 40px; |
| | | font-family: 'SY'; |
| | | } |
| | | |
| | | .active_attach .search .serbtn .s1 { |
| | | height: 60px; |
| | | } |
| | | |
| | | .active_attach .search .serbtn .s2 { |
| | | } |
| | | |
| | | .active_attach .search .serbtn .s1 i { |
| | | background: url(images/archivesHN/serbtn1.png) left top no-repeat; |
| | | display: inline-block; |
| | | width: 22px; |
| | | height: 22px; |
| | | margin-right: 10px; |
| | | position: relative; |
| | | top: 4px; |
| | | } |
| | | |
| | | .active_attach .search .serbtn .s2 i { |
| | | background: url(images/archivesHN/serbtn2.png) left center no-repeat; |
| | | display: inline-block; |
| | | width: 22px; |
| | | height: 22px; |
| | | margin-right: 10px; |
| | | position: relative; |
| | | top: 4px; |
| | | } |
| | | |
| | | .active_attach .applybtn { |
| | | float: right; |
| | | background: url(images/archivesHN/applybtnbg.png) repeat; |
| | | width: 150px; |
| | | height: 38px; |
| | | line-height: 38px; |
| | | border-radius: 19px; |
| | | margin-right: 60px; |
| | | } |
| | | |
| | | .active_attach .applybtn a { |
| | | display: inline-block; |
| | | height: 38px; |
| | | line-height: 38px; |
| | | font-size: 16px; |
| | | cursor: pointer; |
| | | padding: 0 10px; |
| | | font-family: '\9ED1\4F53'; /*黑体*/ |
| | | color: #2461bf; |
| | | } |
| | | |
| | | </style> |
| | | |
| | | </head> |
| | | |
| | | <body> |
| | | |
| | | <div> |
| | | <div id="notice" class="notice" style="width:100% ; display:none;"> |
| | | <div class="notice-con" style="height:28px;"> |
| | |
| | | </marquee> |
| | | </div> |
| | | </div> |
| | | <div class="active clear"> |
| | | <%-- <p>--%> |
| | | <%-- <input type="checkbox" id="cb_resultSearch"/>--%> |
| | | <%-- 在结果中检索--%> |
| | | <%-- </p>--%> |
| | | <div class="search"> |
| | | <%-- <div class="sertext">--%> |
| | | <%-- <input id="txtKeyword" type="text" placeholder="请输入关键字"/>--%> |
| | | <%-- <input id="search" style="cursor: pointer;" type="button">--%> |
| | | <%-- </div>--%> |
| | | <div class="sertext"> |
| | | <input type="text" id="txtKeyword" value="${keyword}"/> |
| | | <div class="archives_resultbg"> |
| | | <div class="active_attach clear"> |
| | | <div class="search"> |
| | | <div class="sertext" |
| | | style="float:left; height:60px; width:782px; background:#fff; border-radius: 30px; border: 1px solid #ccc;"> |
| | | <input style="float:left; height:55px; width:670px; background:#fff; border-radius: 30px; border:none; font-size:14px; font-family:SimSun; padding:0 30px;" |
| | | id="txtKeyword" type="text" placeholder="请输入关键字进行查询"/> |
| | | <input style="cursor: pointer;float:right; height:60px; width:104px; background:#2461bf url(static/styles/images/archivesHN/archives_resultsc.png) center center no-repeat; border-radius: 30px; border: 0 none;" |
| | | id="search" type="button"> |
| | | </div> |
| | | <%-- <div class="sertext">--%> |
| | | <%-- <input type="text" id="txtKeyword" value="${keyword}"/>--%> |
| | | <%-- </div>--%> |
| | | <%-- <div class="serbtn">--%> |
| | | <%-- <a href="javascript:btnSearchClick();" class="s1"></a>--%> |
| | | <%-- <%– <a href="archivesSearch/index" class="s2">返回首页</a>–%>--%> |
| | | <%-- </div>--%> |
| | | </div> |
| | | <div class="serbtn"> |
| | | <a href="javascript:btnSearchClick();" class="s1"></a> |
| | | <%-- <a href="archivesSearch/index" class="s2">返回首页</a>--%> |
| | | <div class="applybtn"> |
| | | <%-- <a href="archivesUtilizationForm/index" target="_blank">--%> |
| | | <%-- <i class="fa fa-shopping-cart"></i>--%> |
| | | <%-- <b>我的利用申请单</b>--%> |
| | | <%-- <span class="label label-warning" id="totalNum">${fileCount }</span>--%> |
| | | <%-- </a>--%> |
| | | </div> |
| | | </div> |
| | | <div class="applybtn"> |
| | | <%-- <a href="archivesUtilizationForm/index" target="_blank">--%> |
| | | <%-- <i class="fa fa-shopping-cart"></i>--%> |
| | | <%-- <b>我的利用申请单</b>--%> |
| | | <%-- <span class="label label-warning" id="totalNum">${fileCount }</span>--%> |
| | | <%-- </a>--%> |
| | | </div> |
| | | </div> |
| | | <div class="retrievalcon clear"> |
| | |
| | | } |
| | | }); |
| | | |
| | | $("#txtKeyword").keyup(function (e) { |
| | | if (e.keyCode == "13") { |
| | | btnSearchClick(); |
| | | } |
| | | $("#search").click(function () { |
| | | btnSearchClick(); |
| | | }); |
| | | |
| | | new ResizeScroll({ |
| | |
| | | fun: function () { |
| | | var wh = $(window).height(); |
| | | if ($("#notice").is(':visible')) { |
| | | $('.active').css({'padding-top': '0'}); |
| | | $('.active_attach').css({'padding-top': '0'}); |
| | | return (wh - 128 - 26 - 28); |
| | | } |
| | | $('.active').css({'padding-top': '24'}); |
| | | $('.active_attach').css({'padding-top': '24'}); |
| | | return (wh - 128 - 26); |
| | | |
| | | } |
| | |
| | | function btnSearchClick() { |
| | | var searchText = $("#txtKeyword").val().replace(/(^\s*)|(\s*$)/g, ""); |
| | | if (searchText != "") { |
| | | |
| | | if ($("#cb_resultSearch").is(":checked")) { |
| | | keyword += " " + searchText; |
| | | } else { |
| | |
| | | } |
| | | }).done(function (result) { |
| | | var html = ""; |
| | | if (result.total > 0) { |
| | | if (result.total >= 0) { |
| | | |
| | | for (var i = 0; i < result.rows.length; i++) { |
| | | var row = result.rows[i]; |
| | |
| | | fun: function () { |
| | | var wh = $(window).height(); |
| | | if ($("#notice").is(':visible')) { |
| | | $('.active').css({'padding-top': '0'}); |
| | | $('.active_attach').css({'padding-top': '0'}); |
| | | return (wh - 128 - 60 - 20 - 28); |
| | | } |
| | | $('.active').css({'padding-top': '24'}); |
| | | $('.active_attach').css({'padding-top': '24'}); |
| | | return (wh - 128 - 60 - 20); |
| | | } |
| | | }); |
| | |
| | | fun: function () { |
| | | var wh = $(window).height(); |
| | | if ($("#notice").is(':visible')) { |
| | | $('.active').css({'padding-top': '0'}); |
| | | $('.active_attach').css({'padding-top': '0'}); |
| | | return (wh - 128 - 60 - 20 - 28); |
| | | } |
| | | $('.active').css({'padding-top': '24'}); |
| | | $('.active_attach').css({'padding-top': '24'}); |
| | | return (wh - 128 - 60 - 20); |
| | | } |
| | | }); |