regist.html 1.9 KB
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <title>WEB DEMO</title>
    <link rel="stylesheet" href="dist/css/theme.css">
  </head>
  <body>
    <div class="g-window">
      <div class="g-inherit m-album">
        <div id="form-data" class="g-center m-login" style="display: none">
          <div class="cells">
            <img class="logo" :src="logo">
          </div>
          <div class="cells">
            <div class="cell">
              <span class="icon icon-account"></span>
              <input type="text" class="ipt ipt-account" maxlength="20" v-model="account" placeholder="账号:限20位字母或者数字"/>
            </div>
            <div class="cell">
              <span class="icon icon-account"></span>
              <input type="text" class="ipt ipt-account" maxlength="10" v-model="nickname" placeholder="昵称:限10位汉字、字母或者数字"/>
            </div>
            <div class="cell">
              <span class="icon icon-pwd"></span>
              <input type="password" class="ipt ipt-account" maxlength="20" v-model="password" placeholder="密码:6-20位字母或数字"/>
            </div>
          </div>
          <div class="cells">
            <div v-show="errorMsg" class="error">{{errorMsg}}</div>
          </div>
          <div class="cells">
            <button type="button" class="btn btn-login" @click="regist">注册</button>
            <button type="button" class="btn btn-regist" @click="login">登录</button>
          </div>
        </div>
      </div>
    </div>
    <!-- 如果需要真机调试,可以修改此行 -->
    <!-- // <script src="http://192.168.0.146:2002/target/target-script-min.js#anonymous"></script> -->
    <script src="dist/js/regist.js"></script>
  </body>
</html>