From c9ade368441646fbebd4250aa6d5dc60d9dad692 Mon Sep 17 00:00:00 2001 From: ArvinLovegood Date: Tue, 17 Jun 2025 14:08:17 +0800 Subject: [PATCH] =?UTF-8?q?refactor(frontend):=E9=87=8D=E6=9E=84=E9=BE=99?= =?UTF-8?q?=E8=99=8E=E6=A6=9C=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将龙虎榜相关代码从 market.vue 中抽离,创建独立的 LongTigerRankList 组件 -优化龙虎榜数据获取逻辑,增加对历史数据的递归查询 - 改进用户界面,保留原有的筛选和排序功能 - 删除 market.vue 中的冗余代码,提高代码可读性和维护性 --- frontend/src/components/LongTigerRankList.vue | 229 ++++++++++++++++++ frontend/src/components/market.vue | 177 +------------- 2 files changed, 234 insertions(+), 172 deletions(-) create mode 100644 frontend/src/components/LongTigerRankList.vue diff --git a/frontend/src/components/LongTigerRankList.vue b/frontend/src/components/LongTigerRankList.vue new file mode 100644 index 0000000..c8ff7cb --- /dev/null +++ b/frontend/src/components/LongTigerRankList.vue @@ -0,0 +1,229 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/components/market.vue b/frontend/src/components/market.vue index d41c67d..d74170c 100644 --- a/frontend/src/components/market.vue +++ b/frontend/src/components/market.vue @@ -1,13 +1,12 @@