|
|
@@ -3,7 +3,6 @@ import {computed, onMounted, onUnmounted, ref} from 'vue'
|
|
|
import {message} from 'ant-design-vue'
|
|
|
import {useRoute, useRouter} from 'vue-router'
|
|
|
import {
|
|
|
- ApiOutlined,
|
|
|
BulbFilled,
|
|
|
BulbOutlined,
|
|
|
CloudServerOutlined,
|
|
|
@@ -66,8 +65,8 @@ onUnmounted(() => window.removeEventListener('resize', onResize))
|
|
|
theme="dark"
|
|
|
>
|
|
|
<div class="logo">
|
|
|
- <ApiOutlined style="font-size: 24px; color: #1890ff" />
|
|
|
- <span v-if="!collapsed" class="logo-text">AI监控</span>
|
|
|
+ <img alt="AI状态灯后台" class="logo-icon" src="/light.svg"/>
|
|
|
+ <span v-if="!collapsed" class="logo-text">AI状态灯后台</span>
|
|
|
</div>
|
|
|
<a-menu
|
|
|
theme="dark"
|
|
|
@@ -105,8 +104,8 @@ onUnmounted(() => window.removeEventListener('resize', onResize))
|
|
|
:header-style="{ display: 'none' }"
|
|
|
>
|
|
|
<div class="logo">
|
|
|
- <ApiOutlined style="font-size: 24px; color: #1890ff" />
|
|
|
- <span class="logo-text">AI监控</span>
|
|
|
+ <img alt="AI状态灯后台" class="logo-icon" src="/light.svg"/>
|
|
|
+ <span class="logo-text">AI状态灯后台</span>
|
|
|
</div>
|
|
|
<a-menu
|
|
|
theme="dark"
|
|
|
@@ -177,10 +176,16 @@ onUnmounted(() => window.removeEventListener('resize', onResize))
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- gap: 10px;
|
|
|
+ gap: 0;
|
|
|
padding: 0 16px;
|
|
|
}
|
|
|
|
|
|
+.logo-icon {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ object-fit: contain;
|
|
|
+}
|
|
|
+
|
|
|
.logo-text {
|
|
|
color: #fff;
|
|
|
font-size: 18px;
|