太平洋登录界面

本文详细介绍了太平洋网站的登录界面设计思路和实现过程,包括用户体验考虑、前端技术选型以及后端验证逻辑,同时探讨了安全性与可用性的平衡策略。
摘要由CSDN通过智能技术生成



<!DOCTYPE >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link id="primary-styles" href="zh/style/login.css" rel="stylesheet">
    <title>太平洋电子商务管理系统</title>
    <script type="text/javascript" src="zh/style/jquery-1.11.3.min.js"></script>
</head>
<body id="login" class="l-basic" >

    <header id="header-v1">
        <section class="desktop-nav-section">
            <div class="l-main-nav-wrapper">
                <nav class="l-main-nav">
                    <span class="l-branding">
                        <img id="img1" src="zh/image/pacific_logo.jpg" style="width: 65px; vertical-align:middle"" alt="" />
                        <span style="font-weight: bold; font-size: 20pt; vertical-align: bottom">太平洋电子商务管理系统</span>
                    </span>
                    <ul class="l-basic-nav">
                        <li><a href="#">常见问题</a></li>
                        <li><a href="#">关于我们</a></li>
                    </ul>

                </nav>
            </div>
            <div class="product-nav-wrapper">
                <nav class="product-nav">
                </nav>
            </div>
        </section>

    </header>

    <style>
        .divider-top {
    
            margin-top: 5%;
        }

        .email-icon {
    
            font-size: 128px;
            color: #808080;
        }

        .border-left-grey {
    
            border-left: 1px solid #DDDDDD;
        }

        .text-right {
    
            text-align: right;
        }

        .padding-right-24 {
    
            padding-right: 24px;
        }

        .padding-left-24 {
    
            padding-left: 24px;
        }
    </style>
    <div class="container divider-top">

        <div class="row">

            <div class="col-xs-offset-4 padding-left-24 col-xs-8">
                <h2>登录</h2>
            </div>
        </div>

        <div class="row" >

            <div class="hidden-xs hide-ie8 col-sm-4 padding-right-24 text-right">
                <i>
                    <img id="img3" src="zh/image/eblog2.jpg" alt="" style="width:300px" />
                </i>
            </div>

            <div class="col-xs-12 col-sm-8 border-left-grey padding-left-24">

                <p>输入你的账号和密码</p>

                <form method="post" action="" id="loginPage" class="login-form">
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE5MTAwNjc1ODkPZBYCZg9kFgICBw8PFgIeBFRleHRlZGRkaNeyumPcUNnRKRiI+RRb1fdmzYHXGnrPSnqVizU9Eb0=" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['loginPage'];
if (!theForm) {
    
    theForm = document.loginPage;
}
function __doPostBack(eventTarget, eventArgument) {
    
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
    
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>



                    <fieldset>
                        <p>
                            <label class="user" >账号:</label>
                            <input name="UserNameStr" type="text" id="UserNameStr" class="form-control" tabindex="1" autocomplete="on" />
                        </p>

                        <p>
                            <label class="pass" for="password">密码:</label>
                            <input name="PassWordStr" type="password" id="PassWordStr" class="form-control" tabindex="2" autocomplete="on" />
                        </p>
                    </fieldset>

                    <input class="input-pass" type="hidden" value="mail.login.com.au" name="requestedServer" />


                    <fieldset>
                        <p>
                            <input name="LoginCmd" type="submit" id="LoginCmd" class="btn btn-primary loginbtn" value="登录" tabindex="3" onclick="return checkerr()" />
                        </p>

                        <p class="margin-top-24">
                            <strong>
                                <a href="#" target="_blank" class="nowrap">忘记密码?</a>
                            </strong>
                        </p>
                        
                        <p class="margin-top-24">
                            <span id="lbMessage" style="color:Red;font-size:10pt;"></span>
                            </p>
                    </fieldset>
                </form>

            </div>


        </div>
    </div>
    <footer>
        <div class="footer-wrapper">
            
        </div>
    </footer>
  <script type="text/javascript">
      function checkerr()
      {
    
          var err = 0;
          if (err >= 5) {
    
              var getlable = document.getElementById("lbMessage");
              getlable.innerText = "登录失败次数过多,10分钟后再尝试";
              return false;
          }
          else {
    
              return true;
          }

      }
  </script>
</body>
</html>
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

html {
   
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
   
    margin: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
   
    display: block
}

audio, canvas, progress, video {
   
    display: inline-block;
    vertical-align: baseline
}

    audio:not([controls]) {
   
        display: none;
        height: 0
    }

[hidden], template {
   
    display: none
}

a {
   
    background-color: transparent
}

    a:active, a:hover {
   
        outline: 0
    }

abbr[title] {
   
    border-bottom: 1px dotted
}

b, strong {
   
    font-weight: bold
}

dfn {
   
    font-style: italic
}

h1 {
   
    font-size: 2em;
    margin: 0.67em 0
}

mark {
   
    background: #ff0;
    color: #000
}

small {
   
    font-size: 80%
}

sub, sup {
   
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
   
    top: -0.5em
}

sub {
   
    bottom: -0.25em
}

img {
   
    border: 0
}

svg:not(:root) {
   
    overflow: hidden
}

figure {
   
    margin: 1em 40px
}

hr {
   
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
   
    overflow: auto
}

code, kbd, pre, samp {
   
    font-family: monospace, monospace;
    font-size: 1em
}

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

button {
   
    overflow: visible
}

button, select {
   
    text-transform: none
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
   
    -webkit-appearance: button;
    cursor: pointer
}

    button[disabled], html input[disabled] {
   
        cursor: default
    }

    button::-moz-focus-inner, input::-moz-focus-inner {
   
        border: 0;
        padding: 0
    }

input {
   
    line-height: normal
}

    input[type="checkbox"], input[type="radio"] {
   
        box-sizing: border-box;
        padding: 0
    }

    input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
   
        height: auto
    }

    input[type="search"] {
   
        -webkit-appearance: textfield;
        -moz-box-sizing: content-box;
        -webkit-box-sizing: content-box;
        box-sizing: content-box
    }

        input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
   
            -webkit-appearance: none
        }

