merge: 合入总仓库 weiyuan(bfdfb339) web/ 新功能,保留 ui-optimization 的 UI 重构

来源:luoguang/monkey-ai weiyuan@bfdfb339 的 web/(经 sync/main-weiyuan-web-bfdfb339 同步)
同步基准:总仓库 a2ca13cb = 本仓库初始导入 d8f3aee2

冲突处理原则:保留 ui-optimization 的 UI(样式/结构/组件),嫁接 weiyuan 的功能逻辑。
- i18n:按键三方合并;ours 的「令牌→密钥」改名键上移植 theirs 的术语修订
- task-logs / OrgLogs:ours 已手工移植同一功能(6ad95e2),保留 ours
- 删除:OrgCreate(theirs 下线 /org/create)、旧 image 组件与 VideoRegenerateModal(theirs 体验中心重写)、
  OrgAvatarSection / PricingBentoPage / CommissionConsole(ours 重构中已移除)
- 测试:users-pagination 的 i18next mock 补 t();theirs 新增文件补 license header
This commit is contained in:
qiubaishen
2026-11-10 12:01:21 +08:00
266 changed files with 38432 additions and 7570 deletions
+7 -4
View File
@@ -344,8 +344,9 @@ function Overview({ dashboard, t, onGoto }) {
>
<span className='flex items-center gap-2 text-sm text-orange-700 dark:text-orange-300'>
<ReceiptText size={15} className='flex-shrink-0' />
{t('您有')} {pendingBills}{' '}
{t('张账单待确认,请尽快核对——确认后才会进入打款流程')}
{t('您有 {{n}} 张账单待确认,请尽快核对——确认后才会进入打款流程', {
n: pendingBills,
})}
</span>
<span className='flex items-center gap-0.5 text-sm font-medium text-orange-700 dark:text-orange-300 flex-shrink-0'>
{t('去确认')}
@@ -932,7 +933,9 @@ function Bills({ t, readOnly }) {
pagination={false}
/>
<Modal
title={detail ? `${detail.bill.month} ${t('月账单明细')}` : ''}
title={
detail ? t('{{month}} 月账单明细', { month: detail.bill.month }) : ''
}
visible={!!detail}
onCancel={() => setDetail(null)}
width={860}
@@ -1292,7 +1295,7 @@ function Referrals({ t, partnerCode }) {
{
title: t('二层计提剩余'),
dataIndex: 'l2_remaining_months',
render: (v) => (v > 0 ? `${v} ${t('个月')}` : t('已到期')),
render: (v) => (v > 0 ? t('{{n}} 个月', { n: v }) : t('已到期')),
},
{
title: t('累计二层返佣(元)'),