From 5fb0d4d844622d32eefb14446112da93ecedf53b Mon Sep 17 00:00:00 2001 From: zhangyu Date: Tue, 23 Mar 2021 15:47:18 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9serachInput=20?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=A4=9A=E4=B8=AA=E6=97=B6=20=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E6=A1=86=E9=94=99=E4=BD=8D=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/searchInput.vue | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/nezha-fronted/src/components/common/searchInput.vue b/nezha-fronted/src/components/common/searchInput.vue index 737ab62bc..c3d6e1969 100644 --- a/nezha-fronted/src/components/common/searchInput.vue +++ b/nezha-fronted/src/components/common/searchInput.vue @@ -39,7 +39,7 @@
-
+
  • {{item.label}}
  • @@ -49,7 +49,7 @@
  • {{item.label}}
-
+
  • {{item.label}}
  • @@ -59,7 +59,7 @@
  • {{item.label}}
-
+
  • {{item.name}}
  • @@ -69,7 +69,7 @@
  • {{item.name}}
-
+
  • {{item.host}}
  • @@ -79,7 +79,7 @@
  • {{item.host}}
-
+
  • {{item.name}}
  • @@ -89,7 +89,7 @@
  • {{item.name}}
-
+
  • {{item.name}}
  • @@ -100,37 +100,37 @@
-
+
  • {{item.value}}
-
+
  • {{item.value}}
-
+
  • {{item.name}}
-
+
  • {{item.name}}
-
+
  • {{item.label}}
-
+
  • {{item.name}}
  • @@ -141,7 +141,7 @@
-
+
  • {{item.name}}
  • @@ -174,7 +174,7 @@ -
    +
    • {{val.name}} @@ -198,7 +198,7 @@ export default { name: 'index', data () { return { - selectDom: { top: '', tempTop: '', show: true }, // 选择弹框的位置 + selectDom: { top: '', left:'', tempTop: '', show: true }, // 选择弹框的位置 clearSearchShow: false, select_conditionsName: '', selectInfoList: searchSelectInfo, @@ -1246,6 +1246,7 @@ export default { } else { const position = inputListDom.getBoundingClientRect() this.selectDom.top = position.top + 36 + 'px' + this.selectDom.left = position.left + 'px' } }) }