优化商品展示:固定封面、正确编号与价格、租期与复制信息

使用固定商品图避免远程图加载慢;编号改为 listing_no;价格按 price_cent 换算;去掉 Hero 横幅;公告仅一条滚动;展示租期;区分复制编号与复制完整信息。
This commit is contained in:
yml2213
2026-07-13 23:37:26 +08:00
parent b82d7c4d1d
commit e73e766b56
5 changed files with 188 additions and 131 deletions
+7 -2
View File
@@ -14,6 +14,7 @@ export interface ListingResource {
export interface Listing {
id: number;
listing_no?: string;
title: string;
description: string;
game_name: string;
@@ -24,8 +25,12 @@ export interface Listing {
asset_summary?: Record<string, unknown>;
screenshot_urls: string[];
cover_url: string;
price: number;
deposit_amount: number;
price_cent: number;
deposit_amount_cent: number;
/** @deprecated 兼容旧字段,优先使用 price_cent */
price?: number;
/** @deprecated 兼容旧字段,优先使用 deposit_amount_cent */
deposit_amount?: number;
is_accelerated_sale?: boolean;
in_transaction: boolean;
published_at?: string;