From df89e6d7cf5f4ef2617388374c611922147795d3 Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Fri, 22 Mar 2024 12:54:29 +0800 Subject: [PATCH] 11 --- uni_modules/.DS_Store | Bin 14340 -> 14340 bytes .../uni-number-box/uni-number-box.vue | 6 ++++-- .../uni-popup-dialog/uni-popup-dialog.vue | 2 +- .../components/uni-tooltip/uni-tooltip.vue | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/uni_modules/.DS_Store b/uni_modules/.DS_Store index 498623d3c6a1e84be803d69cfccd6dd074f0bb38..eb68fc08d5b0fa88c1ae92fc2dffac358afdcf15 100644 GIT binary patch delta 42 wcmZoEXerq6RFpA!vY(j3WHzyLOm&Qt#3eSr6XR!PT)p|9^nZR3rOn0z090TPxBvhE delta 42 wcmZoEXerq6RFqL|vY(j3WHzyLOtt?eiA!vLC&tgpICb+s>Hqv7N}G)b0AWWEO8@`> 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 a6b30c6..9bfabda 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 @@ -100,7 +100,8 @@ } if (value > (this.max * scale)) { value = this.max * scale - } + } + this.$emit("minus",value) } if (type === "plus") { @@ -110,7 +111,8 @@ } if (value < (this.min * scale)) { value = this.min * scale - } + } + this.$emit("plus",value) } this.inputValue = (value / scale).toFixed(String(scale).length - 1); diff --git a/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue b/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue index 4bbc847..480bf00 100644 --- a/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue +++ b/uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue @@ -144,7 +144,7 @@ } }, mounted() { - this.focus = true + // this.focus = true }, methods: { /** diff --git a/uni_modules/uni-tooltip/components/uni-tooltip/uni-tooltip.vue b/uni_modules/uni-tooltip/components/uni-tooltip/uni-tooltip.vue index fc5f0eb..15b41a5 100644 --- a/uni_modules/uni-tooltip/components/uni-tooltip/uni-tooltip.vue +++ b/uni_modules/uni-tooltip/components/uni-tooltip/uni-tooltip.vue @@ -22,7 +22,7 @@ name: "uni-tooltip", data() { return { - + placement:'left' }; }, methods: { @@ -88,7 +88,7 @@ } .uni-tooltip-popup { - z-index: 1; + z-index: 997; display: none; position: absolute; background-color: #333;