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
57b078f2
Commit
57b078f2
authored
Feb 23, 2026
by
Leon-mac
Browse files
fix: 更新余额显示样式以支持深色模式
parent
074bd0df
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/src/components/admin/user/UserBalanceModal.vue
View file @
57b078f2
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</div>
</div>
</div>
</div>
<div><label
class=
"input-label"
>
{{
t
(
'
admin.users.notes
'
)
}}
</label><textarea
v-model=
"form.notes"
rows=
"3"
class=
"input"
></textarea></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>
</form>
<template
#footer
>
<template
#footer
>
<div
class=
"flex justify-end gap-3"
>
<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