<div id="bychpage" class="login">
  <div style="width:100%;margin: 0 auto;">
    <div style="z-index: -99;position: fixed;
    background-color: rgb(49, 55, 59);
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;">
      <img style="width:100%;height:100%" :src="loginUrl" />
      <div class="login-text">
      </div>
      <div class="login-div" v-if="a">
        <div class="login-content" style="width: 380px;
        height: 430px;
        background: rgba(255,255,255,1);
        border: 1px solid rgba(151,151,151,1);">
          <div class="logins-title">
            欢迎注册
          </div>
          <!-- 验证码登录 -->
          <div v-if="activeIndex==1" class="login-content-inputs">
            <el-form ref="form1" :rules="rules1" :model="form1" label-width="0px" key="1">

              <el-form-item prop="mobile">
                <el-input v-model="form1.mobile" placeholder="请输入11位手机号码"><i slot="prefix"
                    class="el-input__icon el-icon-mobile-phone"></i></el-input>
              </el-form-item>
              <el-form-item prop="password">
                <el-input type="password" v-model="form1.password" placeholder="请输入登录密码"><i slot="prefix"
                    class="el-input__icon el-icon-view"></i></el-input>
              </el-form-item>
              <el-form-item prop="code">
                <el-input style="width:175px;" v-model="form1.code" placeholder="请输入验证码"><i slot="prefix"
                    class="el-input__icon el-icon-edit"></i></el-input>
                <el-button id="registerVcode" type="primary" plain style="width:135px;background: rgba(18,142,233,1);
                color: rgba(255,255,255,1);" :disabled="vCodeClick" @click="obtaincode1">
                  获取验证码</el-button>
              </el-form-item>
              <div class="zhanghao">已有账号？
                <span style="color:#108EE9;cursor:pointer" @click="login">立即登录</span>
              </div>
              <el-form-item style="margin-bottom:8px;">
                <el-button type="primary" class="login-content-button" @click="checklogin1" style="margin-top: 45px;">注
                  册</el-button>
              </el-form-item>
              <div style="font-size: 12px;
              color: rgb(130, 130, 130);
              margin-left: 100px;">登录即同意
                <span style="color:#108EE9">《服务协议》</span>
              </div>
            </el-form>
          </div>

        </div>
      </div>

    </div>
  </div>
</div>

<!-- <gsb-pcpage style="text-align:center;margin-top:80px">
      <div>
           <gsb-form style="width:30%;margin: auto;" ref="loginFrm"   :metaData="ldms" :refvalidatemethod="validmethod">
               <h2 slot="title" style="margin:0px;padding-top: 20px">欢迎登录{{ this.$root.currentCompany?this.$root.currentCompany.sitename:"知圈圈"}}</h2>
                <el-button slot="buttonarea" style="width:80%" type="primary"  @click="sbhandler">登录</el-button>
            </gsb-form>
     </div>
 </gsb-pcpage> -->