From 2b543ca35ad4697e31225829be13e375cd2b0259 Mon Sep 17 00:00:00 2001
From: zs <zhoushuai@zbooksoft.com>
Date: 星期三, 04 二月 2026 16:46:00 +0800
Subject: [PATCH] 成果资料退回后需要删除对应附件
---
src/main/webapp/WEB-INF/view/gh/search/result_attach.jsp | 179 ++++++++++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 145 insertions(+), 34 deletions(-)
diff --git a/src/main/webapp/WEB-INF/view/gh/search/result_attach.jsp b/src/main/webapp/WEB-INF/view/gh/search/result_attach.jsp
index 9545132..47f085c 100644
--- a/src/main/webapp/WEB-INF/view/gh/search/result_attach.jsp
+++ b/src/main/webapp/WEB-INF/view/gh/search/result_attach.jsp
@@ -39,6 +39,7 @@
<script type="text/javascript" src="static/plugins/json2.js"></script>
<![endif]-->
<style>
+
html, body {
height: 100%;
}
@@ -90,11 +91,123 @@
.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;">
@@ -104,30 +217,31 @@
</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">
@@ -178,10 +292,8 @@
}
});
- $("#txtKeyword").keyup(function (e) {
- if (e.keyCode == "13") {
- btnSearchClick();
- }
+ $("#search").click(function () {
+ btnSearchClick();
});
new ResizeScroll({
@@ -189,10 +301,10 @@
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);
}
@@ -218,7 +330,6 @@
function btnSearchClick() {
var searchText = $("#txtKeyword").val().replace(/(^\s*)|(\s*$)/g, "");
if (searchText != "") {
-
if ($("#cb_resultSearch").is(":checked")) {
keyword += " " + searchText;
} else {
@@ -245,7 +356,7 @@
}
}).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];
@@ -388,10 +499,10 @@
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);
}
});
@@ -434,10 +545,10 @@
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);
}
});
--
Gitblit v1.9.1