From 14ba88b64526f6a7a64bc9ab66a7dc7ef41215ac Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Mon, 8 Jun 2026 16:47:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor(diy-form):=20=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E8=A1=A8=E5=8D=95=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=EF=BC=8C=E6=9B=BF=E6=8D=A2=E4=B8=BA=E9=80=9A=E7=94=A8=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 替换硬编码表单项为可配置的ns-newform组件 2. 支持横向/纵向两种布局模式 3. 添加表单Banner、提示语配置能力 4. 统一表单提交逻辑,新增表单校验和重置功能 5. 优化ns-newform组件样式与交互细节 --- components-diy/diy-form.vue | 177 +++--- .../_components/ns-newform/ns-newform.vue | 511 +++++++++++------- 2 files changed, 439 insertions(+), 249 deletions(-) diff --git a/components-diy/diy-form.vue b/components-diy/diy-form.vue index 15ddfe1..139f349 100644 --- a/components-diy/diy-form.vue +++ b/components-diy/diy-form.vue @@ -1,47 +1,36 @@