mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-05-02 07:09:01 +08:00
feat: logo背景色根据主题色自动调整
This commit is contained in:
parent
7d0a17b2b5
commit
886ef9e11c
BIN
src/assets/images/isme.png
Normal file
BIN
src/assets/images/isme.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
12
src/components/common/TheLogo.vue
Normal file
12
src/components/common/TheLogo.vue
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<!--------------------------------
|
||||||
|
- @Author: Ronnie Zhang
|
||||||
|
- @LastEditor: Ronnie Zhang
|
||||||
|
- @LastEditTime: 2024/03/04 16:09:47
|
||||||
|
- @Email: zclzone@outlook.com
|
||||||
|
- Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
|
||||||
|
--------------------------------->
|
||||||
|
<template>
|
||||||
|
<div class="h-40 w-40 rounded-full bg-primary p-1/100">
|
||||||
|
<img src="@/assets/images/isme.png" alt="Logo" />
|
||||||
|
</div>
|
||||||
|
</template>
|
@ -8,7 +8,8 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<router-link class="h-60 f-c-c" to="/">
|
<router-link class="h-60 f-c-c" to="/">
|
||||||
<img src="@/assets/images/logo.png" class="h-40" />
|
<!-- <img src="@/assets/images/logo.png" class="h-40" /> -->
|
||||||
|
<TheLogo class="rounded-8!" />
|
||||||
<h2
|
<h2
|
||||||
v-show="!appStore.collapsed"
|
v-show="!appStore.collapsed"
|
||||||
class="ml-10 max-w-140 flex-shrink-0 text-16 color-primary font-bold"
|
class="ml-10 max-w-140 flex-shrink-0 text-16 color-primary font-bold"
|
||||||
|
@ -41,3 +41,9 @@ textarea {
|
|||||||
border: none;
|
border: none;
|
||||||
resize: none;
|
resize: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img,
|
||||||
|
video {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user