合同初步可以访问

This commit is contained in:
2025-05-29 17:42:35 +08:00
parent 9200654c35
commit b92d87a3b4
16 changed files with 2239 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
// 合同模板相关类型定义
export interface Template {
id: string;
title: string;
type: string;
description: string;
updateTime: string;
useCount: number;
rating: number;
category: string;
}
export interface TemplateDetail extends Template {
fileSize: string;
scope: string;
legalBasis: string;
templateCode: string;
reviews: Review[];
features: Feature[];
structure: StructureItem[];
preview: string;
}
export interface Review {
user: string;
rating: number;
comment: string;
date: string;
}
export interface Feature {
title: string;
description: string;
icon: string;
color: string;
}
export interface StructureItem {
step: number;
title: string;
description: string;
}
export interface FilterItem {
label: string;
count: number;
}
export interface CategoryItem {
name: string;
icon: string;
count: number;
}
export type ViewMode = 'grid' | 'list';
export type SortBy = 'relevance' | 'newest' | 'popular' | 'rating';