feat: 初始化天选公司 MVP

- 首页、信息录入页、结果页完整流程
- 命理分析规则引擎(五行计算)
- 公司类型与岗位方向匹配
- 响应式东方命理风格 UI

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jowe
2026-03-23 23:47:44 +08:00
parent fe531af56c
commit 9dfa2a9532
23 changed files with 3655 additions and 2 deletions

47
src/types/index.ts Normal file
View File

@@ -0,0 +1,47 @@
export interface UserInput {
birthDate: string; // YYYY-MM-DD
birthTime: string; // HH:mm
gender: 'male' | 'female';
birthPlace: string;
}
export interface FortuneProfile {
wuxing: 'wood' | 'fire' | 'earth' | 'metal' | 'water';
wuxingLabel: string;
personality: string[];
strengths: string[];
weaknesses: string[];
developmentRhythm: 'stable' | 'growth' | 'breakthrough' | 'accumulation';
}
export interface CompanyRecommendation {
type: string;
matchScore: number;
reasons: string[];
suitableFor: string[];
notSuitableFor: string[];
stageAdvice: string;
}
export interface JobRecommendation {
category: string;
matchScore: number;
reasons: string[];
suitableWorkStyle: string[];
notSuitableFor: string[];
}
export interface StageAdvice {
overall: string;
careerDirection: string;
jobChangeTiming: string;
platformPreference: string;
keyObservations: string[];
}
export interface FortuneResult {
profile: FortuneProfile;
companyRecommendations: CompanyRecommendation[];
jobRecommendations: JobRecommendation[];
stageAdvice: StageAdvice;
}