amazeui页面分析之登录页面的示例代码
程序员文章站
2022-03-12 22:04:30
amazeui页面分析之登录页面的示例代码这篇文章主要介绍了amazeui页面分析之登录页面的示例代码,本文通过实例代码给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下... 20-08-25...
一、总结
1、tpl命名空间:tpl命名空间的样式都是从app.css里面来的,app.css用用来移动网站开发的样式
2、表单样式:am-form到am-form-group的形式
二、登录页面
截图:
代码:
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>amaze ui admin index examples</title> <meta name="description" content="这是一个 index 页面"> <meta name="keywords" content="index"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="renderer" content="webkit"> <meta http-equiv="cache-control" content="no-siteapp" /> <link rel="icon" type="image/png" href="assets/i/favicon.png"> <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png"> <meta name="apple-mobile-web-app-title" content="amaze ui" /> <link rel="stylesheet" href="assets/css/amazeui.min.css" /> <link rel="stylesheet" href="assets/css/amazeui.datatables.min.css" /> <link rel="stylesheet" href="assets/css/app.css"> <script src="assets/js/jquery.min.js"></script> </head> <body data-type="login"> <script src="assets/js/theme.js"></script> <div class="am-g tpl-g"> <!-- 风格切换 --> <div class="tpl-skiner"> <div class="tpl-skiner-toggle am-icon-cog"> </div> <div class="tpl-skiner-content"> <div class="tpl-skiner-content-title"> 选择主题 </div> <div class="tpl-skiner-content-bar"> <span class="skiner-color skiner-white" data-color="theme-white"></span> <span class="skiner-color skiner-black" data-color="theme-black"></span> </div> </div> </div> <div class="tpl-login"> <div class="tpl-login-content"> <div class="tpl-login-logo"> </div> <form class="am-form tpl-form-line-form"> <div class="am-form-group"> <input type="text" class="tpl-form-input" id="user-name" placeholder="请输入账号"> </div> <div class="am-form-group"> <input type="password" class="tpl-form-input" id="user-name" placeholder="请输入密码"> </div> <div class="am-form-group tpl-login-remember-me"> <input id="remember-me" type="checkbox"> <label for="remember-me"> 记住密码 </label> </div> <div class="am-form-group"> <button type="button" class="am-btn am-btn-primary am-btn-block tpl-btn-bg-color-success tpl-login-btn">提交</button> </div> </form> </div> </div> </div> <script src="assets/js/amazeui.min.js"></script> <script src="assets/js/app.js"></script> </body> </html>
总结
到此这篇关于amazeui页面分析之登录页面的示例代码的文章就介绍到这了,更多相关amazeui登录页面内容请搜索以前的文章或继续浏览下面的相关文章,希望大家以后多多支持!