From 2999d37de601d9fb06f2c34b236ff6e15a276054 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com>
Date: Mon, 18 Aug 2025 09:01:36 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=A6=96=E9=A1=B5=E5=86=85?=
=?UTF-8?q?=E5=AE=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/community/list/index.css | 131 ++++++++++
packages/community/list/index.vue | 85 +++++++
packages/homeServer/index/index.css | 1 -
packages/homeServer/index/index.vue | 4 +-
packages/localLife/classify/index.css | 339 ++++++++++++++++++++++++++
packages/localLife/classify/index.vue | 214 ++++++++++++++++
packages/localLife/index/index.css | 22 +-
packages/localLife/index/index.vue | 196 +++++++--------
pages.json | 72 +++++-
9 files changed, 939 insertions(+), 125 deletions(-)
create mode 100644 packages/community/list/index.css
create mode 100644 packages/community/list/index.vue
create mode 100644 packages/localLife/classify/index.css
create mode 100644 packages/localLife/classify/index.vue
diff --git a/packages/community/list/index.css b/packages/community/list/index.css
new file mode 100644
index 00000000..402a19ef
--- /dev/null
+++ b/packages/community/list/index.css
@@ -0,0 +1,131 @@
+page {
+ background-color: #f6f7fb;
+}
+
+.community-list-container {
+ padding: 20rpx;
+ min-height: 100vh;
+}
+
+.search-bar {
+ background-color: #fff;
+ padding: 20rpx;
+ border-radius: 10rpx;
+ margin-bottom: 20rpx;
+ box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
+}
+
+.search-input {
+ display: flex;
+ align-items: center;
+ background-color: #f0f0f0;
+ border-radius: 50rpx;
+ padding: 15rpx 20rpx;
+}
+
+.search-icon {
+ width: 40rpx;
+ height: 40rpx;
+ font-family: 'iconfont';
+ color: #999;
+ margin-right: 15rpx;
+ font-size: 30rpx;
+}
+
+.search-input input {
+ flex: 1;
+ font-size: 28rpx;
+ color: #333;
+ background-color: transparent;
+}
+
+.community-list {
+ border-radius: 10rpx;
+ overflow: hidden;
+}
+
+.community-item {
+ padding: 20rpx;
+ display: flex;
+ margin-bottom: 15rpx;
+ background-color: #fff;
+}
+
+.community-item:last-child {
+ border-bottom: none;
+}
+
+.community-image {
+ width: 160rpx;
+ height: 160rpx;
+ border-radius: 10rpx;
+ overflow: hidden;
+ margin-right: 20rpx;
+ flex-shrink: 0;
+}
+
+.community-image image {
+ width: 100%;
+ height: 100%;
+}
+
+.community-info {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+}
+
+.community-name {
+ font-size: 32rpx;
+ font-weight: bold;
+ color: #333;
+ display: -webkit-box;
+ -webkit-line-clamp: 1;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+}
+
+.community-address {
+ font-size: 26rpx;
+ color: #666;
+ margin-top: 10rpx;
+ display: -webkit-box;
+ -webkit-line-clamp: 1;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+}
+
+.community-distance {
+ font-size: 24rpx;
+ color: #999;
+ margin-top: 10rpx;
+}
+
+/* 适配不同屏幕尺寸 */
+@media screen and (min-width: 768px) {
+ .community-list-container {
+ padding: 30rpx;
+ }
+
+ .community-item {
+ padding: 30rpx;
+ }
+
+ .community-image {
+ width: 200rpx;
+ height: 200rpx;
+ }
+
+ .community-name {
+ font-size: 36rpx;
+ }
+
+ .community-address {
+ font-size: 28rpx;
+ }
+
+ .community-distance {
+ font-size: 26rpx;
+ }
+}
\ No newline at end of file
diff --git a/packages/community/list/index.vue b/packages/community/list/index.vue
new file mode 100644
index 00000000..7f319578
--- /dev/null
+++ b/packages/community/list/index.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/homeServer/index/index.css b/packages/homeServer/index/index.css
index e9e7fb7f..16fc9b38 100644
--- a/packages/homeServer/index/index.css
+++ b/packages/homeServer/index/index.css
@@ -1,5 +1,4 @@
.container {
- margin-top: 87rpx;
padding: 0 15rpx;
background-color: whte;
}
diff --git a/packages/homeServer/index/index.vue b/packages/homeServer/index/index.vue
index bdec1bac..086b9158 100644
--- a/packages/homeServer/index/index.vue
+++ b/packages/homeServer/index/index.vue
@@ -1,9 +1,9 @@
-