Compare commits

..

No commits in common. "f1e3b76d8535495593b04802823d95fe3976cdf5" and "66188231bc2ef157aaa8072b3ee84262eef3a92d" have entirely different histories.

2 changed files with 7 additions and 13 deletions

@ -1,6 +1,6 @@
{
"name": "zzz-signal-search-export",
"version": "1.0.7",
"version": "1.0.6",
"main": "./dist/electron/main/main.js",
"author": "earthjasonlin <https://git.loliquq.cn/earthjasonlin>",
"homepage": "https://github.com/earthjasonlin/zzz-signal-search-export",

@ -82,17 +82,11 @@ const start = async () => {
arr.push(log.time)
arr.push(log.name)
arr.push(log.item_type)
if(log.rank_type === '2') {
arr.push(i18n.ui.data.star2)
} else if(log.rank_type === '3') {
arr.push(i18n.ui.data.star3)
} else {
arr.push(i18n.ui.data.star4)
}
arr.push(log.rank_type)
arr.push(total)
arr.push(pity)
temp.push(arr)
if (log.rank_type === '4') {
if (log.rank_type === '5') {
pity = 0
}
// if (key === '301') {
@ -139,14 +133,14 @@ const start = async () => {
}
// rare rank background color
const rankColor = {
2: "ff8e8e8e",
3: "ffa256e1",
4: "ffbd6932",
3: "ff8e8e8e",
4: "ffa256e1",
5: "ffbd6932",
}
sheet.getCell(`${c}${i + 2}`).font = {
name: customFont,
color: { argb: rankColor[v.rank_type] },
bold : v.rank_type != "2"
bold : v.rank_type != "3"
}
})
})