diff --git a/frontend/src/components/Icon.vue b/frontend/src/components/Icon.vue index a24bf38..a4eab0f 100644 --- a/frontend/src/components/Icon.vue +++ b/frontend/src/components/Icon.vue @@ -23,6 +23,8 @@ const PATHS = { shield: '', ban: '', receipt: '', + book: '', + info: '', } defineProps({ name: { type: String, required: true } }) diff --git a/frontend/src/layouts/PublicLayout.vue b/frontend/src/layouts/PublicLayout.vue index ce7578c..4186b6d 100644 --- a/frontend/src/layouts/PublicLayout.vue +++ b/frontend/src/layouts/PublicLayout.vue @@ -22,8 +22,8 @@ const nav = computed(() => { items.push({ to: '/orders', label: '订单', icon: 'receipt' }) } // 文档 + 关于 are public — visible to guests too. - items.push({ to: '/docs', label: '文档', icon: 'log' }) - items.push({ to: '/about', label: '关于', icon: 'accounts' }) + items.push({ to: '/docs', label: '文档', icon: 'book' }) + items.push({ to: '/about', label: '关于', icon: 'info' }) return items })