修正簡體字

This commit is contained in:
2025-09-28 20:42:05 +08:00
parent 18a6583c6b
commit 337a0edb6e
6 changed files with 109 additions and 115 deletions

View File

@@ -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>