diff --git a/frontend/src/app/layout/app-header.test.tsx b/frontend/src/app/layout/app-header.test.tsx
index 5cbf91e5..ebcafaec 100644
--- a/frontend/src/app/layout/app-header.test.tsx
+++ b/frontend/src/app/layout/app-header.test.tsx
@@ -6,6 +6,7 @@ import { MemoryRouter, Route, Routes, useLocation } from 'react-router'
import type { AuthTokens, CreditAccount, QuotaApis, UserApis } from '@/entities'
import { forgetActiveRun, rememberActiveRun } from '@/features/active-run'
import { AuthSessionProvider } from '@/features/auth-session'
+import defaultAccountAvatar from '@/assets/account/avatars/windup-witch-avatar.webp'
import { AppHeader } from './app-header'
const user = {
@@ -484,6 +485,9 @@ describe('AppHeader', () => {
expect(
within(accountMenu).getByTestId('default-account-avatar').getAttribute('aria-hidden'),
).toBe('true')
+ expect(within(accountMenu).getByTestId('default-account-avatar').getAttribute('src')).toBe(
+ defaultAccountAvatar,
+ )
})
it('账号菜单在点击外部或按 Escape 时关闭', async () => {
diff --git a/frontend/src/app/layout/app-header.tsx b/frontend/src/app/layout/app-header.tsx
index 0e178c56..03b4f856 100644
--- a/frontend/src/app/layout/app-header.tsx
+++ b/frontend/src/app/layout/app-header.tsx
@@ -2,6 +2,7 @@ import { WindupMark } from '@/shared/ui/windup-mark'
import { useEffect, useRef, useState } from 'react'
import { Link, useLocation, useNavigate } from 'react-router'
+import defaultAccountAvatar from '@/assets/account/avatars/windup-witch-avatar.webp'
import { quotaApis as defaultQuotaApis } from '@/entities'
import type { QuotaApis } from '@/entities'
import { readActiveRun, subscribeActiveRun } from '@/features/active-run'
@@ -432,11 +433,13 @@ export function AppHeader({
accountMenu.expanded ? 'scale-110' : 'scale-100'
}`}
>
-
diff --git a/frontend/src/assets/account/avatars/windup-witch-avatar.webp b/frontend/src/assets/account/avatars/windup-witch-avatar.webp
new file mode 100644
index 00000000..175ab18a
Binary files /dev/null and b/frontend/src/assets/account/avatars/windup-witch-avatar.webp differ
diff --git a/frontend/src/pages/account/index.test.tsx b/frontend/src/pages/account/index.test.tsx
index 995d4109..ec03e266 100644
--- a/frontend/src/pages/account/index.test.tsx
+++ b/frontend/src/pages/account/index.test.tsx
@@ -7,6 +7,7 @@ import { quotaApis } from '@/entities'
import type { AuthTokens, User, UserApis } from '@/entities'
import { AuthSessionProvider } from '@/features/auth-session'
import { AppRoutes } from '@/app/app'
+import defaultAccountAvatar from '@/assets/account/avatars/windup-witch-avatar.webp'
const user: User = {
id: '7',
@@ -140,6 +141,9 @@ describe('AccountPage', () => {
expect(screen.getByTestId('account-profile-default-avatar').getAttribute('aria-hidden')).toBe(
'true',
)
+ expect(screen.getByTestId('account-profile-default-avatar').getAttribute('src')).toBe(
+ defaultAccountAvatar,
+ )
expect(screen.queryByLabelText('邮箱验证码')).toBeNull()
fireEvent.click(screen.getByRole('button', { name: '修改密码' }))
diff --git a/frontend/src/pages/account/index.tsx b/frontend/src/pages/account/index.tsx
index 1a50baff..18fa63cc 100644
--- a/frontend/src/pages/account/index.tsx
+++ b/frontend/src/pages/account/index.tsx
@@ -1,4 +1,3 @@
-import { WindupMark } from '@/shared/ui/windup-mark'
import { Gift, X } from '@phosphor-icons/react'
import {
useEffect,
@@ -13,6 +12,7 @@ import {
import { useSearchParams } from 'react-router'
import accountBadgeArtwork from '@/assets/account/illustrations/account-badge.webp'
+import defaultAccountAvatar from '@/assets/account/avatars/windup-witch-avatar.webp'
import { quotaApis, type CreditRedemptionResult, type User } from '@/entities'
import { useAuthSession } from '@/features/auth-session'
import {
@@ -735,11 +735,13 @@ export function AccountPage() {