<template>
  <div class="home">
    <div class="txt">
      <h1>欢迎访问安全生产风险监测预警系统！</h1>
      <p>
        <em>Wellcom to The Hazardous Chemicals Supervision System.</em>
      </p>
    </div>
  </div>
</template>
<style lang="scss" scoped>
@import "@/utils/public.scss";
.home {
  width: 100%;
  height: 100%;
  background: url("../assets/diqiu.png") no-repeat center,
    linear-gradient(-45deg, #86dcf1, #456a9f);
  .txt {
    position: relative;
    top: 30vh;
    text-align: center;
    color: honeydew;
  }
  h1 {
    font-size: 2.4rem;
    padding: 10px;
    margin: 0;
    font-family: "黑体", Arial, Helvetica, sans-serif;
  }
  p {
    font-size: 20px;
    margin: 10px 0;
  }
}
</style>

<script lang="ts">
import { Component, Vue, Provide } from "vue-property-decorator";
import { State, Getter, Mutation, Action } from "vuex-class";
export default class Home extends Vue {
  @Getter("moudleArr") getModuleArr: any;
  created() {
   console.log(this.getModuleArr); 
   console.log('asd')
  }
}
</script>
