Skip to content

Commit 4bb7385

Browse files
committed
update files.
1 parent 27151e3 commit 4bb7385

File tree

1 file changed

+47
-2
lines changed

1 file changed

+47
-2
lines changed

frontend/src/App.tsx

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ const translations: any = {
109109
"forward": "Relay",
110110
"customized": "Custom",
111111
"originalFlag": "Native",
112+
"monthly": "Monthly",
113+
"premium": "Paid",
112114
"quickStart": "Tutorial",
113115
"manual": "Materials",
114116
"officialWebsite": "Official Website",
@@ -232,6 +234,8 @@ const translations: any = {
232234
"forward": "转发服务",
233235
"customized": "定制",
234236
"originalFlag": "原生",
237+
"monthly": "包月",
238+
"premium": "氪金",
235239
"quickStart": "新手教学",
236240
"officialWebsite": "官方网站",
237241
"dontShowAgain": "下次不再显示",
@@ -347,6 +351,8 @@ const translations: any = {
347351
"forward": "轉發服務",
348352
"customized": "定制",
349353
"originalFlag": "原生",
354+
"monthly": "包月",
355+
"premium": "氪金",
350356
"quickStart": "新手教學",
351357
"officialWebsite": "官方網站",
352358
"dontShowAgain": "下次不再顯示",
@@ -454,12 +460,51 @@ const ToolConfiguration = ({
454460
{t("originalFlag")}
455461
</span>
456462
)}
463+
{(model.model_name.toLowerCase().includes("glm") ||
464+
model.model_name.toLowerCase().includes("kimi") ||
465+
model.model_name.toLowerCase().includes("doubao") ||
466+
model.model_name.toLowerCase().includes("minimax")) && (
467+
<span style={{
468+
position: 'absolute',
469+
top: '-8px',
470+
right: '0px',
471+
backgroundColor: '#ec4899',
472+
color: 'white',
473+
fontSize: '10px',
474+
padding: '1px 5px',
475+
borderRadius: '4px',
476+
fontWeight: 'bold',
477+
zIndex: 10,
478+
transform: 'scale(0.85)',
479+
boxShadow: '0 1px 3px rgba(0,0,0,0.2)'
480+
}}>
481+
{t("monthly")}
482+
</span>
483+
)}
484+
{model.model_name.toLowerCase().includes("deepseek") && (
485+
<span style={{
486+
position: 'absolute',
487+
top: '-8px',
488+
right: '0px',
489+
backgroundColor: '#f59e0b',
490+
color: 'white',
491+
fontSize: '10px',
492+
padding: '1px 5px',
493+
borderRadius: '4px',
494+
fontWeight: 'bold',
495+
zIndex: 10,
496+
transform: 'scale(0.85)',
497+
boxShadow: '0 1px 3px rgba(0,0,0,0.2)'
498+
}}>
499+
{t("premium")}
500+
</span>
501+
)}
457502
{model.is_custom ? (
458503
<span style={{
459504
position: 'absolute',
460505
top: '-8px',
461506
right: '0px',
462-
backgroundColor: '#ef4444',
507+
backgroundColor: '#9ca3af',
463508
color: 'white',
464509
fontSize: '10px',
465510
padding: '1px 5px',
@@ -480,7 +525,7 @@ const ToolConfiguration = ({
480525
position: 'absolute',
481526
top: '-8px',
482527
right: '0px',
483-
backgroundColor: '#10b981',
528+
backgroundColor: '#14b8a6',
484529
color: 'white',
485530
fontSize: '10px',
486531
padding: '1px 5px',

0 commit comments

Comments
 (0)