fix: improve model list layout in ProviderCard (#311)
* fix: add LongCat provider, OpenRouter free models, model list in cards - Add longcat to PROVIDER_ENV_MAP and PROVIDER_PRESETS - Add freeOnly param to fetchProviderModels, use for OpenRouter - Show model list in ProviderCard with count - Fix qq.ts import.meta.url → __dirname for CJS compat - Add zh/en i18n keys for model count display * fix: improve model list layout in ProviderCard - Change models-list from max-height to fixed height (100px) - Add align-content: flex-start to prevent vertical spacing - Optimize gap to 4px vertical, 6px horizontal - Fix model-tag height to 20px to prevent background stretching - Use inline-flex for better tag alignment Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: idle888 <546806917@qq.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -313,6 +313,9 @@ export default {
|
||||
customModelPlaceholder: 'Custom model name',
|
||||
customModelHint: 'Enter to load',
|
||||
noProviders: 'No providers found. Add a custom provider to get started.',
|
||||
models: 'Models',
|
||||
count: 'models',
|
||||
more: 'more',
|
||||
builtIn: 'Built-in',
|
||||
customType: 'Custom',
|
||||
provider: 'Provider',
|
||||
@@ -554,6 +557,16 @@ export default {
|
||||
qrFetching: 'Fetching QR code...',
|
||||
qrScanHint: 'Scan with WeChat to login',
|
||||
qrScanedHint: 'Scaned, please confirm on phone...',
|
||||
// QQ
|
||||
qqAppId: 'App ID',
|
||||
qqAppIdHint: 'QQ Open Platform Bot App ID',
|
||||
qqAppSecret: 'App Secret',
|
||||
qqAppSecretHint: 'QQ Open Platform Bot App Secret',
|
||||
qqMarkdown: 'Markdown Support',
|
||||
qqMarkdownHint: 'Enable Markdown formatted messages (some clients may not support)',
|
||||
qqSandbox: 'Sandbox Mode',
|
||||
qqSandboxHint: 'Enable sandbox environment (for testing)',
|
||||
qqQrScanHint: 'Scan the QR code with QQ, or open the link on your phone to complete binding',
|
||||
},
|
||||
|
||||
// Language
|
||||
|
||||
Reference in New Issue
Block a user