fix: fortunStatus unbalance bug

This commit is contained in:
lifeadventurer
2023-11-11 22:36:47 +08:00
parent c000c889b6
commit 6928e85406

View File

@@ -14,8 +14,8 @@ fetch("fortune.json")
badFortunes = data.badFortunes;
})
const textColor = ["#e74c3c", "#e74c3c", "#e74c3c", "#e74c3c", "#e74c3c", "#e74c3c", "#5eb95e", "#5eb95e", "#000000bf", "#000000bf", "#000000bf"];
const fortuneStatus = ["大吉", "中吉", "中吉", "小吉", "小吉", "小吉", "中平", "中平", "凶", "凶", "大凶"];
const textColor = ["#e74c3c", "#e74c3c", "#e74c3c", "#e74c3c", "#e74c3c", "#5eb95e", "#5eb95e", "#000000bf", "#000000bf", "#000000bf"];
const fortuneStatus = ["大吉", "中吉", "中吉", "小吉", "小吉", "中平", "中平", "凶", "凶", "大凶"];
const chineseMonth = ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"];
const week = ['日', '一', '二', '三', '四', '五', '六'];
@@ -23,8 +23,6 @@ const title = `<span style='font-size: 8vmin; color: #000000CC;'><b>今日運勢
const allGood = `<span style='font-size: 6vmin; color: #000000bf;'><b>萬事皆宜<b></span>`;
const allBad = `<span style='font-size: 6vmin; color: #e74c3c;'><b>諸事不宜<b></span>`;
const d = new Date();
const date = d.getDate();
const day = d.getDay();