From a9a518b7478d3951babd4a5f9d1e184e1fe72eab Mon Sep 17 00:00:00 2001
From: lizw-2015 <1183409807@qq.com>
Date: Thu, 5 Jun 2025 17:53:20 +0800
Subject: [PATCH] =?UTF-8?q?feat(components):=20=E5=AE=9E=E7=8E=B0=20DataFo?=
=?UTF-8?q?rm=E7=BB=84=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 添加 DataForm 组件的基本功能和样式
- 实现表单数据的响应式处理
- 添加多种内置输入组件的支持
- 实现表单布局和样式的自定义配置
- 添加表单数据的实时预览功能
---
src/components/data-form/DataForm.vue | 216 +++++++++++++-
src/components/data-form/DataFormConstant.ts | 26 +-
src/components/data-form/DataFormTypes.ts | 2 +-
src/pages/DataForm01.vue | 418 ++++++++++++++++++++++++++-
4 files changed, 637 insertions(+), 25 deletions(-)
diff --git a/src/components/data-form/DataForm.vue b/src/components/data-form/DataForm.vue
index be424f6..e49d975 100644
--- a/src/components/data-form/DataForm.vue
+++ b/src/components/data-form/DataForm.vue
@@ -1,13 +1,16 @@
-
-
-
-
-
+
+
+
\ No newline at end of file
+/** 内容居中 */
+.content-center {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+