From 7a3a19a5f706f66ef7e3a619e37b5bde41d494a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Mon, 8 Sep 2025 09:52:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B9=96=E7=95=94=E5=A5=BD?= =?UTF-8?q?=E5=BA=97=E9=A1=B5=E9=9D=A2=E6=90=9C=E7=B4=A2=E6=A1=86=E7=9A=84?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/localLife/index/index.css | 30 +++++++++++++++++++++--------- packages/localLife/index/index.vue | 28 +++++++++++++++++----------- 2 files changed, 38 insertions(+), 20 deletions(-) diff --git a/packages/localLife/index/index.css b/packages/localLife/index/index.css index b402ea0c..f4ea0c91 100644 --- a/packages/localLife/index/index.css +++ b/packages/localLife/index/index.css @@ -6,17 +6,29 @@ page { /* padding-top: 100rpx; */ } -.local { - display: flex; - align-items: center; +.localBox { font-size: 26rpx; color: #222222; box-sizing: border-box; - padding: 20rpx; width: 100%; + padding: 20rpx 0; + background-color: #f6f7fb; +} + +.localBoxItem{ + width: 100%; + display: flex; + align-items: center; + padding: 0 20rpx; background-color: #fff; } +.local { + display: flex; + width: auto; + white-space: nowrap; +} + #local { height: 30rpx; width: 28.08rpx; @@ -28,16 +40,16 @@ page { } .search { - background-color: #f6f7fb; + flex: 1; padding: 20rpx 0; + margin-left: 15rpx; } .searchBox { - width: 710rpx; + width: 93%; height: 70rpx; - background: #FFFFFF; - border-radius: 100rpx 100rpx 100rpx 100rpx; - margin: 0 auto; + background: #f6f7fb; + border-radius: 100rpx; display: flex; box-sizing: border-box; align-items: center; diff --git a/packages/localLife/index/index.vue b/packages/localLife/index/index.vue index e1b0204f..dea4a63f 100644 --- a/packages/localLife/index/index.vue +++ b/packages/localLife/index/index.vue @@ -1,17 +1,23 @@