添加登录组件,优化导航逻辑,更新路由类型声明,调整样式和结构

This commit is contained in:
2025-12-23 15:35:07 +08:00
parent 192357af79
commit fc420ad4eb
7 changed files with 97 additions and 115 deletions

View File

@ -1,8 +1,8 @@
<template>
<d-layout>
<!-- <d-header class="dheader-1"> -->
<d-header class="dheader-1">
<menu-h />
<!-- </d-header> -->
</d-header>
<d-content class="dcontent-1">
<router-view />
</d-content>
@ -10,23 +10,13 @@
<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 class="flex text-[#409eff] text-[12px] ml-[20px]">
<div>今日访问{{ ips?.todayIp }}</div>
<div class="ml-2">总访问{{ ips?.allIp }}</div>
</div> -->
</div>
</d-footer>
</d-layout>
</template>
<script setup lang="ts">
// 空白项目入口
// definePage({
// path:"/",
// })
const route = useRoute()
</script>
<style scoped>