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 @@ - + + + + {{ item.title }} + + + + + + 价格:{{ item.price }} 点 + + + {{ item.price }} + {{ (item.price * item.discount) / 100 }} + + + 已购买 + + - 视频 - 音频 - PDF + + 视频 + 音频 + - 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 @@ - Bought - \ 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 @@ - - - - - - - - - {{ item.title }} - - - - - 价格:{{ item.price }} 点 - - - {{ item.price }} - {{ (item.price * item.discount) / 100 }} - - - - - 已购买 - - - - - - - 视频 - 音频 - - - - - +