mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2026-01-22 15:40:21 +08:00
feat: 添加simple、normal、full 等layout布局
This commit is contained in:
26
src/layouts/components/SideLogo.vue
Normal file
26
src/layouts/components/SideLogo.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<!--------------------------------
|
||||
- @Author: Ronnie Zhang
|
||||
- @LastEditor: Ronnie Zhang
|
||||
- @LastEditTime: 2023/12/16 18:50:28
|
||||
- @Email: zclzone@outlook.com
|
||||
- Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
|
||||
--------------------------------->
|
||||
|
||||
<template>
|
||||
<router-link class="h-60 f-c-c" to="/">
|
||||
<img src="@/assets/images/logo.png" class="h-40" />
|
||||
<h2
|
||||
v-show="!appStore.collapsed"
|
||||
class="ml-10 max-w-140 flex-shrink-0 text-16 color-primary font-bold"
|
||||
>
|
||||
{{ title }}
|
||||
</h2>
|
||||
</router-link>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useAppStore } from '@/store'
|
||||
const title = import.meta.env.VITE_TITLE
|
||||
|
||||
const appStore = useAppStore()
|
||||
</script>
|
||||
Reference in New Issue
Block a user