From 1bc12248aaffd9b12b162197f6592d32e5564dd7 Mon Sep 17 00:00:00 2001 From: Rogee Date: Thu, 12 Dec 2024 14:39:45 +0800 Subject: [PATCH] fix: issues --- frontend/src/components/List.vue | 79 ++++++++++++++++++ frontend/src/components/ListItemCard.vue | 61 +++++++++----- frontend/src/views/TabView.vue | 15 +++- frontend/src/views/tabs/BoughtView.vue | 8 +- frontend/src/views/tabs/HomeView.vue | 102 +---------------------- 5 files changed, 141 insertions(+), 124 deletions(-) create mode 100644 frontend/src/components/List.vue diff --git a/frontend/src/components/List.vue b/frontend/src/components/List.vue new file mode 100644 index 0000000..aefbe93 --- /dev/null +++ b/frontend/src/components/List.vue @@ -0,0 +1,79 @@ + + + diff --git a/frontend/src/components/ListItemCard.vue b/frontend/src/components/ListItemCard.vue index 02d682e..24e637e 100644 --- a/frontend/src/components/ListItemCard.vue +++ b/frontend/src/components/ListItemCard.vue @@ -1,30 +1,53 @@ - diff --git a/frontend/src/views/TabView.vue b/frontend/src/views/TabView.vue index e15792a..1fa9b8a 100644 --- a/frontend/src/views/TabView.vue +++ b/frontend/src/views/TabView.vue @@ -2,14 +2,23 @@ - 主页 + 主页 - 已购 - + 已购 + diff --git a/frontend/src/views/tabs/BoughtView.vue b/frontend/src/views/tabs/BoughtView.vue index b239044..d3c93bc 100644 --- a/frontend/src/views/tabs/BoughtView.vue +++ b/frontend/src/views/tabs/BoughtView.vue @@ -1,3 +1,7 @@ \ No newline at end of file + + + + diff --git a/frontend/src/views/tabs/HomeView.vue b/frontend/src/views/tabs/HomeView.vue index d8f03dd..82cad7a 100644 --- a/frontend/src/views/tabs/HomeView.vue +++ b/frontend/src/views/tabs/HomeView.vue @@ -1,105 +1,7 @@