fieldset {
   
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em
}

legend {
   
    border: 0;
    padding: 0
}

textarea {
   
    overflow: auto
}

optgroup {
   
    font-weight: bold
}

table {
   
    border-collapse: collapse;
    border-spacing: 0
}

td, th {
   
    padding: 0
}

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

    *:before, *:after {
   
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
    }

html {
   
    font-size: 10px;
    -webkit-tap-highlight-color: transparent
}

body {
   
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff
}

input, button, select, textarea {
   
    font-family: inherit;
    font-size: inherit;
    line-height: inherit
}

a {
   
    color: #337ab7;
    text-decoration: none
}

    a:hover, a:focus {
   
        color: #23527c;
        text-decoration: underline
    }

    a:focus {
   
        outline: thin dotted;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px
    }

figure {
   
    margin: 0
}

img {
   
    vertical-align: middle
}

.img-responsive {
   
    display: block;
    max-width: 100%;
    height: auto
}

.img-rounded {
   
    border-radius: 6px
}

.img-thumbnail {
   
    padding: 4px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    max-width: 100%;
    height: auto
}

.img-circle {
   
    border-radius: 50%
}

hr {
   
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee
}

.sr-only {
   
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

.sr-only-focusable:active, .sr-only-focusable:focus {
   
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto
}

[role="button"] {
   
    cursor: pointer
}

code, kbd, pre, samp {
   
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace
}

code {
   
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px
}

kbd {
   
    padding: 2px 4px;
    font-size: 90%;
    color: #fff;
    background-color: #333;
    border-radius: 3px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.25)
}

    kbd kbd {
   
        padding: 0;
        font-size: 100%;
        font-weight: bold;
        box-shadow: none
    }

