Merge remote-tracking branch 'remotes/origin/master' into wmj

# Conflicts:
#	src/core/operation/Search.json
wlf
wan 6 years ago
commit 6ae3efd617

File diff suppressed because it is too large Load Diff

@ -0,0 +1,2 @@
#n:testsql
!<md> [null, 0, null, null, -2147483648, -2147483648]

@ -1,6 +1,7 @@
<component name="ProjectDictionaryState">
<dictionary name="zhai_">
<words>
<w>excpt</w>
<w>gdms</w>
<w>mariadb</w>
<w>synchronizable</w>

@ -19,11 +19,11 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="PROVIDED" name="Tomcat 8.5.37" level="application_server_libraries" />
<orderEntry type="library" scope="PROVIDED" name="Tomcat 8.5" level="application_server_libraries" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://C:/Program Files/Apache Software Foundation/Tomcat 8.5/lib/tomcat-jdbc.jar!/" />
<root url="jar://E:/tomcat8/apache-tomcat-8.5.37/lib/tomcat-jdbc.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />

@ -2,7 +2,7 @@
"options":{
"table": "String",
"fields": "List<String>",
"value": "String",
"limits": "Map<String,String>",
"start": "int",
"end": "int"
},

@ -0,0 +1,4 @@
package core.process;
public class C_StudentSelectTeacher {
}

