From 053a63a667428b1f371a3cbd2190a6d741786dc5 Mon Sep 17 00:00:00 2001 From: CakeAL <1742507190@qq.com> Date: Fri, 15 Nov 2024 15:56:31 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(MonthlyUserLog):=20Popover?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MonthlyUserLog.vue | 42 ++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/src/pages/MonthlyUserLog.vue b/src/pages/MonthlyUserLog.vue index 866dae1..70750f3 100644 --- a/src/pages/MonthlyUserLog.vue +++ b/src/pages/MonthlyUserLog.vue @@ -191,16 +191,46 @@ const select_mb_or_gb = (value: string) => { class="gray" > + -

- {{ index + 1 }}日
- {{ select_mb_or_gb(select_to_data(item)) }} {{ data_type() }} -

+ :style="{ + backgroundColor: getBackgroundColor(select_to_data(item)), + }" + > + + + + + ipv4 ⬇ + ipv4 ⬆ + ipv6 ⬇ + ipv6 ⬆ + + + + + {{ mb2gb(item.ipv4_down) }} GB + {{ mb2gb(item.ipv4_up) }} GB + {{ mb2gb(item.ipv6_down) }} GB + {{ mb2gb(item.ipv6_up) }} GB + + + 花费: + {{ item.cost.toFixed(2) }} 元 + 使用时长: + {{ (item.used_duration / 60).toFixed(2) }} h + + + +

在使用概览上的东西选择: