mirror of
https://github.com/Zippland/worth-calculator.git
synced 2026-02-15 16:25:41 +08:00
改一点
This commit is contained in:
@@ -208,8 +208,8 @@ const SalaryCalculator = () => {
|
||||
if (value < 1.0) return { text: "略惨", color: "text-red-500" };
|
||||
if (value <= 1.8) return { text: "一般", color: "text-orange-500" };
|
||||
if (value <= 2.5) return { text: "还不错", color: "text-blue-500" };
|
||||
if (value <= 3.0) return { text: "很爽", color: "text-green-500" };
|
||||
if (value <= 3.5) return { text: "爽到爆炸", color: "text-purple-500" };
|
||||
if (value <= 3.2) return { text: "很爽", color: "text-green-500" };
|
||||
if (value <= 4.0) return { text: "爽到爆炸", color: "text-purple-500" };
|
||||
return { text: "人生巅峰", color: "text-yellow-400" };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user