pre {
   
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    word-break: break-all;
    word-wrap: break-word;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px
}

    pre code {
   
        padding: 0;
        font-size: inherit;
        color: inherit;
        white-space: pre-wrap;
        background-color: transparent;
        border-radius: 0
    }

.pre-scrollable {
   
    max-height: 340px;
    overflow-y: scroll
}

.container {
   
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px
}

    .container:before, .container:after {
   
        content: " ";
        display: table
    }

    .container:after {
   
        clear: both
    }

@media (min-width: 768px) {
   
    .container {
   
        width: 750px
    }
}

@media (min-width: 992px) {
   
    .container {
   
        width: 970px
    }
}

@media (min-width: 1200px) {
   
    .container {
   
        width: 1170px
    }
}

.container-fluid {
   
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px
}

    .container-fluid:before, .container-fluid:after {
   
        content: " ";
        display: table
    }

    .container-fluid:after {
   
        clear: both
    }

.row {
   
    margin-left: -15px;
    margin-right: -15px
}

    .row:before, .row:after {
   
        content: " ";
        display: table
    }

    .row:after {
   
        clear: both
    }

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
   
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
   
    float: left
}

.col-xs-1 {
   
    width: 8.33333333%
}

.col-xs-2 {
   
    width: 16.66666667%
}

.col-xs-3 {
   
    width: 25%
}

.col-xs-4 {
   
    width: 33.33333333%
}

.col-xs-5 {
   
    width: 41.66666667%
}

.col-xs-6 {
   
    width: 50%
}

.col-xs-7 {
   
    width: 58.33333333%
}

.col-xs-8 {
   
    width: 66.66666667%
}

.col-xs-9 {
   
    width: 75%
}

.col-xs-10 {
   
    width: 83.33333333%
}

.col-xs-11 {
   
    width: 91.66666667%
}

.col-xs-12 {
   
    width: 100%
}

.col-xs-pull-0 {
   
    right: auto
}

.col-xs-pull-1 {
   
    right: 8.33333333%
}

.col-xs-pull-2 {
   
    right: 16.66666667%
}

.col-xs-pull-3 {
   
    right: 25%
}

.col-xs-pull-4 {
   
    right: 33.33333333%
}

.col-xs-pull-5 {
   
    right: 41.66666667%
}

.col-xs-pull-6 {
   
    right: 50%
}

.col-xs-pull-7 {
   
    right: 58.33333333%
}

.col-xs-pull-8 {
   
    right: 66.66666667%
}

.col-xs-pull-9 {
   
    right: 75%
}

.col-xs-pull-10 {
   
    right: 83.33333333%
}

.col-xs-pull-11 {
   
    right: 91.66666667%
}

.col-xs-pull-12 {
   
    right: 100%
}

.col-xs-push-0 {
   
    left: auto
}

.col-xs-push-1 {
   
    left: 8.33333333%
}

.col-xs-push-2 {
   
    left: 16.66666667%
}

.col-xs-push-3 {
   
    left: 25%
}

.col-xs-push-4 {
   
    left: 33.33333333%
}

.col-xs-push-5 {
   
    left: 41.66666667%
}

.col-xs-push-6 {
   
    left: 50%
}

.col-xs-push-7 {
   
    left: 58.33333333%
}

.col-xs-push-8 {
   
    left: 66.66666667%
}

.col-xs-push-9 {
   
    left: 75%
}

.col-xs-push-10 {
   
    left: 83.33333333%
}

.col-xs-push-11 {
   
    left: 91.66666667%
}

.col-xs-push-12 {
   
    left: 100%
}

.col-xs-offset-0 {
   
    margin-left: 0%
}

.col-xs-offset-1 {
   
    margin-left: 8.33333333%
}

.col-xs-offset-2 {
   
    margin-left: 16.66666667%
}