@ -27,7 +27,7 @@ public interface AccountManagement {
Map<String,String> limits = new HashMap<>();
limits.put("id",id);
try {
rs = DBManagement.select(columns,userTable,limits,1,2);
rs = DBManagement.select(columns,userTable,limits,0,1);
} catch (Exception e) {
throw new GExcptSQL("QUERY\n\t"+id+"\nfailure");
}

@ -1,10 +1,13 @@
body{
margin: 0px;
padding: 0px;
background-color: #efefef;
background-color: #dad0ce;
width: 100%;
height: 100%;
}
.main2{
background-color: #f8f9ff;
}
a{
text-decoration: none;
}
@ -14,7 +17,6 @@ ul{
}
.main{
position: relative;
height: 100%;
}
.top-bar{
width: 100%;
@ -53,6 +55,11 @@ ul{
line-height: 70px;
height:70px;
}
.back-home a{
display: block;
width: 100%;
height: 100%;
}
.opt-options{
visibility: hidden;
width: 100px;
@ -60,7 +67,7 @@ ul{
background-color: white;
position: absolute;
top: 55px;
right: -20px;
right: -8px;
border: 1px solid rgba(0, 0, 0, 0.07);
border-radius: 0px 0px 5px 5px;
box-shadow: 5px 2px 8px rgba(0, 0, 0, 0.29);
@ -93,8 +100,6 @@ ul{
margin: 2px;
width: 45px;
height: 45px;
border-radius: 50%;
border: 3px solid white;
}
.opt .img{
display: block;
@ -134,6 +139,7 @@ width: 35px;
width: 100px;
height: 800px;
background-color: #251d20;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.35);
}
.nav-bar .a-process{
border: 1px solid rgba(255, 255, 255, 0.2);
@ -149,6 +155,7 @@ width: 35px;
background-color: rgba(255, 255, 255, 0.3);
}
.point-bar{
border-right:1px solid rgb(198, 34, 53);
width: 10px;
position: absolute;
left: 100px;
@ -158,12 +165,12 @@ width: 35px;
background-color: #cf4240;
transition: all 0.4s;
visibility: hidden;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.32);
}
.main2{
z-index: 2;
position: relative;
width: 1100px;
height: 1100px;
margin: 0px auto;
background-color: white;
}
@ -190,24 +197,27 @@ width: 35px;
font-size: 12px;
}
.update-frame{
border-top: 1px solid rgba(255,105,0,0);
width: 990px;
height: 1100px;
position: relative;
left: 110px;
height: 900px;
}
.scroll-ads{
height: 300px;
height: 320px;
width: 900px;
background-color: black;
background-color: #ffffff;
position: absolute;
margin: 20px 45px;
border-radius: 10px;
overflow: hidden;
border: 1px solid rgba(0, 0, 0, 0.33);
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.22);
}
.scroll-ads .scroll-ads-imgs .scroll-child{
display: inline-block;
width: 100%;
height: 100%;
height: 90%;
transition: all 0.4s;
}
.scroll-ads .scroll-ads-imgs{
@ -231,4 +241,114 @@ width: 35px;
z-index: 10;
font-size: 20px;
color: white;
}
.notice-frame{
margin:370px auto 0px 45px;
position: relative;
width: 800px;
height: 400px;
border:1px solid rgba(0, 0, 0, 0.32);
border-radius: 5px;
overflow: hidden;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.29);
}
.notice-frame .notice-frame-info{
color: white;
background-color: #c62e35;
width:200px;
height: 50px;
border-radius: 0 0 8px 0;
text-align:center;
line-height: 40px;
font-size: 25px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.29);
}
.notice-frame .notice-cont{
overflow-y: scroll;
border:1px solid rgba(255, 255, 255, 0);
height: 340px;
width: 750px;
margin: 5px 30px;
}
.bar-change::-webkit-scrollbar{
width: 10px;
background-color: #dcdcdc;
border-radius: 10px;
}
.bar-change::-webkit-scrollbar-thumb{
width: 10px;
transition: all 0.3s;
background-color: #e45053;
border-radius: 10px;
}
.notice-child{
margin: 5px 0;
width: 98%;
float: left;
border: 1px solid #d4d4d4;
border-radius: 5px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}
.notice-child .notice-title{
line-height: 40px;
color: rgba(0, 0, 0, 0.91);
width: 100%;
height: 50px;
text-align: center;
}
.notice-child .notice-text{
color: rgba(0, 0, 0, 0.91);
width: 100%;
min-height: 100px;
text-align: left;
display: none;
transition-delay:0.3s;
background-color: #f3f3f3;
border-top: 1px solid rgba(0, 0, 0, 0.26);
}
.notice-child .notice-title:hover + .notice-text{
display: block;
}
.notice-child .notice-text:hover{
display: block;
}
.notice-child .notice-title .expend{
position: relative;
background-color: #251d20;
width: 30px;
height: 60px;
float: left;
border-radius: 0 0 5px 5px;
margin-left: 20px;
}
.notice-title .title-text{
width: 400px;
float: left;
margin: 0px 120px;
}
.notice-choose{
width: 80px;
height: 200px;
position: absolute;
top: 370px;
right: 62px;
border: 1px solid rgba(255, 255, 255, 0);
}
.notice-choose .notice-class{
margin: 8px 0;
width: 100%;
height: 50px;
color: white;
font-size: 18px;
line-height: 45px;
text-align: center;
background-color: #c62235;
border-radius: 0 10px 10px 0;
transition: all 0.3s;
}
.notice-choose .notice-class:hover{
width: 110%;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -94,16 +94,30 @@ body{
}
.register-submit-style{
position: absolute;
width: 300px;
width: 200px;
height: 40px;
border-radius: 5px;
left: 49px;
right: 31px;
border: 1px solid rgba(0, 0, 0, 0.2);
background-color: #65b0ff;
color: white;
font-size: 20px;
cursor: pointer;
}
.id-check{
appearance:none;
-moz-appearance:none;
-webkit-appearance:none;
position: absolute;
top: 440px;
left: 29px;
width: 100px;
height: 25px;
color: rgba(0,0,0,0.58);
border:1px solid rgba(0, 0, 0, 0.41);
padding-left: 20px;
border-radius: 5px;
}
.register-input-text.sno-text{
top: 60px;
}

@ -1,11 +1,20 @@
ul{
padding: 0;
margin: 0;
}
.updated{
width: 100%;
height: 100%;
}
.personal-choose{
position: absolute;
top: 50px;
left: 15px;
top: 70px;
left: 128px;
height: 250px;
border-radius: 5px;
background-color: #f6f6f6;
border: 1px solid rgba(0, 0, 0, 0.28);
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.23);
}
.personal-choose .nav-personal-choose{
margin: 0px;
@ -15,7 +24,7 @@
list-style: none;
border-radius: 5px 5px 0px 0px;
margin: 10px 0px;
color: rgba(0, 0, 0, 0.93);
color: rgba(0, 0, 0, 0.82);
width: 120px;
height: 30px;
border-bottom: 1px solid rgb(198, 68, 66);
@ -36,17 +45,38 @@
top: 70px;
left: 250px;
width: 600px;
border: 1px solid rgba(0, 0, 0, 0.27);
border-radius: 5px;
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.23);
}
.personal-msg-frame .personal-msg-part{
width: 550px;
width: 100%;
height: 50px;
margin: 30px 0px;
border-bottom: 1px solid rgba(0, 0, 0, 0.54);
margin: 20px 0px;
}
.personal-msg-frame .personal-msg-part:hover{
background-color: #e9e9e9;
}
.frame-info{
height: 60px;
border-bottom: 1px solid #c6333e;
}
.frame-info .info-text{
margin: 15px auto;
height: 40px;
color: white;
width: 150px;
background-color: #c6333e;
font-size: 20px;
text-align: center;
line-height: 40px;
border-radius: 5px;
}
.personal-msg-frame .personal-msg-part .part-name{
width: 80px;
text-align: left;
text-align: right;
line-height: 35px;
padding-left: 40px;
color: rgba(0, 0, 0, 0.78);
float: left;
height: 100%;
@ -57,8 +87,10 @@
height: 100%;
float: left;
text-align: left;
color: rgba(0, 0, 0, 0.74);
line-height: 35px;
font-size: 15px;
font-size: 20px;
padding-left: 20px;
}
.updated .change-pw-frame{
display: none;
@ -66,21 +98,23 @@
top: 70px;
left: 250px;
width: 600px;
border: 1px solid rgba(0, 0, 0, 0.27);
border-radius: 5px;
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.23);
}
.change-pw-frame .pw-input-style{
padding: 0px 0px 0px 20px;
margin: 20px 100px;
margin: 20px 130px;
width:340px;
height: 40px;
border-radius: 5px;
left: 29px;
border:1px solid rgba(0, 0, 0, 0.37);
}
.change-pw-frame .pw-input-style:hover{
background-color: #f0f0f0;
}
.change-pw-frame .sm-input-style{
margin: 20px 120px;
margin: 20px 150px;
top: 280px;
width: 300px;
height: 40px;

@ -0,0 +1,162 @@
button{
cursor: pointer;
}
.select-frame{
position: relative;
width: 100%;
height: 100%;
}
a{
text-decoration: none;
}
.search-frame{
position: absolute;
width: 350px;
height: 50px;
top:40px;
right: 60px;
background-color: rgba(0, 0, 0, 0.14);
border-radius: 5px;
}
.search-button{
float: left;
background: url("images/search1.png");
cursor: pointer;
border-radius: 5px;
width: 55px;
height: 40px;
margin: 5px 0;
}
.search-button:hover{
background: url("images/search2.png");
}
.search-input{
overflow: hidden;
padding: 0 0 0 10px;
margin: 5px 5px;
border-radius: 5px;
border: 0px;
float: left;
width: 280px;
height: 40px;
background: rgba(255, 255, 255, 0.85);
}
.search-input:hover{
background: rgb(255, 255, 255);
}
.list-frame .list-child{
margin: 10px 5px;
height: 120px;
width: 98%;
color: white;
border-radius: 10px;
box-shadow:4px 2px 5px rgba(0, 0, 0, 0.24);
border: 1px solid rgba(0, 0, 0, 0.2);
}
.list-child:hover{
background: rgba(0, 0, 0, 0.06);
}
.list-frame{
overflow-y: scroll;
right: 60px;
top: 100px;
position: absolute;
max-height: 700px;
width: 600px;
}
.select-it{
box-shadow:0px 2px 4px rgba(0, 0, 0, 0.22);
color: white;
float: right;
border-radius: 5px;
height: 40px;
width: 80px;
background-color: #1f1d1c;
margin: 40px 2px 40px 2px;
border: 0px;
transition: all 0.3s;
}
.select-it:hover{
width: 100px;
}
.name{
background-color: #d1373d;
float: left;
height: 60px;
border-radius: 0px 5px 5px 0px;
width: 100px;
margin: 30px 0px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.27);
}
.the-name{
display: block;
height: 30px;
width: 80px;
margin: 15px 0px 15px 12px;
font-size: 18px;
color: white;
vertical-align: middle;
}
.count-select{
cursor: pointer;
position: absolute;
width: 200px;
top: 100px;
left: 100px;
transition: all 0.3s;
}
.count-select:hover{
top: 80px;
}
.select-blank{
display: none;
}
.count-select:hover .select-blank{
display: block;
transition: height 1s;
height: 400px;
background-color: #252323;
width: 95%;
margin:0px 5px;
}
.count-select .selected-info{
width: 100%;
color: white;
font-size: 20px;
line-height: 50px;
text-align: center;
background-color: #d1373d;
border-radius: 5px 5px 0px 0px;
height: 60px;
border-bottom:1px solid rgba(0, 0, 0, 0.17);
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.27);
}
.count-select .selected-bottom{
border-top:1px solid rgba(228, 118, 118, 0.31);
transition: all 1s;
width: 100%;
height: 60px;
background-color: #d1373d;
border-radius: 0px 0px 5px 5px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.27);
}
.other-msgs{
font-size: 10px;
float: left;
width: 350px;
height: 100px;
margin: 10px 0 10px 15px;
}
.other-msgs .one-msg{
float:left;
padding-left: 10px;
margin: 2px 2px;
width: 45%;
height:16px;
background-color: rgba(0, 0, 0, 0.78);
border-radius: 10px;
transition: all 0.3s;
}
.one-msg:hover{
background-color: rgba(39, 39, 39, 0.78);
}

