Compare commits

...

6 Commits

5 changed files with 16 additions and 10 deletions

View File

@ -1,6 +1,6 @@
# 绝区零记录导出工具
# 绝区零调频记录导出工具
中文 | [English](https://git.loliquq.cn/earthjasonlin/zzz-signal-search-export/blob/main/docs/README_EN.md)
中文 | [English](https://github.com/earthjasonlin/zzz-signal-search-export/blob/main/docs/README_EN.md)
这个项目由[star-rail-warp-export](https://github.com/biuuu/star-rail-warp-export/)修改而来,功能基本一致。

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -1,6 +1,6 @@
# Zenless Zone Zero Signal Search History Exporter
[中文](https://git.loliquq.cn/earthjasonlin/zzz-signal-search-export/blob/main/README.md) | English
[中文](https://github.com/earthjasonlin/zzz-signal-search-export) | English
This project is modified from the [star-rail-warp-export](https://github.com/biuuu/star-rail-warp-export/) repository, and its functions are basically the same.

View File

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

View File

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