Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
dbdb2959
Unverified
Commit
dbdb2959
authored
Feb 24, 2026
by
Wesley Liddick
Committed by
GitHub
Feb 24, 2026
Browse files
Merge pull request #606 from Nek0Neko/fix/user-balance-modal-dark-mode
fix: 更新余额显示样式以支持深色模式
parents
074bd0df
57b078f2
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/src/components/admin/user/UserBalanceModal.vue
View file @
dbdb2959
...
...
@@ -13,7 +13,7 @@
</div>
</div>
<div><label
class=
"input-label"
>
{{
t
(
'
admin.users.notes
'
)
}}
</label><textarea
v-model=
"form.notes"
rows=
"3"
class=
"input"
></textarea></div>
<div
v-if=
"form.amount > 0"
class=
"rounded-xl border border-blue-200 bg-blue-50 p-4"
><div
class=
"flex items-center justify-between text-sm"
><span>
{{
t
(
'
admin.users.newBalance
'
)
}}
:
</span><span
class=
"font-bold"
>
$
{{
formatBalance
(
calculateNewBalance
())
}}
</span></div></div>
<div
v-if=
"form.amount > 0"
class=
"rounded-xl border border-blue-200 bg-blue-50 p-4
dark:border-blue-800 dark:bg-blue-950
"
><div
class=
"flex items-center justify-between text-sm"
><span
class=
"text-gray-700 dark:text-gray-300"
>
{{
t
(
'
admin.users.newBalance
'
)
}}
:
</span><span
class=
"font-bold
text-gray-900 dark:text-gray-100
"
>
$
{{
formatBalance
(
calculateNewBalance
())
}}
</span></div></div>
</form>
<template
#footer
>
<div
class=
"flex justify-end gap-3"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment