diff --git a/frontend/src/components/game/GameComments.vue b/frontend/src/components/game/GameComments.vue index 7684f39..4a40cc0 100644 --- a/frontend/src/components/game/GameComments.vue +++ b/frontend/src/components/game/GameComments.vue @@ -3,6 +3,7 @@ import { ref, onMounted } from 'vue' import { getGameComments, addComment } from '@/api/games' import type { GameComment } from '@/types' import { ElMessage } from 'element-plus' +import { StarFilled } from '@element-plus/icons-vue' const props = defineProps<{ gameId: string }>() @@ -56,7 +57,7 @@ function formatDate(dateStr: string) { v-for="star in 5" :key="star" class="star" :class="{ active: star <= newRating }" @click="newRating = star" - >★ + > 清除
@@ -71,7 +72,9 @@ function formatDate(dateStr: string) {
{{ c.expand?.author?.username || '用户' }} - {{ '★'.repeat(c.rating) }} + + + {{ formatDate(c.created) }}

{{ c.content }}

diff --git a/frontend/src/components/game/GameDetailDialog.vue b/frontend/src/components/game/GameDetailDialog.vue index dc402b3..cc59754 100644 --- a/frontend/src/components/game/GameDetailDialog.vue +++ b/frontend/src/components/game/GameDetailDialog.vue @@ -3,6 +3,7 @@ import { computed, ref, onMounted } from 'vue' import type { Game } from '@/types' import { toggleFavorite, isFavorite, deleteGame } from '@/api/games' import { ElMessage, ElMessageBox } from 'element-plus' +import { TrendCharts, StarFilled, Star, Delete } from '@element-plus/icons-vue' import GameComments from './GameComments.vue' const props = defineProps<{ @@ -68,7 +69,7 @@ function handleCreateTeam() {
{{ game.platform }} - 🔥 {{ game.popularCount }} 人游玩 + {{ game.popularCount }} 人游玩
@@ -77,9 +78,10 @@ function handleCreateTeam() {
- +
diff --git a/frontend/src/views/GamesLibrary.vue b/frontend/src/views/GamesLibrary.vue index 4e1bc2b..5e15ff5 100644 --- a/frontend/src/views/GamesLibrary.vue +++ b/frontend/src/views/GamesLibrary.vue @@ -8,6 +8,7 @@ import GameDetailDialog from '@/components/game/GameDetailDialog.vue' import AddGameDialog from '@/components/game/AddGameDialog.vue' import ImportGamesDialog from '@/components/game/ImportGamesDialog.vue' import { ElMessage, ElMessageBox } from 'element-plus' +import { Close } from '@element-plus/icons-vue' const groupStore = useGroupStore() @@ -140,7 +141,7 @@ async function handleImportComplete() { {{ tag }}
- +
diff --git a/frontend/src/views/GroupView.vue b/frontend/src/views/GroupView.vue index 56b24ae..02e8990 100644 --- a/frontend/src/views/GroupView.vue +++ b/frontend/src/views/GroupView.vue @@ -8,6 +8,7 @@ import { pb } from '@/api/pocketbase' import TeamSessionPanel from '@/components/team/TeamSessionPanel.vue' import IdleMembersList from '@/components/team/IdleMembersList.vue' import GroupMembersPanel from '@/components/group/GroupMembersPanel.vue' +import { Promotion, Opportunity, UserFilled } from '@element-plus/icons-vue' const route = useRoute() const groupStore = useGroupStore() @@ -118,7 +119,7 @@ async function refreshMembers() {

- 当前临时小组 + 当前临时小组

@@ -128,7 +129,7 @@ async function refreshMembers() {

- 🟢 空闲成员 + 空闲成员

@@ -139,7 +140,7 @@ async function refreshMembers() {

- 👥 所有成员 + 所有成员

diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue index ed2ae80..faa1443 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/Home.vue @@ -10,6 +10,7 @@ import { UserStatusMap } from '@/types' import type { Game } from '@/types' import TeamSessionPanel from '@/components/team/TeamSessionPanel.vue' import IdleMembersList from '@/components/team/IdleMembersList.vue' +import { User, Promotion, TrendCharts } from '@element-plus/icons-vue' const router = useRouter() const groupStore = useGroupStore() @@ -72,11 +73,11 @@ function openGameDetail(game: Game) {

- 🎮 我的群组 + 我的群组

-
🎮
+

暂无群组

创建或加入一个群组,开始组队冒险吧

@@ -100,7 +101,7 @@ function openGameDetail(game: Game) {

- 当前临时小组 + 当前临时小组

@@ -115,7 +116,7 @@ function openGameDetail(game: Game) {

- 🔥 热门游戏 + 热门游戏

@@ -124,7 +125,7 @@ function openGameDetail(game: Game) {
-
🎮
+

暂无热门游戏

diff --git a/frontend/src/views/Layout.vue b/frontend/src/views/Layout.vue index 693ce89..3586e48 100644 --- a/frontend/src/views/Layout.vue +++ b/frontend/src/views/Layout.vue @@ -10,6 +10,7 @@ import WorkScheduleModal from '@/components/team/WorkScheduleModal.vue' import NotificationPanel from '@/components/common/NotificationPanel.vue' import CreateGroupDialog from '@/components/group/CreateGroupDialog.vue' import JoinGroupDialog from '@/components/group/JoinGroupDialog.vue' +import { Monitor, HomeFilled, Grid, Link, AlarmClock, SwitchButton, Bell, Plus } from '@element-plus/icons-vue' const router = useRouter() const route = useRoute() @@ -55,18 +56,18 @@ function goHome() {