From 4cec8b47d88058dbea2f1652e825feb215765a5a Mon Sep 17 00:00:00 2001
From: weicw <594098497@qq.com>
Date: Fri, 22 Sep 2023 16:25:23 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/house/house.vue | 4 +-
pages/index/index.vue | 13 ++++--
sub_pages/house/add.vue | 100 ++++++++++++++++++++++------------------
3 files changed, 68 insertions(+), 49 deletions(-)
diff --git a/pages/house/house.vue b/pages/house/house.vue
index b806d13..de380b5 100644
--- a/pages/house/house.vue
+++ b/pages/house/house.vue
@@ -13,12 +13,12 @@
@change="onSearch">
-
+
-
+
diff --git a/pages/index/index.vue b/pages/index/index.vue
index cdd7ed5..229b887 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -8,7 +8,7 @@
-
+
@@ -32,7 +32,7 @@
-
+
@@ -144,7 +144,8 @@
scrollTop: 0,
old: {
scrollTop: 0
- }
+ },
+ stickyTop: 60
};
},
@@ -155,6 +156,12 @@
uni.$u.mpShare = {
title: '爱尚家找房'
}
+
+ uni.getSystemInfo({
+ success: (res) => {
+ this.stickyTop = res.statusBarHeight + 44 + 20
+ }
+ })
},
onShow() {},
onBackPress() {},
diff --git a/sub_pages/house/add.vue b/sub_pages/house/add.vue
index 1535d53..a8f6eab 100644
--- a/sub_pages/house/add.vue
+++ b/sub_pages/house/add.vue
@@ -1,7 +1,7 @@
+ label-width="200rpx">
@@ -17,8 +17,9 @@
-
+