<template>
<div class="bg">
  <div class="login-container">
    <div class="pic">
      <img src="@/assets/images/log3.png">
    </div>
    <el-form :model="loginForm" label-width="80px" class="tab">
      <el-form-item>
        <el-input prefix-icon="el-icon-user" placeholder="请输入内容" v-model="loginForm.username" clearable></el-input>
      </el-form-item>
      <el-form-item>
        <el-input prefix-icon="el-icon-lock" placeholder="请输入密码" v-model="loginForm.password" show-password></el-input>
      </el-form-item>
      <el-form-item class="btn">
        <el-button size="medium" icon="el-icon-s-promotion" type="primary" @click="login">登录</el-button>
      </el-form-item>
    </el-form>
  </div>
  </div>
</template>

<script>
import login from "@assets/js/login";
export default login;
</script>

<style lang="scss" scoped>
@import '@assets/css/login.scss';
</style>