<template>
  <el-container class="layout">
    <!-- <el-header class="layout__header" height="64px">
      <div class="logo">业务登记系统</div>
    </el-header> -->
    <el-container>
      <el-aside width="200px" v-if="false" class="layout__aside">
        <el-menu router :default-active="$route.path" class="layout__menu">
          <el-menu-item index="/">
            <i class="el-icon-house"></i>
            <span>首页</span>
          </el-menu-item>
          <!-- <el-menu-item index="/about">
            <i class="el-icon-info"></i>
            <span>关于</span>
          </el-menu-item> -->
        </el-menu>
      </el-aside>
      <el-main class="layout__main">
        <router-view />
      </el-main>
    </el-container>
  </el-container>
</template>

<style>
body {
  margin: 0;
  background: #f5f7fa;
}

.layout {
  min-height: 100vh;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.layout__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo {
  font-size: 18px;
  color: #409eff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.layout__aside {
  border-right: 1px solid #ebeef5;
}

.layout__menu {
  border: none;
}

.layout__main {
  padding: 24px;
}

.layout__header-links {
  display: flex;
  align-items: center;
}
</style>
