mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
- Updated DraggableWindow.vue to improve shadow effects. - Refactored AboutWindow.vue for better structure and readability. - Added chatbot functionality in chatbot.vue with cookie management. - Improved navigation component for better code clarity. - Created a new chat history table in the database schema. - Modified error handling in error.vue to display error messages correctly. - Integrated ChatbotWindow into the desktop application layout. - Implemented accordion component in home.vue for Q/A section. - Enhanced API for chat functionality with improved error handling. - Removed unused routes for cleaner codebase. - Added custom animations for accordion components in tailwind.config.js. - Developed accordion UI components (Accordion, AccordionContent, AccordionItem, AccordionTrigger) for better user interaction.
20 lines
404 B
Vue
20 lines
404 B
Vue
<script setup lang="ts">
|
|
import {
|
|
AccordionRoot,
|
|
type AccordionRootEmits,
|
|
type AccordionRootProps,
|
|
useForwardPropsEmits,
|
|
} from "reka-ui";
|
|
|
|
const props = defineProps<AccordionRootProps>();
|
|
const emits = defineEmits<AccordionRootEmits>();
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits);
|
|
</script>
|
|
|
|
<template>
|
|
<AccordionRoot v-bind="forwarded">
|
|
<slot />
|
|
</AccordionRoot>
|
|
</template>
|