From 01fa158740467ca0db83b131249beeeb515a73c2 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期二, 01 四月 2025 16:03:57 +0800
Subject: [PATCH] test

---
 components/oi-form/list/input/index.vue |   29 ++++++++++++++++++++++++-----
 1 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/components/oi-form/list/input/index.vue b/components/oi-form/list/input/index.vue
index 9f728ac..5c0c04a 100644
--- a/components/oi-form/list/input/index.vue
+++ b/components/oi-form/list/input/index.vue
@@ -17,8 +17,12 @@
 </template>
 
 <script>
+	import buttonClickMixin from '@/mixins/button-click.js';
+
 	export default {
+
 		name: "OIFormInput",
+		mixins: [buttonClickMixin],
 		props: {
 			viewMode: {
 				type: Boolean,
@@ -39,6 +43,7 @@
 				this.$emit("on-change", e)
 			},
 			onConfirm(e) {
+				console.log("onConfirm")
 				this.onChange(e)
 			},
 			onClick(e) {
@@ -48,12 +53,26 @@
 				this.$emit("on-focus", e)
 			},
 			onPrefixButton() {
-				this.$emit("on-click-prefix")
+				this.handleButtonClick((done) => {
+					this.$emit("on-click-prefix")
+					setTimeout(() => {
+						done(); // 閲嶇疆鐘舵�
+					}, 1000);
+				});
 			},
 			onSuffixButton() {
-				this.$emit("on-click-suffix")
+
+				this.handleButtonClick((done) => {
+					this.$emit("on-click-suffix")
+					setTimeout(() => {
+						done(); // 閲嶇疆鐘舵�
+					}, 1000);
+				});
+
+
 			},
-		}
+		},
+
 	};
 </script>
 
@@ -62,10 +81,10 @@
 		border: 1px solid #d5d5d5;
 		border-radius: 6px !important;
 		padding: 3rpx;
-		width: calc(100%- 6rpx);
+		width: calc(100% - 6rpx);
 		display: flex;
 		flex-direction: row;
-		
+
 		.input-disabled {
 			background-color: #f3f3f3 !important;
 		}

--
Gitblit v1.9.1