You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

53 lines
839 B

export interface NavItem {
label: string;
href: string;
children?: NavItem[];
}
export interface Banner {
id: string;
title: string;
subtitle?: string;
image: string; // public/ 下路径或完整 URL
href?: string;
}
export interface Promo {
id: string;
title: string;
image: string;
href?: string;
}
export type ProductTag = "new" | "hot" | "sale" | "none";
export interface Product {
id: string;
name: string;
description?: string;
price?: number;
image: string;
href?: string;
tag?: ProductTag;
}
export interface Floor {
id: string;
title: string;
hero?: {
image: string;
href?: string;
title?: string;
subtitle?: string;
};
products: Product[];
}
export interface ServiceLink {
id: string;
title: string;
icon?: string; // 图标路径
href?: string;
}