Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
wenans
bulaienaofutuojiesenzhang57181a9b2e40
diff --git a/@types/resources.d.ts b/@types/resources.d.tsindex ff0e2dfd..8c3448fb 100644--- a/@types/resources.d.ts+++ b/@types/resources.d.ts@@ -1655,6 +1655,7 @@ interface Resources {"status": "状态","createTime": "创建时间","expireTime": "过期时间",+ "xufeiTime": "续费时间","actions": "操作","viewDetails": "查看详情","goToPay": "去支付",diff --git a/src/app/[lng]/profile/page.tsx b/src/app/[lng]/profile/page.tsxindex d4a7caea..94fcdb4d 100644--- a/src/app/[lng]/profile/page.tsx+++ b/src/app/[lng]/profile/page.tsx@@ -737,7 +737,7 @@ export default function ProfilePage() {<Descriptions.Item label={t('createTime')}>{new Date(currentOrderDetail.created * 1000).toLocaleString()}</Descriptions.Item>- <Descriptions.Item label={t('expireTime')}>+ <Descriptions.Item label={ t('expireTime')}>{new Date(currentOrderDetail.expires_at * 1000).toLocaleString()}</Descriptions.Item><Descriptions.Item label={t('userId')}>{currentOrderDetail.userId}</Descriptions.Item>diff --git a/src/app/i18n/locales/en/vip.json b/src/app/i18n/locales/en/vip.jsonindex 2798f2de..0be29c37 100644--- a/src/app/i18n/locales/en/vip.json+++ b/src/app/i18n/locales/en/vip.json@@ -77,6 +77,7 @@"yearly": "Yearly","singleMonth": "Single Month","expireTime": "Expire Time",+ "xufeiTime": "Renewal Time","remainingPoints": "Remaining Points","buyPoints": "Buy Points"},diff --git a/src/app/i18n/locales/zh-CN/vip.json b/src/app/i18n/locales/zh-CN/vip.jsonindex 86ddf1ff..6d5f7bd8 100644--- a/src/app/i18n/locales/zh-CN/vip.json+++ b/src/app/i18n/locales/zh-CN/vip.json@@ -76,7 +76,8 @@"monthly": "月度会员","yearly": "年度会员","singleMonth": "单月会员",- "expireTime": "到期时间",+ "expireTime": "到期时间",+ "xufeiTime": "续费时间","remainingPoints": "剩余积分","buyPoints": "购买积分"},diff --git a/src/components/modals/VipContentModal.tsx b/src/components/modals/VipContentModal.tsxindex d837116c..b9995c41 100644--- a/src/components/modals/VipContentModal.tsx+++ b/src/components/modals/VipContentModal.tsx@@ -222,7 +222,7 @@ const VipContentModal = memo(({ open, onClose }: VipContentModalProps) => {</span></div><div className={vipStyles.expireTime}>- {translate('modal.vipInfo.expireTime')}:+ { !userStore.userInfo.vipInfo.autoContinue ? translate('modal.vipInfo.xufeiTime') : translate('modal.vipInfo.expireTime')}:<span className={vipStyles.expireValue}>{new Date(userStore.userInfo.vipInfo.expireTime).toLocaleDateString()}</span>