From 02409bfbe15f22fc3b5dccadabfd860a660a49d9 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 11 Oct 2025 10:37:14 +0800
Subject: [PATCH] feat: 名称修改
---
src/page/index/logo.vue | 53 +++++++++++++++++++++++++++++++++++++++++------------
1 files changed, 41 insertions(+), 12 deletions(-)
diff --git a/src/page/index/logo.vue b/src/page/index/logo.vue
index e181c40..56e45ea 100644
--- a/src/page/index/logo.vue
+++ b/src/page/index/logo.vue
@@ -2,18 +2,19 @@
<div class="avue-logo">
<transition name="fade">
<span v-if="getScreen(isCollapse)" class="avue-logo_subtitle" key="0">
- {{ website.logo }}
+<!-- {{ website.logo }}-->
+ <img v-if="!hideMenuTopLogo" class="logoImg" src="/img/bg/mainLogo.png" alt=""/>
</span>
</transition>
<transition-group name="fade">
<template v-if="getScreen(!isCollapse)">
- <div style="display: flex; align-items: left; gap: 5px; margin: 8px 8px 10px 20px;">
- <img class="img" src="/img/logo.png" alt="" width="50%" height="50%" />
- <!-- <span style="font-size: 20px;" key="1">
- {{ this.parentDeptInfo.sysName }}
- </span> -->
-</div>
-
+ <div class="fadeStyle">
+<!-- <img v-if="!hideMenuTopLogo" class="logoImg" src="/img/bg/mainLogo.png" alt=""/>-->
+ <div class="titleName">吉安市低空经济服务一体化平台</div>
+ <!-- <span style="font-size: 20px;" key="1">
+ {{ this.parentDeptInfo.sysName }}
+ </span> -->
+ </div>
</template>
</transition-group>
</div>
@@ -21,14 +22,16 @@
<script>
import { mapGetters } from 'vuex';
-
+import getBaseConfig from '@/buildConfig/config';
+const { hideMenuTopLogo } = getBaseConfig()
export default {
name: 'logo',
data() {
- return {};
+ return {
+ hideMenuTopLogo
+ };
},
- created() {
- },
+ created() {},
computed: {
...mapGetters(['isCollapse']),
...mapGetters(['userInfo']),
@@ -37,3 +40,29 @@
methods: {},
};
</script>
+<style scoped lang="scss">
+.avue-logo{
+ box-shadow: none;
+}
+.avue-logo_subtitle{
+ .logoImg{
+ width: 80%;
+ }
+}
+.fadeStyle {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 5px;
+ .logoImg{
+ width: 50px;
+ height: 20px;
+ }
+ .titleName{
+ font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
+ font-weight: 400;
+ font-size: 16px;
+ color: #1C5CFF;
+ }
+}
+</style>
--
Gitblit v1.9.3