@ -0,0 +1,31 @@
<%--
Created by IntelliJ IDEA.
User: lenovo
Date: 2019/1/10
Time: 22:30
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.Date" import="java.io.*,java.util.*" %>
<html>
<head>
<title>Title</title>
</head>
<body>
<div class="updated"><%
// 设置每隔5秒自动刷新
response.setIntHeader("Refresh", 5);
// 获取当前时间
Calendar calendar = new GregorianCalendar();
String am_pm;
int hour = calendar.get(Calendar.HOUR);
int minute = calendar.get(Calendar.MINUTE);
int second = calendar.get(Calendar.SECOND);
if(calendar.get(Calendar.AM_PM) == 0)
am_pm = "AM";
else
am_pm = "PM";
String CT = hour+":"+ minute +":"+ second +" "+ am_pm;
out.println("当前时间: " + CT + "\n");
%></div>
</body>
</html>

@ -11,10 +11,12 @@
<title>毕业设计管理系统</title>
<link type="text/css" rel="stylesheet" href="cssFile/home.css">
<link type="text/css" rel="stylesheet" href="cssFile/personal.css">
<link type="text/css" rel="stylesheet" href="cssFile/select-style.css">
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
<script type="text/javascript" src="jsFile/homeActive.js"></script>
<script type="text/javascript" src="jsFile/home-update.js"></script>
<script type="text/javascript" src="jsFile/personal.js"></script>
<script type="text/javascript" src="jsFile/search.js"></script>
</head>
<body>
<div class="main">
@ -29,7 +31,7 @@
<div class="opt">
<img class="img" src="cssFile/images/opt.png">
<div class="opt-options">
<div class="opt-to-perm"><a class="update-to-perm" href="personal-setting.jsp">
<div class="opt-to-perm"><a class="update-to-perm" href="personal_setting.jsp">
个人信息</a></div>
<div class="to-logout"><a>退出登录</a></div>
</div>
@ -42,7 +44,7 @@
<div class="nav-bar">
<div class="point-bar"></div>
<div class="a-process personal-msg">
<a href="personal-setting.jsp" class="link-point personal-msg-page">
<a href="personal_setting.jsp" class="link-point personal-msg-page">
<div class="a-process-decoration personal-set">
<img src="cssFile/images/man.png">
<div class="nav-info">个人信息</div>
@ -58,8 +60,11 @@
</a>
</div>
<div class="a-process data-download">
<a href="#" class="link-point data-download-page">
<a href="select.jsp" class="link-point data-download-page">
<div class="a-process-decoration download">
<img src="cssFile/images/select.png">
<div class="nav-info">选择学生</div>
</div>
</a>
</div>
</div>
@ -92,6 +97,36 @@
</li>
</ul>
</div>
<div class="notice-frame">
<div class="notice-frame-info">公告</div>
<div class="notice-cont bar-change">
<div class="notice-child">
<div class="notice-title"><div class="expend"></div>
<div class="title-text">欢迎使用</div></div>
<div class="notice-text">欢迎使用GDMS</div>
</div>
<div class="notice-child">
<div class="notice-title"><div class="expend"></div>
<div class="title-text">寒假通知</div></div>
<div class="notice-text">早点回去吧</div>
</div>
<div class="notice-child">
<div class="notice-title"><div class="expend"></div>
<div class="title-text">开题截至日期</div></div>
<div class="notice-text">开题截至日期一月七号</div>
</div>
<div class="notice-child">
<div class="notice-title"><div class="expend"></div>
<div class="title-text">评阅截至日期</div></div>
<div class="notice-text">评阅截至日期四月七号</div>
</div>
</div>
</div>
<div class="notice-choose">
<div class="notice-class">学校</div>
<div class="notice-class">老师</div>
<div class="notice-class">学院</div>
</div>
</div>
</div>
</div>

