diff --git a/web/src/i18n/en.ts b/web/src/i18n/en.ts index b6795623..7ce6e98c 100644 --- a/web/src/i18n/en.ts +++ b/web/src/i18n/en.ts @@ -1525,7 +1525,7 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re schema: 'Schema', schemaPlaceholder: 'Enter your OpenAPI schema here', authentication: 'Authentication Method', - tag: 'Tag', + tags: 'Tag', created_at: 'Created At', headerName: 'Header Name', null: 'None', diff --git a/web/src/i18n/zh.ts b/web/src/i18n/zh.ts index bc67c463..25cf8408 100644 --- a/web/src/i18n/zh.ts +++ b/web/src/i18n/zh.ts @@ -1626,7 +1626,7 @@ export const zh = { schema: 'Schema', schemaPlaceholder: '在此处输入您的 OpenAPI schema', authentication: '鉴权方式', - tag: '标签', + tags: '标签', created_at: '创建时间', headerName: 'Header 名称', null: '无', diff --git a/web/src/views/OrderPayment/index.tsx b/web/src/views/OrderPayment/index.tsx index 3214b48e..9a48e33a 100644 --- a/web/src/views/OrderPayment/index.tsx +++ b/web/src/views/OrderPayment/index.tsx @@ -364,7 +364,7 @@ const OrderPayment: React.FC = () => { label={t('pricing.transferDate')} required > - + {
{typeof item.priceObj.price !== 'undefined' ? (
- ¥ + $ {item.priceObj.price.toLocaleString()} @@ -227,6 +227,12 @@ const PricingView: React.FC = () => { > {item.btnType === 'started' ? t('pricing.startedBtn') : item.btnType === 'choosePlan' ? t('pricing.choosePlanBtn') : t('pricing.contactBtn')} + {Object.keys(item.priceDescObj).map(key => ( +
+
{t(`pricing.${key}`)}
+
{t(item.priceDescObj[key as keyof typeof item.priceDescObj])}
+
+ ))} {/* Features */}
@@ -239,7 +245,7 @@ const PricingView: React.FC = () => {
- {t('pricing.intelligentSearchFrequency')}{ item.intelligentSearchFrequency } {t('pricing.timesMonth')} + {t('pricing.intelligentSearchFrequency')}{ item.intelligentSearchFrequency } {t('pricing.timesMonth')}
{['supportServices', 'flexibleDeployment', 'reliableGuarantee'].map(type => { diff --git a/web/src/views/ToolManagement/Custom.tsx b/web/src/views/ToolManagement/Custom.tsx index 6f8babfb..0be9cc10 100644 --- a/web/src/views/ToolManagement/Custom.tsx +++ b/web/src/views/ToolManagement/Custom.tsx @@ -98,7 +98,7 @@ const Custom: React.FC<{ getStatusTag: (status: string) => ReactNode }> = ({ get extra={getStatusTag(item.status)} >
- {['auth_type', 'tag', 'created_at'].map(key => ( + {['auth_type', 'tags', 'created_at'].map(key => (
ReactNode }> = ({ get {key === 'created_at' && item[key] ? dayjs(item[key]).format('YYYY-MM-DD HH:mm:ss') : key === 'auth_type' - ? t(`tool.${(item.config_data as any)?.[key]}`) + ? t(`tool.${(item.config_data as any)?.[key]}`) + : key === 'tags' + ? (item[key] as string[]).join('、') : (item.config_data as any)?.[key] || '-' }
diff --git a/web/src/views/ToolManagement/components/CustomToolModal.tsx b/web/src/views/ToolManagement/components/CustomToolModal.tsx index cb4f036c..b04866c5 100644 --- a/web/src/views/ToolManagement/components/CustomToolModal.tsx +++ b/web/src/views/ToolManagement/components/CustomToolModal.tsx @@ -268,7 +268,7 @@ const CustomToolModal = forwardRef(({