<template>
  <div class="vue-element-page-wrap" ref="tableContainer">
    <div class="home-container">
    <div class="home-tabs">
      <h1>欢迎来到首页！...敬请期待</h1>
    </div>
  </div>
  </div>
  
</template>

<script setup lang="ts">
import { onMounted, reactive, ref, toRefs, watch, nextTick, getCurrentInstance } from "vue";
import type { TabsPaneContext } from 'element-plus'
// 组件依赖,全局或局部


const state = reactive({
  activeName: "material",
  materialList: [
    {
      name: '用户管理',
      url: '/system/user'
    },
    {
      name: '角色管理',
      url: '/system/role'
    },
    {
      name: '角色管理',
      url: '/system/role'
    },
    {
      name: '角色管理',
      url: '/system/role'
    },
  ],
  productList: [
  {
      name: '用户管理',
      url: '/system/user'
    },
    {
      name: '角色管理',
      url: '/system/role'
    },
    {
      name: '角色管理',
      url: '/system/role'
    },
    {
      name: '角色管理',
      url: '/system/role'
    },
  ]
});

const { activeName } = toRefs(state);


onMounted(() => {
  window.onresize = () => {};
  //getRSA();
});
const handleClick = (tab: TabsPaneContext, event: Event) => {
  console.log(tab, event)
}

function getRSA() {
}

function getDailyUseOperation() {

}


</script>

<style lang="scss" scoped>
.login-container {
  width: 100%;
  height: 100%;
  background-image: url("../../assets/images/login_bg.png");
  background-size: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  .login-wrap {
    position: absolute;
    top: 27.5%;
    right: 12.5%;
    background: white;
    box-shadow: 0 2px 30px 0 rgba(22, 42, 76, 0.1);
    border-radius: 8px;
    height: 360px;
    width: 400px;
    padding: 40px 40px 40px 40px;
    box-sizing: border-box;
    .login-title {
      text-align: center;
      margin-bottom: 38px;
      img {
        width: 120px;
        margin: 0 auto;
      }
    }
    .login-btn {
      .el-button {
        width: 320px;
        height: 40px;
        margin-top: 5px;
        font-size: 16px;
      }
    }
    .el-form-item {
      margin-bottom: 40px;
    }
  }
  .login-change-lang {
    position: absolute;
    right: 20px;
    top: 20px;
  }
}
</style>
