基于jQuery Easyui實(shí)現(xiàn)登陸框界面
更新時(shí)間:2017年07月10日 08:39:38 作者:pang_da_xing
本文通過實(shí)例代碼給大家分享了基于jQuery Easyui實(shí)現(xiàn)登陸框界面,代碼簡(jiǎn)單易懂,非常不錯(cuò),具有參考借鑒價(jià)值,需要的的朋友參考下吧
效果圖

CSS
a{
text-decoration:none;
}
body{
margin:0px;
}
#header{
width:100%;
height:30px;
background-color:#E0EFFF;
padding-top: 5px;
padding-bottom: 10px;
}
#header .logo{
margin-left: 50px;
font-size: 24px;
font-family: 微軟雅黑;
}
#picture{
width:100%;
height:750px;
}
.panel-title {
text-align: center;
font-size: 16px;
}
#bootom{
padding-top:50px;
width:100%;
height:100px;
background: #eaf2ff;
}
#bootom_content{
margin-left:100px;
width:80%;
text-align: center;
font-size:0.8em;
}
p{
line-height:20px;
}
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<!-- 引用的css -->
<link rel="stylesheet" type="text/css" href="themes/default/easyui.css" rel="external nofollow" >
<link rel="stylesheet" type="text/css" href="themes/default/panel.css" rel="external nofollow" >
<link rel="stylesheet" type="text/css" href="themes/icon.css" rel="external nofollow" >
<link rel="stylesheet" type="text/css" href="css/index.css" rel="external nofollow" >
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
<title>系統(tǒng)首頁(yè)</title>
</head>
<script type="text/javascript">
console.info("==================")
$('#p').panel('move',{
left:100,
top:100
});
</script>
<body>
<div id="header" >
<div class="logo" onclick="window.location.href='index.html'">
<strong信息系統(tǒng)</strong>
</div>
</div>
<div id="picture" style="background:url(images/index.jpg) no-repeat; background-size: cover;">
<div data-options=" region:'east',split:true,style:{position:'absolute',right:50,top:150}"
class="easyui-panel " title="用戶登錄" style="width:300px;text-align: center;">
<div style="padding:10px 60px 20px 60px">
<form id="ff" class="easyui-form" method="post" data-options="novalidate:true">
<table cellpadding="5">
<tr>
<td><input class="easyui-textbox" data-options="prompt:'賬號(hào)',validType:'name'" iconCls="icon-man" iconAlign=left style="width:100%;height:32px"/></td>
</tr>
<tr>
<td><input class="easyui-textbox" data-options="prompt:'密碼',validType:'password'" iconCls="icon-lock" iconAlign=left style="width:100%;height:32px"></input></td>
</tr>
<tr>
<td><input class="easyui-textbox" data-options="prompt:'驗(yàn)證碼',validType:'validate'" iconCls="icon-filter" iconAlign=left style="width:55%;height:32px" />
<img src="" alt="" width="56" height="32" align='absMiddle' /> </td>
</tr>
</table>
</form>
<div style="text-align:center;padding:5px; ">
<a href="#" rel="external nofollow" rel="external nofollow" class="easyui-linkbutton" style="width:45%;height:32px">登錄</a>
<a href="#" rel="external nofollow" rel="external nofollow" class="easyui-linkbutton" style="width:45%;height:32px">注冊(cè)</a>
</div>
</div>
</div>
</div>
<div id="bootom">
<div id="bootom_content">
<p><strong>關(guān)于我們 法律聲明 服務(wù)條款 聯(lián)系我們</strong></p>
<p>
地址:江西省南昌市經(jīng)濟(jì)開發(fā)區(qū)天祥大道 郵箱:330000
Copyright © 2017 - 2018 hacker_pangdaxing@qq.com 版權(quán)所有
</p>
<p>
建議使用IE8以上版本瀏覽器 E-mail:hacker_pandaxing@qq.com
</p>
</div>
</div>
</body>
<script>
function submitForm(){
$('#ff').form('submit',{
onSubmit:function(){
return $(this).form('enableValidation').form('validate');
}
});
}
function clearForm(){
$('#ff').form('clear');
}
</script>
</html>
以上所述是小編給大家介紹的基于jQuery Easyui實(shí)現(xiàn)登陸框界面,希望對(duì)大家有所幫助,如果大家有任何疑問請(qǐng)給我留言,小編會(huì)及時(shí)回復(fù)大家的。在此也非常感謝大家對(duì)腳本之家網(wǎng)站的支持!
相關(guān)文章
使用jQuery實(shí)現(xiàn)的擲色子游戲動(dòng)畫效果
大家一定都玩過擲色子的游戲,今天我給大家分享的是如何使用jQuery來實(shí)現(xiàn)擲色子的動(dòng)畫效果,通過jQuery的animate()自定義動(dòng)畫函數(shù)并結(jié)合CSS背景圖片切換實(shí)現(xiàn)的動(dòng)畫效果2014-03-03
jQuery里filter()函數(shù)與find()函數(shù)用法分析
這篇文章主要介紹了jQuery里filter()函數(shù)與find()函數(shù)用法,實(shí)例對(duì)比分析了filter()函數(shù)與find()函數(shù)的功能與相關(guān)使用技巧,需要的朋友可以參考下2015-06-06
EasyUI Combobox設(shè)置默認(rèn)值 獲取text的方法
這篇文章主要介紹了EasyUI Combobox設(shè)置默認(rèn)值 獲取text的方法,非常不錯(cuò),具有參考借鑒價(jià)值,需要的朋友可以參考下2016-11-11
PageSwitch插件實(shí)現(xiàn)100種不同圖片切換效果
這篇文章主要介紹了PageSwitch插件實(shí)現(xiàn)100種不同圖片切換效果,需要的朋友可以參考下2015-07-07
jQuery實(shí)現(xiàn)的一個(gè)tab切換效果內(nèi)部還嵌有切換
這篇文章主要介紹了jQuery實(shí)現(xiàn)的一個(gè)tab切換效果,它的特色是內(nèi)部還嵌有切換,需要的朋友可以參考下2014-08-08
在jquery中綁定事件我們可以使用click、change、mouseout、.bind(),live等待事件來操作,下面我來給大家介紹jQuery使用向DOM元素綁定事件實(shí)現(xiàn)程序相關(guān)實(shí)例,有需要了解的同不可進(jìn)入?yún)⒖肌?/div> 2015-04-04最新評(píng)論