.col-xs-offset-3 {
   
    margin-left: 25%
}

.col-xs-offset-4 {
   
    margin-left: 33.33333333%
}

.col-xs-offset-5 {
   
    margin-left: 41.66666667%
}

.col-xs-offset-6 {
   
    margin-left: 50%
}

.col-xs-offset-7 {
   
    margin-left: 58.33333333%
}

.col-xs-offset-8 {
   
    margin-left: 66.66666667%
}

.col-xs-offset-9 {
   
    margin-left: 75%
}

.col-xs-offset-10 {
   
    margin-left: 83.33333333%
}

.col-xs-offset-11 {
   
    margin-left: 91.66666667%
}

.col-xs-offset-12 {
   
    margin-left: 100%
}

@media (min-width: 768px) {
   
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
   
        float: left
    }

    .col-sm-1 {
   
        width: 8.33333333%
    }

    .col-sm-2 {
   
        width: 16.66666667%
    }

    .col-sm-3 {
   
        width: 25%
    }

    .col-sm-4 {
   
        width: 33.33333333%
    }

    .col-sm-5 {
   
        width: 41.66666667%
    }

    .col-sm-6 {
   
        width: 50%
    }

    .col-sm-7 {
   
        width: 58.33333333%
    }

    .col-sm-8 {
   
        width: 66.66666667%
    }

    .col-sm-9 {
   
        width: 75%
    }

    .col-sm-10 {
   
        width: 83.33333333%
    }

    .col-sm-11 {
   
        width: 91.66666667%
    }

    .col-sm-12 {
   
        width: 100%
    }

    .col-sm-pull-0 {
   
        right: auto
    }

    .col-sm-pull-1 {
   
        right: 8.33333333%
    }

    .col-sm-pull-2 {
   
        right: 16.66666667%
    }

    .col-sm-pull-3 {
   
        right: 25%
    }

    .col-sm-pull-4 {
   
        right: 33.33333333%
    }

    .col-sm-pull-5 {
   
        right: 41.66666667%
    }

    .col-sm-pull-6 {
   
        right: 50%
    }

    .col-sm-pull-7 {
   
        right: 58.33333333%
    }

    .col-sm-pull-8 {
   
        right: 66.66666667%
    }

    .col-sm-pull-9 {
   
        right: 75%
    }

    .col-sm-pull-10 {
   
        right: 83.33333333%
    }

    .col-sm-pull-11 {
   
        right: 91.66666667%
    }

    .col-sm-pull-12 {
   
        right: 100%
    }

    .col-sm-push-0 {
   
        left: auto
    }

    .col-sm-push-1 {
   
        left: 8.33333333%
    }

    .col-sm-push-2 {
   
        left: 16.66666667%
    }

    .col-sm-push-3 {
   
        left: 25%
    }

    .col-sm-push-4 {
   
        left: 33.33333333%
    }

    .col-sm-push-5 {
   
        left: 41.66666667%
    }

    .col-sm-push-6 {
   
        left: 50%
    }

    .col-sm-push-7 {
   
        left: 58.33333333%
    }

    .col-sm-push-8 {
   
        left: 66.66666667%
    }

    .col-sm-push-9 {
   
        left: 75%
    }

    .col-sm-push-10 {
   
        left: 83.33333333%
    }

    .col-sm-push-11 {
   
        left: 91.66666667%
    }

    .col-sm-push-12 {
   
        left: 100%
    }

    .col-sm-offset-0 {
   
        margin-left: 0%
    }

    .col-sm-offset-1 {
   
        margin-left: 8.33333333%
    }

    .col-sm-offset-2 {
   
        margin-left: 16.66666667%
    }

    .col-sm-offset-3 {
   
        margin-left: 25%
    }

    .col-sm-offset-4 {
   
        margin-left: 33.33333333%
    }

    .col-sm-offset-5 {
   
        margin-left: 41.66666667%
    }

    .col-sm-offset-6 {
   
        margin-left: 50%
    }

    .col-sm-offset-7 {
   
        margin-left: 58.33333333%
    }

    .col-sm-offset-8 {
   
        margin-left: 66.66666667%
    }

    .col-sm-offset-9 {
   
        margin-left: 75%
    }

    .col-sm-offset-10 {
   
        margin-left: 83.33333333%
    }

    .col-sm-offset-11 {
   
        margin-left: 91.66666667%
    }

    .col-sm-offset-12 {
   
        margin-left: 100%
    }
}

