From 366968e2b100a66bac6dbc39ad1e45ab5a7f6daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Fri, 13 Jan 2023 03:45:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20form=20=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/form.html | 127 ++++++++++++++++++++++++++------------------- 1 file changed, 73 insertions(+), 54 deletions(-) diff --git a/examples/form.html b/examples/form.html index 5935ec69..3b9ad76b 100644 --- a/examples/form.html +++ b/examples/form.html @@ -17,17 +17,19 @@
-
-
-
- 前置信息 -
- -
- 后置信息 +
+
+
+
+ 前置信息 +
+ +
+ 后置信息 +
-
+
@@ -35,75 +37,87 @@
-
- -
-
-
- +
+
+
+ +
+
-
-
-
- +
+
+
+ +
+
-
-
- -
-
-
- +
+
+
-
-
- +
+
+
+ +
+ +
-
- +
+
+ +
-
- -
-
-
+
+
+ +
+
+
+
- +
-
+
- +
-
-
- +
+
+
+ +
+
-
-
- -
- -
+
+
+ +
+
+
+ +
+

@@ -406,6 +420,11 @@ ,xxxxxxxxx: 123 }); + // 自定义动态点缀事件 + form.on('input-affix(set)', function(data){ + var elem = data.elem; + elem.value = '通过自定义事件设置的值'; + }); //事件 form.on('select(quiz111)', function(data){