From b1207d7cba21fc9f81fff64842c9040c8cf1473c Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期一, 30 十二月 2024 10:00:33 +0800
Subject: [PATCH] 1.批量任务-用户列表传入userId
---
pages/home.vue | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/pages/home.vue b/pages/home.vue
index 4f933d0..ba02cfb 100644
--- a/pages/home.vue
+++ b/pages/home.vue
@@ -78,6 +78,16 @@
</div>
<div :class="getRateClass(getRateValue(item.key, 'countRate'))">
日环比:{{ getRateValue(item.key, 'countRate') || 0 }}%
+ <img
+ v-if="getRateValue(item.key, 'countRate') > 0"
+ src="~static/images/home/up.png"
+ class="rate-container__img"
+ />
+ <img
+ v-if="getRateValue(item.key, 'countRate') < 0"
+ src="~static/images/home/down.png"
+ class="rate-container__img"
+ />
</div>
</div>
</div>
@@ -404,6 +414,12 @@
align-items: center;
justify-content: space-between;
}
+ &__img {
+ width: 16PX;
+ height: 16PX;
+ position: relative;
+ top: 2PX;
+ }
}
}
}
--
Gitblit v1.9.3