From 1de223346d7ac972b39d7a4b7548314088949a64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Tue, 5 Aug 2025 10:34:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B2=A1=E6=9C=89=E9=A1=B5?= =?UTF-8?q?=E6=88=BF=E6=BA=90=E7=BB=91=E5=AE=9A=E6=97=B6=E7=9A=84=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/community/index/index.css | 59 ++++-- packages/community/index/index.vue | 300 +++++++++++++++-------------- 2 files changed, 199 insertions(+), 160 deletions(-) diff --git a/packages/community/index/index.css b/packages/community/index/index.css index af9eea73..aac0a2d6 100644 --- a/packages/community/index/index.css +++ b/packages/community/index/index.css @@ -3,6 +3,40 @@ page { padding: 0; } +.empty { + font-size: 28rpx; + color: #999999; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + margin-top: 400rpx; +} + +.empty image { + width: 340rpx; + height: 240rpx; +} + +.emptyBtn { + width: 400rpx; + height: 80rpx; + background-color: #ea030d; + color: white; + align-items: center; + margin-top: 400rpx; +} + +.emptyBtn2 { + width: 400rpx; + height: 80rpx; + background-color: white; + color: #333; + align-items: center; + margin-top: 50rpx; + border: 1rpx solid #333; +} + swiper { height: 100%; } @@ -105,7 +139,7 @@ image { margin: 0 5rpx; } -.swiperBox2_img{ +.swiperBox2_img { border-radius: 20rpx 20rpx 0 0; } @@ -149,7 +183,8 @@ image { margin: 0 auto; margin-top: 40rpx; } -.ads_first{ + +.ads_first { margin-top: 0; } @@ -190,22 +225,22 @@ image { transform: translateX(-50%); } -.newsList{ +.newsList { margin-bottom: 100rpx; } .newsItem { - display: flex; - align-items: center; - justify-content: space-between; - padding: 30rpx 0; - margin: 0 20rpx; - box-sizing: border-box; - border-bottom: 1rpx solid #EBEBEB; + display: flex; + align-items: center; + justify-content: space-between; + padding: 30rpx 0; + margin: 0 20rpx; + box-sizing: border-box; + border-bottom: 1rpx solid #EBEBEB; } .newsItem:last-child { - border-bottom: none; + border-bottom: none; } .newsItem_left { @@ -322,6 +357,6 @@ image { margin-bottom: 16rpx; } -.grid_Text{ +.grid_Text { font-size: 24rpx; } \ No newline at end of file diff --git a/packages/community/index/index.vue b/packages/community/index/index.vue index 2bed8cf6..c3c50035 100644 --- a/packages/community/index/index.vue +++ b/packages/community/index/index.vue @@ -1,163 +1,156 @@