<template>
  <div class="home_wrapper">
    <div class="login_title">
      <div class="title">登录</div>
      <div class="desc">阳光村务公众号</div>
    </div>
    <div class="login_from">
      <div class="form_item">
        <div class="headings">姓名</div>
        <div class="input_wrap">
          <input type="text" class="ipt" placeholder="请输入姓名" />
        </div>
      </div>
      <div class="form_item">
        <div class="headings">身份证号</div>
        <div class="input_wrap">
          <input type="text" class="ipt" placeholder="请输入身份证号" />
        </div>
      </div>
    </div>
    <div class="login_btn_wrap">
      <div class="login_btn" @click="loginSubmit">登录</div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.home_wrapper {
  background: #fff;
  padding-top: 198px;
  min-width: 100%;
  min-height: 100vh;
}
.login_title {
  text-align: center;
  padding-top: 88px;
  margin-bottom: 96px;
  .title {
    font-size: 72px;
    color: #2ecc71;
    margin-bottom: 38px;
  }
  .desc {
    font-size: 36px;
  }
}
.login_from {
  margin: 0 75px;
  .form_item {
    .headings {
      font-size: 28px;
      color: #2ecc71;
    }
    .input_wrap {
      margin-top: 4px;
      height: 68px;
      position: relative;
      margin-bottom: 50px;
      .ipt {
        font-size: 30px;
        width: 100%;
        height: 60px;
        line-height: 60px;
      }
      &::after {
        content: " ";
        height: 4px;
        border-radius: 4px;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #2ecc71;
      }
    }
  }
}
.login_btn_wrap {
  position: absolute;
  left: 0;
  width: 600px;
  bottom: 180px;
  margin: 0 75px;
  .login_btn {
    height: 100px;
    border-radius: 100px;
    background: #2ecc71;
    color: #fff;
    line-height: 100px;
    font-size: 40px;
    text-align: center;
  }
}
</style>

<script>
export default {
  name: "Login",
  data() {
    return {};
  },
  mounted() {},
  methods: {
    loginSubmit() {
      this.$router.push("/sunVillage/index");
    },
  },
};
</script>
