|
@@ -1,10 +1,12 @@
|
|
|
<template>
|
|
<template>
|
|
|
<LayoutExperience>
|
|
<LayoutExperience>
|
|
|
- <ContentContainer :containerStyle="content_style">
|
|
|
|
|
|
|
+ <ContentContainer :containerStyle="content_style" id="fjkdsdajfklgjsklfjskdlf">
|
|
|
<ChatAsideMenu />
|
|
<ChatAsideMenu />
|
|
|
|
|
|
|
|
<ConversationHistoryContainer @historyActive="handleHistoryActive" />
|
|
<ConversationHistoryContainer @historyActive="handleHistoryActive" />
|
|
|
</ContentContainer>
|
|
</ContentContainer>
|
|
|
|
|
+
|
|
|
|
|
+ <a-back-top :target-container="'#fjkdsdajfklgjsklfjskdlf'" :style="{ position: 'absolute' }" />
|
|
|
</LayoutExperience>
|
|
</LayoutExperience>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -21,6 +23,8 @@ import ConversationHistoryContainer from './conversation/ConversationHistoryCont
|
|
|
|
|
|
|
|
import { useThemeStore } from '../base/store/use-theme';
|
|
import { useThemeStore } from '../base/store/use-theme';
|
|
|
|
|
|
|
|
|
|
+import bg_image from '../assets/chat/history-bg.png';
|
|
|
|
|
+
|
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
|
|
|
|
|
|
const theme = useThemeStore();
|
|
const theme = useThemeStore();
|
|
@@ -28,7 +32,7 @@ const theme = useThemeStore();
|
|
|
const content_style = computed(() => {
|
|
const content_style = computed(() => {
|
|
|
if (theme.value === 'light') {
|
|
if (theme.value === 'light') {
|
|
|
return {
|
|
return {
|
|
|
- backgroundImage: 'url(../../../assets/chat/history-bg.png)',
|
|
|
|
|
|
|
+ backgroundImage: `url(${bg_image})`,
|
|
|
backgroundRepeat: 'no-repeat',
|
|
backgroundRepeat: 'no-repeat',
|
|
|
backgroundSize: 'cover'
|
|
backgroundSize: 'cover'
|
|
|
};
|
|
};
|