<template>
  <d-layout>
    <d-header class="dheader-1">
      <menu-h />
    </d-header>
    <d-content class="dcontent-1">
      <router-view />
    </d-content>
    <d-footer v-show="route.path == '/home'" class="dfooter-1">
      <div class="beian" ref="footer">
        <a class="text-primary" href="https://beian.miit.gov.cn" target="_blank">皖ICP备2021017362号-1</a>
        <a class="swag text-primary" target="_blank" href="https://www.hxyouzi.com/swag">api文档</a>
      </div>
    </d-footer>
  </d-layout>
</template>

<script setup lang="ts">
const route = useRoute()
</script>

<style scoped>
.dcontent-1 {
  background-color: #fbfbfb;
}

.beian {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  background-color: #21072a;
}

.beian a {
  font-size: 14px;
  text-decoration: none;

}

.beian .swag {
  margin-left: 20px;
}
</style>