<template>
  <div class="home" style="height: 100%;background: transparent">
    <navigation-name :msg="msg" show-time/>
    <!--<div>aaaaaaaaaaaaaa</div>
    <div>bbbbbbbbbbbbbb</div>
    <div>cccccccccccccc</div>
    <div>dddddddddddddd</div>
    <div>eeeeeeeeeeeeee</div>
    <div>ffffffffffffff</div>
    <div>身份证的话</div>
    <el-button @click="createWindow">创建新窗口</el-button>-->
  </div>
</template>

<script>

  import NavigationName from '@/components/NavigationName'
  export default {
    name: 'Home',
    components: { NavigationName },
    data() {
      const electronRemote = window.remote
      return {
        electronRemote,
        msg: '首页',
      }
    },
    mounted () {
      console.log('electronRemote =>', this.electronRemote)
    },
    methods: {
      createWindow() {
      },
    },
  }
</script>

<style lang="less" scoped>
  .home {
    padding: 0 40px;
    font-size: 16px;
    display: flex;
    flex-direction: column;
  }
</style>
