适配深色模式、生成动画的文件chatloading改为generateLoading

This commit is contained in:
X1627315083
2025-10-20 15:32:40 +08:00
parent ee99f301e3
commit e3375e6fc0
8 changed files with 68 additions and 25 deletions

View File

@@ -4,19 +4,23 @@
<img src="@/assets/images/chat_loading.png" alt="Loading" class="loading-image" />
<!-- 阴影效果 -->
<div class="loading-shadow"></div>
<div class="loading-text">Analyzing the Outfit...</div>
<div class="loading-text">{{ title }}</div>
</div>
</div>
</template>
<script setup lang="ts">
// loading
interface LoadingProps {
// props
}
// props
const props = defineProps<LoadingProps>()
const props = defineProps({
title: {
type: String,
default: 'Analyzing the Outfit...'
}
})
</script>
<style lang="less" scoped>

View File

@@ -8,7 +8,7 @@
<script setup lang="ts">
import NoticeItem from './NoticeItem.vue'
import ChatLoading from './ChatLoading.vue'
import GenerateLoading from './GenerateLoading.vue'
import { ref, onMounted, onUnmounted, watch, nextTick } from 'vue'
// 定义消息类型