吴庆冷饮批发管理系统1.0正在研发中... 开发人员:小白吴庆君
我这边设计的所有页面都是利用easyui来布局,其中涉及到的一个简单的知识点就是:easyui中的layout布局可以嵌套布局,也是一种线型布局的感觉。以上纯本人个人见解,有不足之处,还请网友帮忙指出。首先就是第一个登录页面设计。
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>冷饮批发/用户登录</title>
- <link rel="stylesheet" type="text/css" href="../js/easyui/themes/default/easyui.css">
- <link rel="stylesheet" type="text/css" href="../js/easyui/themes/icon.css">
- <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css" />
- <script type="text/javascript" src="../js/easyui/jquery.min.js"></script>
- <script type="text/javascript" src="../js/easyui/jquery.easyui.min.js"></script>
- <script type="text/javascript" src="../js/bootstrap.min.js"></script>
- </head>
- <body >
- <div id="cc" class="easyui-layout" style="width:1000px;height:750px;overflow:hidden;margin: 0 auto;" >
- <div data-options="region:'north'" style="height:50px;" ></div>
- <div data-options="region:'center'" style="padding:0px;background:#eee;" >
- <div class="easyui-layout" fit="true" border="false">
- <!--
- 描述:左边 图和文字
- -->
- <div data-options="region:'west'" style="width:550px;text-align:center;" border="false">
- <div class="easyui-layout" fit="true" border="false">
- <div region="north" style="height:50px;" border="false"> </div>
- <div region="west" border="false" style="width:300px;height:90px;background:url(../img/love01.png);background-repeat: no-repeat;">
- </div>
- <div region="center" style="font-family:'微软雅黑';" border="false">
- <p style="position: relative;margin-top:120px;padding-left:20px;">
- <span style="font-size:30px;font-weight:800;">冷饮批发<br />管理系统</span><br/>
- <span>Cold drinks wholesale management system</span>
- </p>
- </div>
- </div>
- </div> <!--左边 end-->
- <div region="center" border="false">
- <div class="easyui-layout" fit="true" border="false" >
- <div data-options="region:'north'" style="height:50px;" border="false">
- </div>
- <div region="west" style="width:50px;position: relative;" border="false">
- <img src="../img/split.png" style="position:absolute;left:0px;top:80px;"/>
- </div>
- <div region="center" border="false">
- <div class="easyui-panel" title="开始批发" iconCls="icon-user"
- style="text-align: center;width:300px;height:380px;padding-top:50px;">
- <form id="ff" method="post">
- <div>
- <input class="easyui-textbox"
- data-options="iconCls:'icon-man',prompt:'请输入用户名'"
- style="width:240px;height:30px;">
- </div>
- <div style="margin-top: 20px;">
- <input class="easyui-textbox" type="password"
- data-options="iconCls:'icon-lock',prompt:'请输入密码'"
- style="width:240px;height:30px;">
- </div>
- <div style="margin-top: 30px;">
- <p>
- <a href="#" style="width:160px;height:30px;" class="easyui-linkbutton" iconCls="icon-accept">登录</a>
- <a style="margin-left:10px;width:80px;height:30px;" href="#" >忘记密码?</a>
- </p>
- </div>
- <div style="margin-top: 40px;">
- <p>
- <span style="font-size:20px;font-weight:800;">新用户</span><br />
- <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" οnclick="newUser()">请输入您的送货地址</a>
- </p>
- </div>
- </form>
- </div>
- </div>
- <div region="east" style="width:20px;" border="false">
- </div>
- <div region="south" style="height:10px;" border="false">
- </div>
- </div>
- </div>
- </div>
- </div>
- <div data-options="region:'south',split:false" style="height:30px;text-align: center;" border="false">
- 版权所有@冷饮批发管理系统 Copyright 2016-2017
- </div>
- </div>
- </body>
- </html>