Browse Source

fix:屏蔽ai助手悬浮图标

master
tanzhisong 1 month ago
parent
commit
1c174f6955
1 changed files with 17 additions and 11 deletions
  1. +17
    -11
      src/layouts/default/header/index.vue

+ 17
- 11
src/layouts/default/header/index.vue View File

@ -11,7 +11,12 @@
/> />
<LayoutBreadcrumb v-if="getShowContent && getShowBread" :theme="getHeaderTheme" /> <LayoutBreadcrumb v-if="getShowContent && getShowBread" :theme="getHeaderTheme" />
<!-- 欢迎语 --> <!-- 欢迎语 -->
<span v-if="getShowContent && getShowBreadTitle && !getIsMobile" :class="[prefixCls, `${prefixCls}--${getHeaderTheme}`,'headerIntroductionClass']"> {{t('layout.header.welcomeIn')}} {{ title }} </span>
<span
v-if="getShowContent && getShowBreadTitle && !getIsMobile"
:class="[prefixCls, `${prefixCls}--${getHeaderTheme}`, 'headerIntroductionClass']"
>
{{ t('layout.header.welcomeIn') }} {{ title }}
</span>
</div> </div>
<!-- left end --> <!-- left end -->
@ -38,11 +43,11 @@
<UserDropDown :theme="getHeaderTheme" /> <UserDropDown :theme="getHeaderTheme" />
<SettingDrawer v-if="getShowSetting" :class="`${prefixCls}-action__item`" /> <SettingDrawer v-if="getShowSetting" :class="`${prefixCls}-action__item`" />
<!-- ai助手 -->
<Aide></Aide>
<!-- &lt;!&ndash; ai助手 &ndash;&gt;-->
<!-- <Aide></Aide>-->
</div> </div>
</Header> </Header>
<LoginSelect ref="loginSelectRef" @success="loginSelectOk"></LoginSelect>
<LoginSelect ref="loginSelectRef" @success="loginSelectOk" />
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, unref, computed, ref, onMounted, toRaw } from 'vue'; import { defineComponent, unref, computed, ref, onMounted, toRaw } from 'vue';
@ -74,7 +79,7 @@
import LoginSelect from '/@/views/sys/login/LoginSelect.vue'; import LoginSelect from '/@/views/sys/login/LoginSelect.vue';
import { useUserStore } from '/@/store/modules/user'; import { useUserStore } from '/@/store/modules/user';
import { useI18n } from '/@/hooks/web/useI18n'; import { useI18n } from '/@/hooks/web/useI18n';
import Aide from "@/views/dashboard/ai/components/aide/index.vue"
import Aide from '@/views/dashboard/ai/components/aide/index.vue';
const { t } = useI18n(); const { t } = useI18n();
export default defineComponent({ export default defineComponent({
@ -96,7 +101,7 @@
SettingDrawer: createAsyncComponent(() => import('/@/layouts/default/setting/index.vue'), { SettingDrawer: createAsyncComponent(() => import('/@/layouts/default/setting/index.vue'), {
loading: true, loading: true,
}), }),
Aide
Aide,
}, },
props: { props: {
fixed: propTypes.bool, fixed: propTypes.bool,
@ -215,7 +220,7 @@
loginSelectOk, loginSelectOk,
loginSelectRef, loginSelectRef,
title, title,
t
t,
}; };
}, },
}); });
@ -225,7 +230,7 @@
//update-begin---author:scott ---date:2022-09-30 for----------- //update-begin---author:scott ---date:2022-09-30 for-----------
// //
@prefix-cls: ~'@{namespace}-layout-header'; @prefix-cls: ~'@{namespace}-layout-header';
.ant-layout .@{prefix-cls} { .ant-layout .@{prefix-cls} {
display: flex; display: flex;
padding: 0 8px; padding: 0 8px;
@ -233,14 +238,14 @@
height: @header-height; height: @header-height;
// update-end--author:liaozhiyang---date:20240407---forQQYUN-8762 // update-end--author:liaozhiyang---date:20240407---forQQYUN-8762
align-items: center; align-items: center;
.headerIntroductionClass { .headerIntroductionClass {
margin-right: 4px; margin-right: 4px;
margin-bottom: 2px; margin-bottom: 2px;
border-bottom: 0px; border-bottom: 0px;
border-left: 0px; border-left: 0px;
} }
&--light { &--light {
.headerIntroductionClass { .headerIntroductionClass {
color: #000; color: #000;
@ -251,7 +256,8 @@
.headerIntroductionClass { .headerIntroductionClass {
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
} }
.anticon, .truncate {
.anticon,
.truncate {
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
} }
} }


Loading…
Cancel
Save