修正簡體字
This commit is contained in:
@@ -44,9 +44,9 @@ export default function CombinedResultsPage() {
|
||||
<div className="min-h-screen bg-background flex items-center justify-center">
|
||||
<Card className="w-full max-w-md">
|
||||
<CardContent className="text-center py-8">
|
||||
<p className="text-muted-foreground mb-4">未找到测试结果</p>
|
||||
<p className="text-muted-foreground mb-4">未找到測試結果</p>
|
||||
<Button asChild>
|
||||
<Link href="/tests/combined">重新测试</Link>
|
||||
<Link href="/tests/combined">重新測試</Link>
|
||||
</Button>
|
||||
</CardContent>
|
||||
</Card>
|
||||
@@ -74,9 +74,9 @@ export default function CombinedResultsPage() {
|
||||
<BarChart3 className="w-6 h-6 text-white" />
|
||||
</div>
|
||||
<div>
|
||||
<h1 className="text-xl font-bold text-foreground">综合能力测试结果</h1>
|
||||
<h1 className="text-xl font-bold text-foreground">綜合能力測試結果</h1>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
完成时间:{new Date(results.completedAt).toLocaleString("zh-CN")}
|
||||
完成時間:{new Date(results.completedAt).toLocaleString("zh-TW")}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -91,7 +91,7 @@ export default function CombinedResultsPage() {
|
||||
<div className="w-32 h-32 bg-gradient-to-r from-primary to-accent rounded-full flex items-center justify-center mx-auto mb-4">
|
||||
<span className="text-4xl font-bold text-white">{results.overallScore}</span>
|
||||
</div>
|
||||
<CardTitle className="text-4xl mb-2">综合评估完成!</CardTitle>
|
||||
<CardTitle className="text-4xl mb-2">綜合評估完成!</CardTitle>
|
||||
<div className="flex items-center justify-center gap-2 mb-4">
|
||||
<Badge className="bg-gradient-to-r from-primary to-accent text-white text-xl px-6 py-2">
|
||||
{results.level}
|
||||
@@ -106,13 +106,13 @@ export default function CombinedResultsPage() {
|
||||
<div className={`text-3xl font-bold mb-2 ${getScoreColor(results.logicScore)}`}>
|
||||
{results.logicScore}
|
||||
</div>
|
||||
<div className="text-sm text-muted-foreground">逻辑思维</div>
|
||||
<div className="text-sm text-muted-foreground">邏輯思維</div>
|
||||
</div>
|
||||
<div className="text-center">
|
||||
<div className={`text-3xl font-bold mb-2 ${getScoreColor(results.creativityScore)}`}>
|
||||
{results.creativityScore}
|
||||
</div>
|
||||
<div className="text-sm text-muted-foreground">创意能力</div>
|
||||
<div className="text-sm text-muted-foreground">創意能力</div>
|
||||
</div>
|
||||
<div className="text-center">
|
||||
<div className={`text-3xl font-bold mb-2 ${getScoreColor(results.breakdown.balance)}`}>
|
||||
@@ -131,7 +131,7 @@ export default function CombinedResultsPage() {
|
||||
<CardHeader>
|
||||
<CardTitle className="flex items-center gap-2">
|
||||
<Brain className="w-5 h-5 text-primary" />
|
||||
逻辑思维测试
|
||||
邏輯思維測試
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
@@ -146,11 +146,11 @@ export default function CombinedResultsPage() {
|
||||
<div className="grid grid-cols-2 gap-4 text-sm">
|
||||
<div className="text-center p-3 bg-muted/50 rounded">
|
||||
<div className="font-bold text-green-600">{results.logicCorrect}</div>
|
||||
<div className="text-muted-foreground">答对题数</div>
|
||||
<div className="text-muted-foreground">答對題數</div>
|
||||
</div>
|
||||
<div className="text-center p-3 bg-muted/50 rounded">
|
||||
<div className="font-bold text-primary">10</div>
|
||||
<div className="text-muted-foreground">总题数</div>
|
||||
<div className="text-muted-foreground">總題數</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -162,7 +162,7 @@ export default function CombinedResultsPage() {
|
||||
<CardHeader>
|
||||
<CardTitle className="flex items-center gap-2">
|
||||
<Lightbulb className="w-5 h-5 text-accent" />
|
||||
创意能力测试
|
||||
創意能力測試
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
@@ -177,11 +177,11 @@ export default function CombinedResultsPage() {
|
||||
<div className="grid grid-cols-2 gap-4 text-sm">
|
||||
<div className="text-center p-3 bg-muted/50 rounded">
|
||||
<div className="font-bold text-accent">{results.creativityTotal}</div>
|
||||
<div className="text-muted-foreground">总得分</div>
|
||||
<div className="text-muted-foreground">總得分</div>
|
||||
</div>
|
||||
<div className="text-center p-3 bg-muted/50 rounded">
|
||||
<div className="font-bold text-primary">{results.creativityMaxScore}</div>
|
||||
<div className="text-muted-foreground">满分</div>
|
||||
<div className="text-muted-foreground">滿分</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -201,28 +201,28 @@ export default function CombinedResultsPage() {
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
|
||||
<div className="text-center p-6 border rounded-lg">
|
||||
<Brain className="w-12 h-12 text-primary mx-auto mb-4" />
|
||||
<h3 className="font-semibold mb-2">逻辑思维</h3>
|
||||
<h3 className="font-semibold mb-2">邏輯思維</h3>
|
||||
<div className={`text-2xl font-bold mb-2 ${getScoreColor(results.logicScore)}`}>
|
||||
{results.logicScore}分
|
||||
</div>
|
||||
<Progress value={results.logicScore} className="h-2 mb-2" />
|
||||
<p className="text-sm text-muted-foreground">
|
||||
{results.logicScore >= 80 ? "表现优秀" : results.logicScore >= 60 ? "表现良好" : "需要提升"}
|
||||
{results.logicScore >= 80 ? "表現優秀" : results.logicScore >= 60 ? "表現良好" : "需要提升"}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="text-center p-6 border rounded-lg">
|
||||
<Lightbulb className="w-12 h-12 text-accent mx-auto mb-4" />
|
||||
<h3 className="font-semibold mb-2">创意能力</h3>
|
||||
<h3 className="font-semibold mb-2">創意能力</h3>
|
||||
<div className={`text-2xl font-bold mb-2 ${getScoreColor(results.creativityScore)}`}>
|
||||
{results.creativityScore}分
|
||||
</div>
|
||||
<Progress value={results.creativityScore} className="h-2 mb-2" />
|
||||
<p className="text-sm text-muted-foreground">
|
||||
{results.creativityScore >= 80
|
||||
? "表现优秀"
|
||||
? "表現優秀"
|
||||
: results.creativityScore >= 60
|
||||
? "表现良好"
|
||||
? "表現良好"
|
||||
: "需要提升"}
|
||||
</p>
|
||||
</div>
|
||||
@@ -238,8 +238,8 @@ export default function CombinedResultsPage() {
|
||||
{results.breakdown.balance >= 80
|
||||
? "非常均衡"
|
||||
: results.breakdown.balance >= 60
|
||||
? "相对均衡"
|
||||
: "发展不均"}
|
||||
? "相對均衡"
|
||||
: "發展不均"}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -252,7 +252,7 @@ export default function CombinedResultsPage() {
|
||||
<CardHeader>
|
||||
<CardTitle className="flex items-center gap-2">
|
||||
<Award className="w-5 h-5" />
|
||||
发展建议
|
||||
發展建議
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
@@ -275,17 +275,17 @@ export default function CombinedResultsPage() {
|
||||
<Button asChild size="lg">
|
||||
<Link href="/">
|
||||
<Home className="w-4 h-4 mr-2" />
|
||||
返回首页
|
||||
返回首頁
|
||||
</Link>
|
||||
</Button>
|
||||
<Button asChild variant="outline" size="lg">
|
||||
<Link href="/tests/combined">
|
||||
<RotateCcw className="w-4 h-4 mr-2" />
|
||||
重新测试
|
||||
重新測試
|
||||
</Link>
|
||||
</Button>
|
||||
<Button asChild variant="outline" size="lg">
|
||||
<Link href="/results">查看所有成绩</Link>
|
||||
<Link href="/results">查看所有成績</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -33,9 +33,9 @@ export default function CreativeResultsPage() {
|
||||
<div className="min-h-screen bg-background flex items-center justify-center">
|
||||
<Card className="w-full max-w-md">
|
||||
<CardContent className="text-center py-8">
|
||||
<p className="text-muted-foreground mb-4">未找到测试结果</p>
|
||||
<p className="text-muted-foreground mb-4">未找到測試結果</p>
|
||||
<Button asChild>
|
||||
<Link href="/tests/creative">重新测试</Link>
|
||||
<Link href="/tests/creative">重新測試</Link>
|
||||
</Button>
|
||||
</CardContent>
|
||||
</Card>
|
||||
@@ -44,21 +44,21 @@ export default function CreativeResultsPage() {
|
||||
}
|
||||
|
||||
const getCreativityLevel = (score: number) => {
|
||||
if (score >= 85) return { level: "极具创意", color: "bg-purple-500", description: "拥有卓越的创新思维和想象力" }
|
||||
if (score >= 75) return { level: "很有创意", color: "bg-blue-500", description: "具备较强的创造性思维能力" }
|
||||
if (score >= 65) return { level: "有一定创意", color: "bg-green-500", description: "具有一定的创新潜力" }
|
||||
if (score >= 50) return { level: "创意一般", color: "bg-yellow-500", description: "创造性思维有待提升" }
|
||||
return { level: "缺乏创意", color: "bg-red-500", description: "需要培养创新思维能力" }
|
||||
if (score >= 85) return { level: "極具創意", color: "bg-purple-500", description: "擁有卓越的創新思維和想像力" }
|
||||
if (score >= 75) return { level: "很有創意", color: "bg-blue-500", description: "具備較強的創造性思維能力" }
|
||||
if (score >= 65) return { level: "有一定創意", color: "bg-green-500", description: "具有一定的創新潛力" }
|
||||
if (score >= 50) return { level: "創意一般", color: "bg-yellow-500", description: "創造性思維有待提升" }
|
||||
return { level: "缺乏創意", color: "bg-red-500", description: "需要培養創新思維能力" }
|
||||
}
|
||||
|
||||
const creativityLevel = getCreativityLevel(results.score)
|
||||
|
||||
// Calculate category scores
|
||||
const categoryScores = {
|
||||
innovation: { total: 0, count: 0, name: "创新能力" },
|
||||
imagination: { total: 0, count: 0, name: "想象力" },
|
||||
flexibility: { total: 0, count: 0, name: "灵活性" },
|
||||
originality: { total: 0, count: 0, name: "原创性" },
|
||||
innovation: { total: 0, count: 0, name: "創新能力" },
|
||||
imagination: { total: 0, count: 0, name: "想像力" },
|
||||
flexibility: { total: 0, count: 0, name: "靈活性" },
|
||||
originality: { total: 0, count: 0, name: "原創性" },
|
||||
}
|
||||
|
||||
creativeQuestions.forEach((question, index) => {
|
||||
@@ -86,9 +86,9 @@ export default function CreativeResultsPage() {
|
||||
<Lightbulb className="w-6 h-6 text-accent-foreground" />
|
||||
</div>
|
||||
<div>
|
||||
<h1 className="text-xl font-bold text-foreground">创意能力测试结果</h1>
|
||||
<h1 className="text-xl font-bold text-foreground">創意能力測試結果</h1>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
完成时间:{new Date(results.completedAt).toLocaleString("zh-CN")}
|
||||
完成時間:{new Date(results.completedAt).toLocaleString("zh-TW")}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -105,7 +105,7 @@ export default function CreativeResultsPage() {
|
||||
>
|
||||
<span className="text-3xl font-bold text-white">{results.score}</span>
|
||||
</div>
|
||||
<CardTitle className="text-3xl mb-2">创意测试完成!</CardTitle>
|
||||
<CardTitle className="text-3xl mb-2">創意測試完成!</CardTitle>
|
||||
<div className="flex items-center justify-center gap-2 mb-4">
|
||||
<Badge variant="secondary" className="text-lg px-4 py-1">
|
||||
{creativityLevel.level}
|
||||
@@ -139,7 +139,7 @@ export default function CreativeResultsPage() {
|
||||
<CardHeader>
|
||||
<CardTitle className="flex items-center gap-2">
|
||||
<TrendingUp className="w-5 h-5" />
|
||||
能力维度分析
|
||||
能力維度分析
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
@@ -163,20 +163,20 @@ export default function CreativeResultsPage() {
|
||||
{/* Detailed Feedback */}
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>详细反馈</CardTitle>
|
||||
<CardTitle>詳細反饋</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="space-y-4">
|
||||
<div className="p-4 bg-muted/50 rounded-lg">
|
||||
<h3 className="font-medium mb-2">创意能力评估</h3>
|
||||
<h3 className="font-medium mb-2">創意能力評估</h3>
|
||||
<p className="text-sm text-muted-foreground leading-relaxed">
|
||||
基于您的测试结果,您在创意思维方面表现为"{creativityLevel.level}"水平。
|
||||
基於您的測試結果,您在創意思維方面表現為「{creativityLevel.level}」水平。
|
||||
{results.score >= 75 &&
|
||||
"您具备出色的创新思维能力,善于从不同角度思考问题,能够产生独特的想法和解决方案。"}
|
||||
"您具備出色的創新思維能力,善於從不同角度思考問題,能夠產生獨特的想法和解決方案。"}
|
||||
{results.score >= 50 &&
|
||||
results.score < 75 &&
|
||||
"您具有一定的创造性思维潜力,建议多参与创新活动,培养发散性思维。"}
|
||||
{results.score < 50 && "建议您多接触创新思维训练,培养好奇心和探索精神,提升创造性解决问题的能力。"}
|
||||
"您具有一定的創造性思維潛力,建議多參與創新活動,培養發散性思維。"}
|
||||
{results.score < 50 && "建議您多接觸創新思維訓練,培養好奇心和探索精神,提升創造性解決問題的能力。"}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -189,9 +189,9 @@ export default function CreativeResultsPage() {
|
||||
<span className="text-sm font-medium">{category.score}%</span>
|
||||
</div>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
{category.score >= 80 && "表现优秀,继续保持"}
|
||||
{category.score >= 60 && category.score < 80 && "表现良好,有提升空间"}
|
||||
{category.score < 60 && "需要重点提升"}
|
||||
{category.score >= 80 && "表現優秀,繼續保持"}
|
||||
{category.score >= 60 && category.score < 80 && "表現良好,有提升空間"}
|
||||
{category.score < 60 && "需要重點提升"}
|
||||
</p>
|
||||
</div>
|
||||
))}
|
||||
@@ -211,11 +211,11 @@ export default function CreativeResultsPage() {
|
||||
<Button asChild variant="outline" size="lg">
|
||||
<Link href="/tests/creative">
|
||||
<RotateCcw className="w-4 h-4 mr-2" />
|
||||
重新测试
|
||||
重新測試
|
||||
</Link>
|
||||
</Button>
|
||||
<Button asChild variant="outline" size="lg">
|
||||
<Link href="/tests/logic">开始逻辑测试</Link>
|
||||
<Link href="/tests/logic">開始邏輯測試</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -33,9 +33,9 @@ export default function LogicResultsPage() {
|
||||
<div className="min-h-screen bg-background flex items-center justify-center">
|
||||
<Card className="w-full max-w-md">
|
||||
<CardContent className="text-center py-8">
|
||||
<p className="text-muted-foreground mb-4">未找到测试结果</p>
|
||||
<p className="text-muted-foreground mb-4">未找到測試結果</p>
|
||||
<Button asChild>
|
||||
<Link href="/tests/logic">重新测试</Link>
|
||||
<Link href="/tests/logic">重新測試</Link>
|
||||
</Button>
|
||||
</CardContent>
|
||||
</Card>
|
||||
@@ -44,11 +44,11 @@ export default function LogicResultsPage() {
|
||||
}
|
||||
|
||||
const getScoreLevel = (score: number) => {
|
||||
if (score >= 90) return { level: "优秀", color: "bg-green-500", description: "逻辑思维能力出色" }
|
||||
if (score >= 80) return { level: "良好", color: "bg-blue-500", description: "逻辑思维能力较强" }
|
||||
if (score >= 70) return { level: "中等", color: "bg-yellow-500", description: "逻辑思维能力一般" }
|
||||
if (score >= 60) return { level: "及格", color: "bg-orange-500", description: "逻辑思维能力需要提升" }
|
||||
return { level: "不及格", color: "bg-red-500", description: "逻辑思维能力有待加强" }
|
||||
if (score >= 90) return { level: "優秀", color: "bg-green-500", description: "邏輯思維能力出色" }
|
||||
if (score >= 80) return { level: "良好", color: "bg-blue-500", description: "邏輯思維能力較強" }
|
||||
if (score >= 70) return { level: "中等", color: "bg-yellow-500", description: "邏輯思維能力一般" }
|
||||
if (score >= 60) return { level: "及格", color: "bg-orange-500", description: "邏輯思維能力需要提升" }
|
||||
return { level: "不及格", color: "bg-red-500", description: "邏輯思維能力有待加強" }
|
||||
}
|
||||
|
||||
const scoreLevel = getScoreLevel(results.score)
|
||||
@@ -63,9 +63,9 @@ export default function LogicResultsPage() {
|
||||
<Brain className="w-6 h-6 text-primary-foreground" />
|
||||
</div>
|
||||
<div>
|
||||
<h1 className="text-xl font-bold text-foreground">逻辑思维测试结果</h1>
|
||||
<h1 className="text-xl font-bold text-foreground">邏輯思維測試結果</h1>
|
||||
<p className="text-sm text-muted-foreground">
|
||||
完成时间:{new Date(results.completedAt).toLocaleString("zh-CN")}
|
||||
完成時間:{new Date(results.completedAt).toLocaleString("zh-TW")}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -82,7 +82,7 @@ export default function LogicResultsPage() {
|
||||
>
|
||||
<span className="text-3xl font-bold text-white">{results.score}</span>
|
||||
</div>
|
||||
<CardTitle className="text-3xl mb-2">测试完成!</CardTitle>
|
||||
<CardTitle className="text-3xl mb-2">測試完成!</CardTitle>
|
||||
<div className="flex items-center justify-center gap-2 mb-4">
|
||||
<Badge variant="secondary" className="text-lg px-4 py-1">
|
||||
{scoreLevel.level}
|
||||
@@ -94,17 +94,17 @@ export default function LogicResultsPage() {
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
|
||||
<div className="text-center">
|
||||
<div className="text-2xl font-bold text-green-600 mb-1">{results.correctAnswers}</div>
|
||||
<div className="text-sm text-muted-foreground">答对题数</div>
|
||||
<div className="text-sm text-muted-foreground">答對題數</div>
|
||||
</div>
|
||||
<div className="text-center">
|
||||
<div className="text-2xl font-bold text-primary mb-1">{results.totalQuestions}</div>
|
||||
<div className="text-sm text-muted-foreground">总题数</div>
|
||||
<div className="text-sm text-muted-foreground">總題數</div>
|
||||
</div>
|
||||
<div className="text-center">
|
||||
<div className="text-2xl font-bold text-accent mb-1">
|
||||
{Math.round((results.correctAnswers / results.totalQuestions) * 100)}%
|
||||
</div>
|
||||
<div className="text-sm text-muted-foreground">正确率</div>
|
||||
<div className="text-sm text-muted-foreground">正確率</div>
|
||||
</div>
|
||||
</div>
|
||||
<Progress value={results.score} className="h-3 mb-4" />
|
||||
@@ -114,7 +114,7 @@ export default function LogicResultsPage() {
|
||||
{/* Detailed Results */}
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>详细结果</CardTitle>
|
||||
<CardTitle>詳細結果</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="space-y-6">
|
||||
@@ -136,7 +136,7 @@ export default function LogicResultsPage() {
|
||||
</div>
|
||||
<div className="flex-1">
|
||||
<h3 className="font-medium mb-2 text-balance">
|
||||
第{index + 1}题:{question.question}
|
||||
第{index + 1}題:{question.question}
|
||||
</h3>
|
||||
<div className="space-y-2 text-sm">
|
||||
<div className="flex items-center gap-2">
|
||||
@@ -147,7 +147,7 @@ export default function LogicResultsPage() {
|
||||
</div>
|
||||
{!isCorrect && (
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-muted-foreground">正确答案:</span>
|
||||
<span className="text-muted-foreground">正確答案:</span>
|
||||
<Badge variant="outline" className="border-green-500 text-green-700">
|
||||
{correctOption?.text}
|
||||
</Badge>
|
||||
@@ -174,17 +174,17 @@ export default function LogicResultsPage() {
|
||||
<Button asChild size="lg">
|
||||
<Link href="/">
|
||||
<Home className="w-4 h-4 mr-2" />
|
||||
返回首页
|
||||
返回首頁
|
||||
</Link>
|
||||
</Button>
|
||||
<Button asChild variant="outline" size="lg">
|
||||
<Link href="/tests/logic">
|
||||
<RotateCcw className="w-4 h-4 mr-2" />
|
||||
重新测试
|
||||
重新測試
|
||||
</Link>
|
||||
</Button>
|
||||
<Button asChild variant="outline" size="lg">
|
||||
<Link href="/tests/creative">开始创意测试</Link>
|
||||
<Link href="/tests/creative">開始創意測試</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user