From 3c613bc87a6199741e0cc6d86a64c2abe1182f0c Mon Sep 17 00:00:00 2001
From: wangjiahai <1556608@qq.com>
Date: Thu, 23 Nov 2023 17:03:41 +0800
Subject: [PATCH] 111
---
.../uni-number-box/uni-number-box.vue | 25 +++++++++++++------
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue b/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue
index 40786f5..42f7954 100644
--- a/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue
+++ b/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue
@@ -1,12 +1,15 @@
- -
+ -
-
+
+ {{inputValue}}
- +
+ +
@@ -66,7 +69,8 @@
},
data() {
return {
- inputValue: 0
+ inputValue: 0,
+ showText: false
};
},
watch: {
@@ -86,6 +90,12 @@
}
},
methods: {
+ showText() {
+ this.showText = true
+ },
+ showEdit() {
+ this.showText = false
+ },
_calcValue(type) {
if (this.disabled) {
return;
@@ -154,7 +164,7 @@
}
};
-
+
\ No newline at end of file