基于jQuery Easyui实现登陆框界面
网络编程 2021-07-04 18:32www.168986.cn编程入门
本文通过实例代码给大家分享了基于jQuery Easyui实现登陆框界面,代码简单易懂,非常不错,具有参考借鉴价值,需要的的朋友参考下吧
效果图
CSS
a{ text-decoration:none; } body{ margin:0px; } #header{ width:100%; height:30px; background-color:#E0EFFF; padding-: 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-: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://.w3./TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://.w3./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>系统首页</title> </head> <script type="text/javascript"> console.info("==================") $('#p').panel('move',{ left:100, :100 }); </script> <body> <div id="header" > <div class="logo" onclick="window.location.href='index.html'"> <strong信息系统</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,: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:'账号',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:'验证码',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">注册</a> </div> </div> </div> </div> <div id="bootom"> <div id="bootom_content"> <p><strong>关于我们 法律声明 服务条款 联系我们</strong></p> <p> 地址江西省南昌市经济开发区天祥大道 邮箱330000 Copyright © 2017 - 2018 hacker_pangdaxing@qq. 版权所有 </p> <p> 建议使用IE8以上版本浏览器 E-mailhacker_pandaxing@qq. </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实现登陆框界面,希望对大家有所帮助,如果大家有任何疑问请给我留言,长沙网络推广会及时回复大家的。在此也非常感谢大家对狼蚁SEO网站的支持!
编程语言
- 宿迁百度关键词排名指南:实现精准营销的关键
- 四川SEO优化怎么做网络推广
- 立昂技术备案老域名收购:如何为您的业务赋能
- 安徽百度关键词seo贵不贵,一般需要多少钱
- 吉林百度快照排名怎么做电话营销
- 多伦新手做SEO怎么做
- 甘肃优化关键词排名推广怎么做论坛营销
- 沙雅SEO网站推广:提升您的在线可见性
- 四川SEO优化如何提升销售额和销售量
- 聂荣网站排名优化:提升网站可见性的全方位指
- 涞水SEO:提升地方企业在线可见性的策略
- 辽宁百度seo排名怎样做网站排名
- 临湘哪有关键词排名优化:提升网站可见度的关
- 黑龙江百度网站优化有没有优惠
- 凉城优化关键词排名推广:提升您的网络可见性
- 萝北整站优化:提升您网站流量和排名的全面指