From 2ec7bdac0aeb653078a09188cd998a47cdbb07a5 Mon Sep 17 00:00:00 2001 From: X_Rian <904416525@qq.com> Date: Wed, 19 Jun 2024 11:25:04 +0800 Subject: [PATCH] =?UTF-8?q?flx=EF=BC=9A=E4=BF=AE=E6=94=B9=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/form/SelectPlus.vue | 34 ++++++++++++++----- unpackage/dist/dev/app-plus/app-service.js | 25 +++++++++++--- unpackage/dist/dev/app-plus/app.css | 7 ++-- .../pages/instance/instancePreview.css | 7 ++-- .../app-plus/pages/submit/InitiateProcess.css | 7 ++-- 5 files changed, 59 insertions(+), 21 deletions(-) diff --git a/components/form/SelectPlus.vue b/components/form/SelectPlus.vue index 30a562a..db11fda 100644 --- a/components/form/SelectPlus.vue +++ b/components/form/SelectPlus.vue @@ -17,7 +17,7 @@ - @@ -25,8 +25,7 @@ - + @@ -160,6 +159,7 @@ // 搜索查询 const isSearch = ref(false); const searchValue = ref(""); + const searchBottom = ref(0); function searchChange(e) { console.log(e); @@ -174,7 +174,24 @@ isSearch.value = false; } const isSearchFn = () => { - + //.box获取class为box的元素,如果使用的id= 'box' 则使用'#box' + // uni.createSelectorQuery().in(this).select('.picker').boundingClientRect(data => { + // console.log(JSON.stringify(data)) + // console.log(data.height / 100 * window.innerHeight,window.innerHeight) + // console.log(uni.getSystemInfoSync().windowHeight, uni.getSystemInfoSync().windowWidth) + // uni.getSystemInfo({ + // success: function (res) { + // console.log(res.screenHeight); + // console.log(res.windowHeight); + // console.log(data.height / 100 * res.screenHeight) + // // data.height / 100 * res.screenHeight - 22 + // // searchBottom.value = (45 / 8) + 238; + // } + // }); + // // (data.height / 100 * window.innerHeight) * 1.48 + + // }).exec() + setTimeout(() => { isSearch.value = true; }, 500) @@ -311,20 +328,21 @@ }