This commit is contained in:
zhangyh
2025-10-20 17:01:55 +08:00
16 changed files with 400 additions and 193 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'
// 定义消息类型