From 192aa7d082ff2c685a6a5e79249c22a19523c581 Mon Sep 17 00:00:00 2001 From: ahanhanhan Date: Thu, 7 Mar 2024 17:18:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/rankList/index.vue | 5 +++-- src/views/dashboard/PanelGroup.vue | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/components/rankList/index.vue b/src/views/components/rankList/index.vue index a326862..13aa0cb 100644 --- a/src/views/components/rankList/index.vue +++ b/src/views/components/rankList/index.vue @@ -16,7 +16,7 @@
{{ index + 1 }}
- +
@@ -192,18 +192,20 @@ export default { todayWithdrawAmountDiffLast } = response.data this.loginModel.count = todayLoginNum - this.loginModel.trendDirection = 1 // 增加还是减少 + this.loginModel.trendDirection = todayLoginDiffLast >= 0 ? 0 : 1; // 增加还是减少 this.loginModel.trendNum = todayLoginDiffLast this.topUpModel.count = anchorNum // 主播人数 this.withdrawDepositModel.count = todayRechargeAmountNum // 充值金额 this.withdrawDepositModel.money = todayRechargeNum + this.withdrawDepositModel.trendDirection = todayRechargeAmountDiffLast >= 0 ? 0 : 1; this.withdrawDepositModel.trendNum = todayRechargeAmountDiffLast // 与昨日相比 this.anchorModel.count = todayWithdrawAmount this.anchorModel.money = todayWithdrawNum this.anchorModel.trendNum = todayWithdrawAmountDiffLast + this.anchorModel.trendDirection = todayWithdrawAmountDiffLast >= 0 ? 0 : 1 }) } }