删除不再使用的文件,包括开放 API 鉴权规范文档、数据库迁移脚本和旧版图标组件,优化项目结构和资源管理。更新小程序代码以支持代付功能,增加代付分享弹窗和支付逻辑,提升用户体验。
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user