feat: redesign promotion earnings cards

This commit is contained in:
kate522 committed 2026-08-16 20:15:56 +08:00
1 parent 6dbb556d60
commit 8799063c6c
7 files changed
+260 -82

No files matched your search

@@ -12,8 +12,6 @@ export const affiliateSchema = {
affiliate_allow_self_purchase: false,
affiliate_show_stats: true,
affiliate_promotion_text: '',
affiliate_earnings_text: '',
affiliate_withdrawal_agreement: '',
affiliate_payout_channels: ['alipay', 'wechat'],
affiliate_min_withdrawal: 50,
affiliate_withdrawal_fee: 5,
@@ -55,8 +53,6 @@ export const affiliateSchema = {
icon: 'fas fa-pen-fancy',
fields: [
{ key: 'affiliate_promotion_text', label: '推广说明', type: 'textarea', default: '', dependsOn: { key: 'affiliate_enabled', value: true } },
{ key: 'affiliate_earnings_text', label: '收益说明', type: 'textarea', default: '', dependsOn: { key: 'affiliate_enabled', value: true } },
{ key: 'affiliate_withdrawal_agreement', label: '提现协议', type: 'textarea', default: '', dependsOn: { key: 'affiliate_enabled', value: true } },
],
},
],