From ea87c908fb6cdfc3e227a584a53e6730efb8262a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:41:12 +0800
Subject: [PATCH] 小程序代码
---
minipro_standard/pages_adjust/pages/outboundList/outboundList.vue | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/minipro_standard/pages_adjust/pages/outboundList/outboundList.vue b/minipro_standard/pages_adjust/pages/outboundList/outboundList.vue
index c9575e3..04a1045 100644
--- a/minipro_standard/pages_adjust/pages/outboundList/outboundList.vue
+++ b/minipro_standard/pages_adjust/pages/outboundList/outboundList.vue
@@ -286,14 +286,10 @@
onReady() {
var that = this
this.$nextTick(() => {
- uni.createSelectorQuery()
- .in(this)
- .select('.content_search')
- .boundingClientRect((rect) => {
-
- that.height = `calc(100vh - ${rect.height + 80}px)`
- that.top = `${rect.height}px`
- }).exec()
+ uni.createSelectorQuery().in(this).select('.content_search').boundingClientRect((rect) => {
+ that.height = `calc(100vh - ${rect.height + 80}px)`
+ that.top = `${rect.height}px`
+ }).exec()
})
},
onLoad() {
--
Gitblit v1.9.3