@ -8,27 +8,33 @@ function moveBar() {
}
function scrollAds() {
var scrolling=document.getElementsByClassName('scroll-ads-imgs').item(0);
if(scrolling.style.transform=="translateX(0%)")
if(scrolling==null)
{
$('.scroll-ads-imgs').css('transition','0.4s');
scrolling.style.transform='translateX(-100%)';
clearInterval(start_scoll);
}
else if(scrolling.style.transform=="translateX(-100%)")
{
scrolling.style.transform='translateX(-200%)';
else {
if(scrolling.style.transform=="translateX(0%)")
{
$('.scroll-ads-imgs').css('transition','0.4s');
scrolling.style.transform='translateX(-100%)';
}
else if(scrolling.style.transform=="translateX(-100%)")
{
scrolling.style.transform='translateX(-200%)';
}
else if(scrolling.style.transform=="translateX(-200%)")
{
scrolling.style.transform='translateX(-300%)';
}
else if(scrolling.style.transform=="translateX(-300%)")
{
$('.scroll-ads-imgs').css('transition','none');
scrolling.style.transform='translateX(0%)';
window.setTimeout('scrollAds()',200);
}
else if(scrolling.style.transform=="translateX(-200%)")
{
scrolling.style.transform='translateX(-300%)';
}
else if(scrolling.style.transform=="translateX(-300%)")
{
$('.scroll-ads-imgs').css('transition','none');
scrolling.style.transform='translateX(0%)';
window.setTimeout('scrollAds()',200);
}
}
}
window.setInterval('scrollAds()',3000);
var start_scoll=window.setInterval('scrollAds()',3000);

@ -37,13 +37,18 @@ function isEmpty2(e)
}
}
)
if($('.register-input-text').eq(4).val()!=$('.register-input-text').eq(5)
if($('.register-input-text').eq(1).val()!=$('.register-input-text').eq(5)
.val()&&!isem)
{
e.preventDefault();
alert('两次密码不同');
return false;
}
if($('.id-check').val()=='')
{
e.preventDefault()
alert("请选择身份");
}
}
$(document).ready(
function () {

@ -1,8 +1,8 @@
$(document).ready(function () {
$(document).off('click').on('click','.choose-child',pChange);
$(document).off('click',pChange).on('click','.choose-child',pChange);
$(document).off('click',showpm).on('click','.pm',showpm);
$(document).off('click',showpw).on('click','.pw',showpw);
$('.sm-input-style').off('click').on('click',isEmpty);
$(document).off('click',isEmpty).on('click','.sm-input-style',isEmpty);
})
function pChange(){
$('.choose-child').each(function () {

@ -0,0 +1,35 @@
$(document).ready(function () {
$(document).off('click',searchmsg).on('click','.search-button',searchmsg);
$(document).off('keydown',searchmsg).on('keydown','.search-input',KDsearchmsg);
$(document).off('click',select_one).on('click','.select-it',select_one);
})
function searchmsg(e) {
if($('.search-input').val()=='')
{
e.preventDefault();
alert('请输入学号');
}
else {
var id=$('.search-input').val();
var rqDate={"id":id};
var Url1='result_list.jsp';
$('.list-frame').load(Url1,rqDate);
}
}
function KDsearchmsg(e) {
if(e.keyCode==13)
{
searchmsg(e);
}
}
function select_one() {
var id=$('.select-it').val();
var selectDate={"id":id};
var Url2='select';
$.post(Url2,selectDate,function (data ,status) {
if(status==200)
{
alert('操作成功');
}
})
}

@ -40,19 +40,24 @@
</div>
<div class="register-cont">
<form method="post" action="#">
<form method="post" action="login">
<input class="register-input-text sno-text" type="text" name="id"
placeholder="学号">
placeholder="学号或职工号">
<input class="register-input-text password-text" type="password" name="password"
placeholder="请输入密码">
<input class="register-input-text name-text" type="text" name="name"
placeholder="姓名">
<input class="register-input-text e-mail-text" type="text" name="e-mail"
placeholder="邮箱">
<input class="register-input-text phone-number" type="text" name="phone-number"
placeholder="请输入电话">
<input class="register-input-text password-text" type="password" name="password"
placeholder="请输入密码">
<input class="register-input-text check-password-text" type="password" name="password-check"
placeholder="请确认密码">
<select class="id-check">
<option value="">身份</option>
<option value="student">学生</option>
<option value="teacher">老师</option>
</select>
<input class="register-submit-style" type="submit" value="注册">
</form>
</div>

@ -23,21 +23,30 @@
<li class="choose-child pw">修改密码</li>
</ul>
</div>
<div class="personal-msg-frame">
<div class="personal-frame personal-msg-frame">
<div class="frame-info">
<div class="info-text">个人信息</div>
</div>
<div class="personal-msg-part">
<div class="part-name">id</div><div class="part-cont">未知</div>
</div>
<div class="personal-msg-part">
<div class="part-name">姓名</div><div class="part-cont"></div>
<div class="part-name">姓名</div><div class="part-cont">未知</div>
</div>
<div class="personal-msg-part">
<div class="part-name">id</div><div class="part-cont"></div>
<div class="part-name">年级</div><div class="part-cont">未知</div>
</div>
<div class="personal-msg-part">
<div class="part-name">邮箱</div><div class="part-cont"></div>
<div class="part-name">邮箱</div><div class="part-cont">未知</div>
</div>
<div class="personal-msg-part">
<div class="part-name">电话号码</div><div class="part-cont"></div>
<div class="part-name">电话号码</div><div class="part-cont">未知</div>
</div>
</div>
<div class="change-pw-frame">
<div class="personal-frame change-pw-frame">
<div class="frame-info">
<div class="info-text">修改密码</div>
</div>
<form method="post" action="#">
<input class="pw-input-style" type="password" name="oldPassword"
placeholder="请输入原始密码">

@ -0,0 +1,27 @@
<%--
Created by IntelliJ IDEA.
User: lenovo
Date: 2019/1/11
Time: 19:57
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%String a=request.getParameter("id");
String b[][]=new String[3][3];
for(int i=0;i<3;i++)
for(int j=0;j<3;j++)
b[i][j]="hello";
%>
<%%>
<div class="list-child">
<div class="name"><span class="the-name"><%=a%></span></div>
<div class="other-msgs">
<%for(int k=0;k<b.length;k++)
for (int n=0;n<b[0].length;n++)
out.print(" <div class=\"one-msg\">电话号码:"+b[k][n]+"</div>");
%>
<div class="one-msg">电话号码18711191679</div>
</div>
<button class="select-it" value="<%=123%>">选择</button>
</div>

@ -0,0 +1,65 @@
<%--
Created by IntelliJ IDEA.
User: lenovo
Date: 2019/1/11
Time: 11:13
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.Date" %>
<html>
<head>
<title>Title</title>
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
<link type="text/css" rel="stylesheet" href="cssFile/select-style.css">
<script type="text/javascript" src="jsFile/search.js"></script>
</head>
<body>
<div class="updated">
<div class="select-frame">
<div class="search-frame">
<input class="search-input" type="text" name="id" value="" placeholder="输入学号查找">
<div class="search-button"></div>
</div>
<div class="count-select">
<div class="selected-info">已选学生</div>
<div class="select-blank"></div>
<div class="selected-bottom"></div>
</div>
<div class="list-frame bar-change">
<div class="list-child">
<div class="name"><span class="the-name">李先生</span></div>
<div class="other-msgs">
<div class="one-msg">电话号码18711191679</div>
<div class="one-msg">邮箱823169880@qq.com</div>
<div class="one-msg">年级2016</div>
<div class="one-msg">专业:软件工程</div>
<div class="one-msg">电话号码18711191679</div>
<div class="one-msg">邮箱823169880@qq.com</div>
<div class="one-msg">年级2016</div>
<div class="one-msg">专业:软件工程</div>
</div>
<button class="select-it">选择</button>
</div>
<div class="list-child"><div class="name"></div>
<button class="select-it"></button>
</div>
<div class="list-child"><div class="name"></div>
<button class="select-it"></button>
</div>
<div class="list-child"><div class="name"></div>
<button class="select-it"></button>
</div>
<div class="list-child"><div class="name"></div>
<button class="select-it"></button>
</div>
<div class="list-child"><div class="name"></div>
<button class="select-it"></button>
</div>
<div class="list-child"><div class="name"></div>
<button class="select-it"></button>
</div>
</div>
</div>
</div>
</body>
</html>

@ -1,4 +1 @@
function a(){
alert(123);
}
window.onload=a();

Loading…
Cancel
Save