From 835d1f1893c5c427b65e4abf812f366dadf00585 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期三, 27 十一月 2024 13:25:05 +0800
Subject: [PATCH] add: -商户列表需要增加下单次数统计(已退款、已取消、待付款的不统计在内)
---
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