简洁手机端登录页面

 html代码

        <section class="aui-flexView">
            <section class="aui-scrollView">
                <div style="margin-top: 36%" class="aui-code-box">
                    <form method="post"  action="${pageContext.request.contextPath }/user?method=User_log_ON">
                        <p class="aui-code-line">
                            <input type="text" class="aui-code-line-input" name="username" value="<%=rememberUserName%>" id="username" autocomplete="off" placeholder="请输入用户名">
                        </p>
                        <p class="aui-code-line aui-code-line-clear">
                            <i class="aui-show  operate-eye-open"></i>
                            <input type="password" class="aui-code-line-input password" placeholder="请输入密码" name="password" value="<%=rememberUserPwd%>">
                        </p>
                         <div class="aui-flex-links">
                            <a href="javascript:;">
                                <label class="cell-right">
                                    <input type="checkbox" value="1" name="checkbox" checked="checked">
                                    <i class="cell-checkbox-icon"></i>记住密码
                                </label>
                            </a>
                             <a href="${pageContext.request.contextPath }/user?method=GoTo_ResetPassword">重置密码</a> 
                        </div> 
                        <div class="aui-code-btn">
                            <button>登录</button>
                           
                        </div>
                    </form>
                </div>

            </section>
        </section>

CSS代码

html,body {
    color: #333;
    margin: 0;
    height: 100%;
    font-family: "Myriad Set Pro","Helvetica Neue",Helvetica,Arial,Verdana,sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: normal;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #000;
}

