init(app,reademe): 增加说明文件头图,修改app内容

This commit is contained in:
Coffee-crocodile 2022-08-04 10:46:11 +08:00
parent 3f438c4c86
commit 6d16900836
2 changed files with 17 additions and 16 deletions

View File

@ -1,5 +1,6 @@
<div align="center"> <div align="center">
<img src="./public/pixel.svg"/>
<h1>Ench Admin</h1> <h1>Ench Admin</h1>
</div> </div>
@ -7,7 +8,10 @@
## Demo ## Demo
- [示例网页](https://ench-admin.vercel.app/) - [示例网页](https://ench-
admin.vercel.app/)
## 代码仓库 ## 代码仓库

View File

@ -1,31 +1,28 @@
<script setup lang="ts"> <script setup lang="ts">
// This starter template is using Vue 3 <script setup> SFCs // This starter template is using Vue 3 <script setup> SFCs
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup // Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
import HelloWorld from './components/HelloWorld.vue' import HelloWorld from './components/HelloWorld.vue';
</script> </script>
<template> <template>
<div> <div>
<a href="https://vitejs.dev" target="_blank"> <a href="https://vitejs.dev" target="_blank">
<img src="/vite.svg" class="logo" alt="Vite logo" /> <img src="/pixel.svg" class="logo" alt="Vite logo" />
</a> </a>
<a href="https://vuejs.org/" target="_blank"> </div>
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" /> <HelloWorld msg="Vite + Vue 的中后台模板" />
</a>
</div>
<HelloWorld msg="Vite + Vue" />
</template> </template>
<style scoped> <style scoped>
.logo { .logo {
height: 6em; height: 6em;
padding: 1.5em; padding: 1.5em;
will-change: filter; will-change: filter;
} }
.logo:hover { .logo:hover {
filter: drop-shadow(0 0 2em #646cffaa); filter: drop-shadow(0 0 2em #646cffaa);
} }
.logo.vue:hover { .logo.vue:hover {
filter: drop-shadow(0 0 2em #42b883aa); filter: drop-shadow(0 0 2em #42b883aa);
} }
</style> </style>