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