Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_53077510
production_ssm
提交
73ddd302
P
production_ssm
项目概览
weixin_53077510
/
production_ssm
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
production_ssm
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
73ddd302
编写于
9月 24, 2016
作者:
M
megagao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除了文件
上级
8620fe04
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
0 addition
and
153 deletion
+0
-153
src/main/webapp/WEB-INF/jsp/login1.jsp
src/main/webapp/WEB-INF/jsp/login1.jsp
+0
-153
未找到文件。
src/main/webapp/WEB-INF/jsp/login1.jsp
已删除
100644 → 0
浏览文件 @
8620fe04
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page
contentType=
"text/html; charset=UTF-8"
%>
<%@ include
file=
"/WEB-INF/jsp/tag.jsp"
%>
<html>
<head>
<TITLE>
生产管理平台
</TITLE>
<meta
http-equiv=
"pragma"
content=
"no-cache"
>
<meta
http-equiv=
"cache-control"
content=
"no-cache"
>
<meta
http-equiv=
"content-type"
content=
"text/html; charset=UTF-8"
>
<LINK
rel=
"stylesheet"
type=
"text/css"
href=
"${baseurl}styles/style.css"
>
<LINK
rel=
"stylesheet"
type=
"text/css"
href=
"${baseurl}styles/login.css"
>
<LINK
rel=
"stylesheet"
type=
"text/css"
href=
"${baseurl}js/easyui/themes/default/easyui.css"
>
<LINK
rel=
"stylesheet"
type=
"text/css"
href=
"${baseurl}js/easyui/themes/icon.css"
>
<STYLE
type=
"text/css"
>
.btnalink {
cursor: hand;
display: block;
width: 80px;
height: 29px;
float: left;
margin: 12px 28px 12px auto;
line-height: 30px;
background: url('${baseurl}images/login/btnbg.jpg') no-repeat;
font-size: 14px;
color: #fff;
font-weight: bold;
text-decoration: none;
}
</STYLE>
<%@ include
file=
"/WEB-INF/jsp/common_js.jsp"
%>
<script
type=
"text/javascript"
>
//登录提示方法
function
loginsubmit
()
{
var
uname
=
$
(
"
#username
"
);
var
pwd
=
$
(
"
#password
"
);
var
rcode
=
$
(
"
#randomcode
"
);
if
(
$
.
trim
(
uname
.
val
())
==
""
){
$
(
"
#userspan
"
).
html
(
"
<font color='red'>用户名不能为空!</font>
"
);
userId
.
focus
();
}
else
if
(
$
.
trim
(
pwd
.
val
())
==
""
){
$
(
"
#userspan
"
).
html
(
""
);
$
(
"
#passsword_span
"
).
html
(
"
<font color='red'>密码不能为空!</font>
"
);
pwd
.
focus
();
}
else
if
(
$
.
trim
(
rcode
.
val
())
==
""
){
$
(
"
#passsword_span
"
).
html
(
""
);
$
(
"
#randomcode_span
"
).
html
(
"
<font color='red'>验证码不能为空!</font>
"
);
rcode
.
focus
();
}
else
{
$
(
"
#randomcode_span
"
).
html
(
""
);
$
.
ajax
(
{
url
:
'
${baseurl}login
'
,
// 跳转到 action
data
:{
username
:
uname
.
val
(),
password
:
pwd
.
val
(),
randomcode
:
rcode
.
val
()
},
type
:
'
post
'
,
cache
:
false
,
dataType
:
'
json
'
,
success
:
function
(
data
)
{
if
(
data
.
msg
==
"
success
"
){
location
.
href
=
"
${baseurl}home
"
;
}
else
{
$
(
"
#error_span
"
).
html
(
"
<font color='red'>用户名或密码错误!</font>
"
);
}
},
error
:
function
()
{
// view("异常!");
alert
(
"
异常!
"
);
}
});
/* $.post("${baseurl}login", {
username : username,
password : password,
randomcode : randomcode
}, callback, "json");
function callback(data) {
if(data=="success"){
location.href="${baseurl}welcome";
}else{
alert(data);
}
} */
}
}
<
/SCRIPT>
<
/HEAD>
<
BODY
style
=
"
background: #f6fdff url(${baseurl}images/login/bg1.jpg) repeat-x;
"
>
<
DIV
class
=
"
logincon
"
>
<
DIV
class
=
"
title
"
>
<
span
style
=
"
font: bold;font-size: 40;font-family:
"
宋体
"
;
"
>
生
产
管
理
系
统
<
/span>
<
/DIV>
<
DIV
class
=
"
cen_con
"
>
<
IMG
alt
=
""
src
=
"
${baseurl}images/login/bg2.png
"
>
<
/DIV>
<
DIV
class
=
"
tab_con
"
>
<
input
type
=
"
password
"
style
=
"
display:none;
"
/>
<
TABLE
class
=
"
tab
"
border
=
"
0
"
cellSpacing
=
"
6
"
cellPadding
=
"
8
"
>
<
TBODY
>
<
TR
>
<
TD
>
用户名
:
<
/TD>
<
TD
colSpan
=
"
2
"
><
input
type
=
"
text
"
id
=
"
username
"
name
=
"
username
"
style
=
"
WIDTH: 130px
"
/><
span
id
=
"
userspan
"
><
/span></
TD
>
<
/TR>
<
TR
>
<
TD
>
密
码
:
<
/TD>
<
TD
>
<
input
type
=
"
password
"
id
=
"
password
"
name
=
"
password
"
style
=
"
WIDTH: 130px
"
/>
<
span
id
=
"
passsword_span
"
><
/span>
<
/TD>
<
/TR>
<
TR
>
<
TD
>
验证码
:
<
/TD>
<
TD
>
<
input
id
=
"
randomcode
"
name
=
"
randomcode
"
size
=
"
8
"
/>
<
img
id
=
"
randomcode_img
"
src
=
"
${baseurl}validatecode.jsp
"
alt
=
""
width
=
"
56
"
height
=
"
20
"
align
=
'
absMiddle
'
/>
<
a
href
=
javascript
:
randomcode_refresh
()
>
刷新
<
/a>
<
span
id
=
"
randomcode_span
"
><
/span>
<
/TD>
<
/TR>
<
TR
align
=
"
center
"
>
<
TD
colSpan
=
"
2
"
align
=
"
center
"
>
<
input
type
=
"
button
"
class
=
"
btnalink
"
onclick
=
"
loginsubmit()
"
value
=
"
登 录
"
/>
<
span
id
=
"
error_span
"
><
/span>
<
/TD>
<
/TR>
<
/TBODY>
<
/TABLE>
<
/DIV>
<
/DIV>
<
/BODY>
<
/HTML>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录