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 @@
}