From 23a1149c5f5bf83584d149ad1ccd492d6e538334 Mon Sep 17 00:00:00 2001 From: fish Date: Mon, 4 May 2026 21:42:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=88=86=E5=88=97=E8=A1=A8=E4=BF=A1?= =?UTF-8?q?=E5=8F=B7=E5=88=97=E5=A2=9E=E5=8A=A0=E8=B6=8B=E5=8A=BF=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/frontend/src/views/ScoresView.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/web/frontend/src/views/ScoresView.vue b/web/frontend/src/views/ScoresView.vue index 2b51092..2a70a70 100644 --- a/web/frontend/src/views/ScoresView.vue +++ b/web/frontend/src/views/ScoresView.vue @@ -53,6 +53,14 @@ function signalTagType(s: string) { return 'info' } +function signalIcon(s: string) { + if (s.includes('强烈看多')) return '📈📈' + if (s.includes('偏多')) return '📈' + if (s.includes('偏空')) return '📉' + if (s.includes('强烈看空')) return '📉📉' + return '' +} + onMounted(async () => { contracts.value = await listContracts().catch(() => []) await reload() @@ -148,7 +156,7 @@ onMounted(async () => {