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
58f20446
Commit
58f20446
authored
Mar 31, 2026
by
erio
Browse files
fix(ui): 渠道定价折叠态模型名完整展示,不再截断
去掉 max-w-[120px] truncate 限制,改用 flex-wrap 允许换行, 充分利用空白区域展示完整模型名。
parent
dfe3fdc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/admin/channel/PricingEntryCard.vue
View file @
58f20446
...
...
@@ -15,11 +15,11 @@
<!-- Summary: model tags + billing badge -->
<div
v-if=
"collapsed"
class=
"flex min-w-0 flex-1 items-center gap-2 overflow-hidden"
>
<!-- Compact model tags (show first 3) -->
<div
class=
"flex min-w-0 flex-
shrink
items-center gap-1
overflow-hidden
"
>
<div
class=
"flex min-w-0 flex-
1 flex-wrap
items-center gap-1"
>
<span
v-for=
"(m, i) in entry.models.slice(0, 3)"
:key=
"i"
class=
"inline-flex
max-w-[120px] truncate
rounded bg-gray-200 px-1.5 py-0.5 text-xs text-gray-700 dark:bg-dark-600 dark:text-gray-300"
class=
"inline-flex
shrink-0
rounded bg-gray-200 px-1.5 py-0.5 text-xs text-gray-700 dark:bg-dark-600 dark:text-gray-300"
>
{{
m
}}
</span>
...
...
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