diff --git a/.serena/memories/project_overview.md b/.serena/memories/project_overview.md new file mode 100644 index 0000000..ac7e592 --- /dev/null +++ b/.serena/memories/project_overview.md @@ -0,0 +1,3 @@ +# 项目概览 + +`timi-tdesign-mobile` 是 Vue 3 组件与前端通用能力依赖库,使用 TypeScript、Vite、Less、Axios、TDesign Mobile Vue。主要源码在 `src/components`、`src/api`、`src/assets`、`src/types`、`src/store`、`src/utils`,包入口为 `src/index.ts`。仓库也包含 `docs` 子项目。开发环境为 Windows,命令通过 PowerShell 执行。 \ No newline at end of file diff --git a/.serena/memories/style_and_conventions.md b/.serena/memories/style_and_conventions.md new file mode 100644 index 0000000..988ce7a --- /dev/null +++ b/.serena/memories/style_and_conventions.md @@ -0,0 +1,7 @@ +# 风格与约定 + +- Vue 3 Composition API,优先 ` + + diff --git a/src/components/card-container/type.ts b/src/components/card-container/type.ts new file mode 100644 index 0000000..4c3e963 --- /dev/null +++ b/src/components/card-container/type.ts @@ -0,0 +1,6 @@ +/** CardContainer 组件属性。 */ +export interface CardContainerProps { + title?: string; + description?: string; + tips?: string; +} diff --git a/src/components/index.ts b/src/components/index.ts index e1daeef..1d565d8 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -11,6 +11,7 @@ import NotifyEditor from "./notify-editor"; import NotifyView from "./notify-view"; import BottomPopup from "./bottom-popup"; import Space from "./space"; +import CardContainer from "./card-container"; import { AiChatComposer, AiChatMessageList, @@ -31,6 +32,7 @@ export default [ NotifyView, BottomPopup, Space, + CardContainer, AiChatComposer, AiChatMessageList, AiChatPanel, @@ -50,6 +52,7 @@ export { NotifyView, BottomPopup, Space, + CardContainer, AiChatComposer, AiChatMessageList, AiChatPanel, @@ -91,6 +94,10 @@ export type { SpaceSlots } from "./space"; +export type { + CardContainerProps +} from "./card-container"; + export type { PageTransitionBackground, PageTransitionClass,