From 4b0db12a762604ad9e871702ebc18c6ceeab3e0a Mon Sep 17 00:00:00 2001
From: lld <15027638633@163.com>
Date: Fri, 27 Mar 2026 18:55:51 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=8A=B6=E6=80=81ui=E6=8F=90?=
=?UTF-8?q?=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/news/subpages/deviceCenter/index.vue | 47 +++++-----------------
1 file changed, 9 insertions(+), 38 deletions(-)
diff --git a/pages/news/subpages/deviceCenter/index.vue b/pages/news/subpages/deviceCenter/index.vue
index 5ac13a9..d719005 100644
--- a/pages/news/subpages/deviceCenter/index.vue
+++ b/pages/news/subpages/deviceCenter/index.vue
@@ -10,29 +10,17 @@
{{ formatTime(item.time) }}
-
+
-
-
- {{ item.rank }}
- 名次
-
-
- {{ item.steps }}
- 步数
-
-
+ -->
-
+
{{ item.sender }} 夺得{{ item.date }}日排行榜冠军
@@ -144,7 +132,7 @@ export default {
padding: 20rpx;
}
.message-item {
- margin-bottom: 30rpx;
+ margin: 30rpx 20rpx;
}
/* 时间标签 */
@@ -152,11 +140,14 @@ export default {
text-align: center;
font-size: 26rpx;
color: #999;
- margin-bottom: 20rpx;
+ margin: 50rpx 20rpx 20rpx;
}
+.message-item:first-child .time-label {
+ margin-top: 0;
+}
/* 通用卡片样式 */
-.like-card, .step-card, .champion-card {
+.like-card, .champion-card {
background-color: #fff;
border-radius: 12rpx;
padding: 24rpx;
@@ -185,24 +176,4 @@ export default {
color: #ccc;
}
-/* 步数卡片 */
-.step-card {
- display: flex;
- justify-content: space-between;
-}
-.step-item {
- display: flex;
- flex-direction: column;
- align-items: center;
-}
-.step-num {
- font-size: 64rpx;
- color: #09bb07;
- font-weight: 500;
-}
-.step-label {
- font-size: 28rpx;
- color: #666;
- margin-top: 8rpx;
-}
\ No newline at end of file