@media (min-width: 992px) {
   
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
   
        float: left
    }

    .col-md-1 {
   
        width: 8.33333333%
    }

    .col-md-2 {
   
        width: 16.66666667%
    }

    .col-md-3 {
   
        width: 25%
    }

    .col-md-4 {
   
        width: 33.33333333%
    }

    .col-md-5 {
   
        width: 41.66666667%
    }

    .col-md-6 {
   
        width: 50%
    }

    .col-md-7 {
   
        width: 58.33333333%
    }

    .col-md-8 {
   
        width: 66.66666667%
    }

    .col-md-9 {
   
        width: 75%
    }

    .col-md-10 {
   
        width: 83.33333333%
    }

    .col-md-11 {
   
        width: 91.66666667%
    }

    .col-md-12 {
   
        width: 100%
    }

    .col-md-pull-0 {
   
        right: auto
    }

    .col-md-pull-1 {
   
        right: 8.33333333%
    }

    .col-md-pull-2 {
   
        right: 16.66666667%
    }

    .col-md-pull-3 {
   
        right: 25%
    }

    .col-md-pull-4 {
   
        right: 33.33333333%
    }

    .col-md-pull-5 {
   
        right: 41.66666667%
    }

    .col-md-pull-6 {
   
        right: 50%
    }

    .col-md-pull-7 {
   
        right: 58.33333333%
    }

    .col-md-pull-8 {
   
        right: 66.66666667%
    }

    .col-md-pull-9 {
   
        right: 75%
    }

    .col-md-pull-10 {
   
        right: 83.33333333%
    }

    .col-md-pull-11 {
   
        right: 91.66666667%
    }

    .col-md-pull-12 {
   
        right: 100%
    }

    .col-md-push-0 {
   
        left: auto
    }

    .col-md-push-1 {
   
        left: 8.33333333%
    }

    .col-md-push-2 {
   
        left: 16.66666667%
    }

    .col-md-push-3 {
   
        left: 25%
    }

    .col-md-push-4 {
   
        left: 33.33333333%
    }

    .col-md-push-5 {
   
        left: 41.66666667%
    }

    .col-md-push-6 {
   
        left: 50%
    }

    .col-md-push-7 {
   
        left: 58.33333333%
    }

    .col-md-push-8 {
   
        left: 66.66666667%
    }

    .col-md-push-9 {
   
        left: 75%
    }

    .col-md-push-10 {
   
        left: 83.33333333%
    }

    .col-md-push-11 {
   
        left: 91.66666667%
    }

    .col-md-push-12 {
   
        left: 100%
    }

    .col-md-offset-0 {
   
        margin-left: 0%
    }

    .col-md-offset-1 {
   
        margin-left: 8.33333333%
    }

    .col-md-offset-2 {
   
        margin-left: 16.66666667%
    }

    .col-md-offset-3 {
   
        margin-left: 25%
    }

    .col-md-offset-4 {
   
        margin-left: 33.33333333%
    }

    .col-md-offset-5 {
   
        margin-left: 41.66666667%
    }

    .col-md-offset-6 {
   
        margin-left: 50%
    }

    .col-md-offset-7 {
   
        margin-left: 58.33333333%
    }

    .col-md-offset-8 {
   
        margin-left: 66.66666667%
    }

    .col-md-offset-9 {
   
        margin-left
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值