<template>
  <div class="login">
    <div class="container">
      <div class="title-container">
        <h3 class="title" ref="title">{{ $DEFAULT_TITLE }}</h3>
      </div>
      <v-tabs>
        <v-tab>
          账户密码登录
        </v-tab>
      </v-tabs>
      <div class="container-box">
        <login/>
        <!-- <forget v-if="temp === 1" />
        <register v-if="temp === 2" /> -->
      </div>
      <!-- <div class="d-flex justify-space-between" style="font-size:14px;">
        <span class="toDetail" v-if="temp === 0" @click="temp = 1">忘记密码</span>
        <span class="toDetail" v-if="temp === 1" @click="temp = 0">账号登录</span>
        <span class="toDetail" v-if="temp === 2" @click="temp = 0">已有账号，去登录</span>
        <div class="d-flex" v-if="temp === 0">
          <span>没有账号密码？</span>
          <span class="toDetail" @click="temp = 2">申请注册</span>
        </div>
        <div class="d-flex" v-else>
          <span class="toDetail" @click="temp = 0">回到介绍页</span>
        </div>
      </div> -->
    </div>
  </div>
</template>

<script>
import Login from './components/login'
export default {
  name: 'LoginPage',
  components: { Login }
}
</script>

<style lang="scss" scoped>
.login {
  width: 100%;
  height: 100%;
  background-image: url("../../assets/login/login_bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  .container {
    width: 500px;
    background: #FFF;
    padding: 30px 35px 0;
    .title-container {
      position: relative;
      text-align: center;

      .title {
        font-size: 1.5rem;
        color: #1867c0;
        margin: 0px;
        text-align: center;
        font-weight: bold;
        padding-bottom:1rem;
      }
    }
    &-box {
      padding: 10px;
      padding-bottom: 50px;
    }
    .toDetail{
      color:#1f68be;
      cursor: pointer;
      margin-bottom: 30px;
    }
    .toDetail:hover{
      text-decoration: underline;
    }
    .default {
      position: relative;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 5px;
      color: #454545;
      .imgCode{
        position: absolute;
        right: 5px;
        height: 40px;
        width: 110px;
        bottom: 38px;
      }
    }
  }
}
</style>
