From 689c307c29133a8a95484386dd023164b7bbfa57 Mon Sep 17 00:00:00 2001 From: eezd Date: Tue, 27 Oct 2026 13:47:24 +0800 Subject: [PATCH] Clarify the economic calendar query date range --- web/src/pages/calendar/index.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/web/src/pages/calendar/index.vue b/web/src/pages/calendar/index.vue index 01cd6f3..2ee7812 100644 --- a/web/src/pages/calendar/index.vue +++ b/web/src/pages/calendar/index.vue @@ -13,6 +13,7 @@ const zone = "Asia/Shanghai" const today = () => dayjs().tz(zone).format("YYYY-MM-DD") const selected = ref(today()) const days = ref(7) +const rangeEnd = computed(() => dayjs(selected.value).add(days.value - 1, "day").format("YYYY-MM-DD")) const data = ref(null) const loading = ref(false) const failed = ref(false) @@ -123,7 +124,7 @@ onUnmounted(() => {
- + 今天 @@ -144,6 +145,9 @@ onUnmounted(() => { 刷新
+

+ 查询范围:{{ selected }} 至 {{ rangeEnd }}(北京时间,含首尾日期) +

三星标红,四星及以上为主要事件。影响针对 BTC/ETH:优先比较预期,无预期时按前值及利率通道给参考倾向,依据不足显示待判断。

@@ -265,6 +269,12 @@ h1 { .calendar-toolbar { padding-bottom: 12px; } +.calendar-range { + margin: 0; + color: #172b4d; + font-size: 14px; + font-weight: 600; +} .country-select { width: 135px; }