a, label, button, input, select {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img {
    border: 0;
}

body {
    background: #f2f2f2;
    color: #666;
}

html, body, div, dl, dt, dd, ol, ul, li, h1, h2, h3, h4, h5, h6, p, blockquote, pre, button, fieldset, form, input, legend, textarea, th, td {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #08acee;
}

button {
    outline: 0;
}

img {
    border: 0;
}

button,input,optgroup,select,textarea {
    margin: 0;
    font: inherit;
    color: inherit;
    outline: none;
}

li {
    list-style: none;
}

a {
    color: #666;
}

.clearfix::after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.clearfix {
}


.divHeight {
    width: 100%;
    height: 10px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.r-line {
    position: relative;
}

.r-line:after {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    height: 100%;
    border-right: 1px solid #D9D9D9;
    -webkit-transform: scaleX(0.5);
    transform: scaleX(0.5);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

.b-line {
    position: relative;
}

.b-line:after {
    content: '';
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #e2e2e2;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
}

.aui-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 15px;
    position: relative;
}

.aui-flex-box {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: #333;
}


.aui-flexView {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.aui-scrollView {
    width: 100%;
    height: 100%;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.aui-navBar {
    height: 44px;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    z-index: 1002;
    background: #445e99;
}


.aui-navBar-item {
    height: 44px;
    min-width: 25%;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 25%;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    padding: 0 0.9rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    color: #808080;
    position: relative;
}

.aui-navBar-item:first-child {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    margin-right: -25%;
    font-size: 0.9rem;
    font-weight: bold;
}

.aui-navBar-item:last-child {
    -webkit-box-ordinal-group: 4;
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.aui-center {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 44px;
    width: 50%;
    margin-left: 25%;
}

.aui-center-title {
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    font-size: 0.95rem;
    color: #fff;
}

.icon {
    width: 20px;
    height: 20px;
    display: block;
    border: none;
    float: left;
    background-size: 20px;
    background-repeat: no-repeat;
}


.aui-code-box {
    padding: 20px 0;
    text-align: center;
}

.aui-code-box button {
    background: #445e99;
    height: 45px;
    line-height: 45px;
    border: none;
    color: #fff;
    border-radius: 20px;
    width: 100%;
    font-size: 0.98rem;
}

.aui-code-box p {
    color: #cccccc;
    font-size: 0.85rem;
    position: relative;
    width: 92%;
    background: #fff;
    padding: 0 20px;
    border-radius:50px;
    margin:1rem auto 0 ;
}

.aui-code-line {
    position: relative;
}


.aui-code-line-input {
    padding: 10px 0;
    height: 50px;
    width: 100%;
    font-size: 14px;
    background: none;
    border: none;
    color: #333;
}

.aui-btn-default {
    float: right;
    position: absolute;
    right: 0px;
    top: 39px;
    z-index: 10002;
    color: #4c7ee9;
    background: none;
    border: none;
    margin-top: -35px;
    width: 100px;
    height: 40px;
}

.aui-code-line em {
    position: absolute;
    left: 0;
    top: 17px;
    color: #333;
    font-style: normal;
    font-size: 14px;
}

.aui-code-btn {
    padding-top: 80px;
    margin: 0 20px;
}

.aui-code-box form {
    /* padding-top: 50px; */
    position: relative;
}

.aui-code-line-clear span a {
    text-indent: -999px;
}

.aui-cell-che {
    position: absolute;
    width: 30px;
    overflow: hidden;
    left: 15px;
}


.aui-well-check {
    position: absolute;
    width: 134px;
    height: 26px;
    left: 0;
    content: ' ';
    top: 0;
}

.aui-che-item {
    color: #999999;
    font-size: 0.75rem;
    text-align: left;
    padding-top: 30px;
    position: relative;
    padding-left: 38px;
}

.aui-che-item a {
    color: #4c7ee9;
}

.aui-flex-links {
    position: relative;
    line-height: 40px;
    margin-top: 14px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 0 15px;
}

.aui-flex-links > a {
    position: relative;
    text-align: left;
    display: block;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 0 2px;
    font-size: 0.8rem;
    color: #333333;
}

.aui-flex-links > a:nth-child(2) {
    text-align: right;
}

.aui-code-logo {
    padding-top: 2rem;
}

.aui-show {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 20px;
    top: 9px;
    background-repeat: no-repeat;
    background-position: center;
}


.cell-right {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 46%;
    min-height: 1rem;
    color: #333333;
    text-align: right;
    font-size: 0.8rem;
    padding-right: 0.24rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.cell-right input[type="radio"], .cell-right input[type="checkbox"]:not(.m-switch) {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    left: -9999em;
}



.cell-right input[type="radio"] + .cell-radio-icon:after, .cell-right input[type="checkbox"]:not(.m-switch) + .cell-radio-icon:after, .cell-right input[type="radio"] + .cell-checkbox-icon:after, .cell-right input[type="checkbox"]:not(.m-switch) + .cell-checkbox-icon:after {
    font-family: 'YDUI-INLAY';
    font-size: .44rem;
    position: absolute;
    left: 0;
}

.cell-right input[type="radio"] + .cell-checkbox-icon:after, .cell-right input[type="checkbox"]:not(.m-switch) + .cell-checkbox-icon:after {
    content: ' ';
    color: #4CD864;
    display: none;
    position: absolute;
    left: 0;
    width: 16px;
    height: 18px;
    background-size: 16px;
}



.aui-login-line {
    position: relative;
    text-align: center;
    padding-top: 40px;
}

.aui-login-line h2 {
    font-size: 0.85rem;
    color: #bbbbbb;
    background: #f9f9f9;
    width: 90px;
    margin: 0 auto;
    z-index: 1002;
    position: relative;
}

.aui-login-line:after {
    content: '';
    position: absolute;
    z-index: 0;
    bottom: 10px;
    left: 10px;
    width: 95%;
    height: 1px;
    border-bottom: 1px solid #D9D9D9;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
}

.aui-login-armor {
    width: 70%;
    position: relative;
    z-index: 100;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 30px 5px 7px 5px;
    margin: 0 auto;
}

.aui-tabBar-item {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    color: #979797;
}

.aui-tabBar-item img {
    width: 40px;
    height: 40px;
    display: block;
    border: none;
    border-radius: 100%;
}


.aui-code-btn .register{
    background:#fff;
    color:#445e99;
    margin-top:1rem;
}

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
很抱歉,根据提供的引用内容,没有找到关于手机登录页面的HTML代码。但是,我可以为您提供一个简单的示例代码,用于创建一个基本的手机登录页面: ```html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>手机登录页面</title> <style> body { font-family: Arial, sans-serif; background-color: #f2f2f2; } .container { max-width: 400px; margin: 0 auto; padding: 20px; background-color: #fff; border-radius: 5px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } .container h2 { text-align: center; margin-bottom: 20px; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 5px; font-weight: bold; } .form-group input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 3px; } .form-group button { width: 100%; padding: 10px; background-color: #4CAF50; color: #fff; border: none; border-radius: 3px; cursor: pointer; } </style> </head> <body> <div class="container"> <h2>手机登录</h2> <form> <div class="form-group"> <label for="username">用户名:</label> <input type="text" id="username" name="username" placeholder="请输入用户名"> </div> <div class="form-group"> <label for="password">密码:</label> <input type="password" id="password" name="password" placeholder="请输入密码"> </div> <div class="form-group"> <button type="submit">登录</button> </div> </form> </div> </body> </html> ``` 这是一个简单的手机登录页面的HTML代码示例,包含了一个用户名输入框、一个密码输入框和一个登录按钮。您可以根据需要进行修改和定制。希望对您有帮助!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

我若心飞扬,天地任我逍遥

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值