删除不再使用的文件,包括开放 API 鉴权规范文档、数据库迁移脚本和旧版图标组件,优化项目结构和资源管理。更新小程序代码以支持代付功能,增加代付分享弹窗和支付逻辑,提升用户体验。

This commit is contained in:
Alex-larget
2026-03-18 20:33:50 +08:00
parent 0f3933fabd
commit d6cdd6fdba
57 changed files with 1672 additions and 2761 deletions

View File

@@ -1285,6 +1285,7 @@ export function DistributionPage() {
<option value="pending"></option>
<option value="pending_pay"></option>
<option value="paid"></option>
<option value="refunded">退</option>
<option value="cancelled"></option>
<option value="expired"></option>
</select>
@@ -1331,10 +1332,20 @@ export function DistributionPage() {
? 'bg-green-500/20 text-green-400 border-0'
: r.status === 'pending' || r.status === 'pending_pay'
? 'bg-amber-500/20 text-amber-400 border-0'
: r.status === 'refunded'
? 'bg-red-500/20 text-red-400 border-0'
: 'bg-gray-500/20 text-gray-400 border-0'
}
>
{r.status === 'paid' ? '已支付' : r.status === 'pending' || r.status === 'pending_pay' ? '待支付' : r.status === 'cancelled' ? '已取消' : '已过期'}
{r.status === 'paid'
? '已支付'
: r.status === 'pending' || r.status === 'pending_pay'
? '待支付'
: r.status === 'refunded'
? '已退款'
: r.status === 'cancelled'
? '已取消'
: '已过期'}
</Badge>
</td>
<td className="p-4 text-gray-400 text-sm">