mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-22 04:59:45 +08:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4057d96ea | ||
|
|
d3b24d52c9 | ||
|
|
711d35360f | ||
|
|
f0428d0bae | ||
|
|
59a686cace | ||
|
|
b628df5ae9 | ||
|
|
b22d23f663 |
12
CHANGELOG.md
12
CHANGELOG.md
@@ -2,12 +2,20 @@
|
||||
Author: 目棃
|
||||
Description: CHANGELOG
|
||||
Date: 2024-01-15
|
||||
Update: 2024-06-04
|
||||
Update: 2024-06-14
|
||||
---
|
||||
|
||||
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-01-15 17:29:15`
|
||||
>
|
||||
> 更新于 `2024-06-04 20:07:53`
|
||||
> 更新于 `2024-06-14 22:52:08`
|
||||
|
||||
## [0.4.9](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.9) (2024-06-14)
|
||||
|
||||
- 💄 调整帖子 `tag` 样式
|
||||
- 🐛 修复成就导入异常
|
||||
- ✏️ 修正角色图鉴部分描述
|
||||
- 🍱 更新卡牌资料
|
||||
- ⚡️ 成就查询输入为空时重置结果
|
||||
|
||||
## [0.4.8](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.8) (2024-06-04)
|
||||
|
||||
|
||||
56
package.json
56
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "TeyvatGuide",
|
||||
"version": "0.4.8",
|
||||
"version": "0.4.9",
|
||||
"description": "Game Tool for Genshin Impact player",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
@@ -66,9 +66,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@mdi/font": "7.4.47",
|
||||
"@tauri-apps/api": "^1.5.5",
|
||||
"ajv": "^8.13.0",
|
||||
"artplayer": "^5.1.1",
|
||||
"@tauri-apps/api": "^1.5.6",
|
||||
"ajv": "^8.16.0",
|
||||
"artplayer": "^5.1.5",
|
||||
"clipboard": "^2.0.11",
|
||||
"color-convert": "^2.0.1",
|
||||
"echarts": "^5.5.0",
|
||||
@@ -79,43 +79,43 @@
|
||||
"qrcode.vue": "^3.4.1",
|
||||
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v1",
|
||||
"tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql#v1",
|
||||
"uuid": "^9.0.1",
|
||||
"uuid": "^10.0.0",
|
||||
"vue": "^3.4.27",
|
||||
"vue-echarts": "^6.7.2",
|
||||
"vue-echarts": "^6.7.3",
|
||||
"vue-json-viewer": "^3.0.4",
|
||||
"vue-router": "^4.3.2",
|
||||
"vuetify": "^3.6.6",
|
||||
"vue-router": "^4.3.3",
|
||||
"vuetify": "^3.6.9",
|
||||
"wcag-color": "^1.1.1",
|
||||
"xml-js": "^1.6.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.0.2",
|
||||
"@eslint/js": "^9.2.0",
|
||||
"@eslint/eslintrc": "^3.1.0",
|
||||
"@eslint/js": "^9.4.0",
|
||||
"@tauri-apps/cli": "^1.5.14",
|
||||
"@types/color-convert": "^2.0.3",
|
||||
"@types/js-md5": "^0.7.2",
|
||||
"@types/node": "^20.12.12",
|
||||
"@types/node": "^20.14.2",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"@typescript-eslint/parser": "^7.9.0",
|
||||
"@vitejs/plugin-vue": "^5.0.4",
|
||||
"@typescript-eslint/parser": "^7.13.0",
|
||||
"@vitejs/plugin-vue": "^5.0.5",
|
||||
"concurrently": "^8.2.2",
|
||||
"eslint": "^9.2.0",
|
||||
"eslint-config-love": "^47.0.0",
|
||||
"eslint": "^9.4.0",
|
||||
"eslint-config-love": "^52.0.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-jsonc": "^2.15.1",
|
||||
"eslint-plugin-n": "^17.7.0",
|
||||
"eslint-plugin-jsonc": "^2.16.0",
|
||||
"eslint-plugin-n": "^17.8.1",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-promise": "^6.2.0",
|
||||
"eslint-plugin-vue": "^9.26.0",
|
||||
"eslint-plugin-yml": "^1.14.0",
|
||||
"globals": "^15.2.0",
|
||||
"globals": "^15.4.0",
|
||||
"husky": "^9.0.11",
|
||||
"jsonc-eslint-parser": "^2.4.0",
|
||||
"lint-staged": "^15.2.2",
|
||||
"oxlint": "^0.3.4",
|
||||
"prettier": "3.2.5",
|
||||
"stylelint": "^16.5.0",
|
||||
"lint-staged": "^15.2.6",
|
||||
"oxlint": "^0.4.3",
|
||||
"prettier": "3.3.2",
|
||||
"stylelint": "^16.6.1",
|
||||
"stylelint-config-idiomatic-order": "^10.0.0",
|
||||
"stylelint-config-standard-vue": "^1.0.0",
|
||||
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
|
||||
@@ -123,11 +123,11 @@
|
||||
"stylelint-order": "^6.0.4",
|
||||
"stylelint-prettier": "^5.0.0",
|
||||
"typescript": "^5.4.5",
|
||||
"typescript-eslint": "^7.9.0",
|
||||
"vite": "^5.2.11",
|
||||
"vite-plugin-vue-devtools": "^7.1.3",
|
||||
"typescript-eslint": "^7.13.0",
|
||||
"vite": "^5.2.13",
|
||||
"vite-plugin-vue-devtools": "^7.2.1",
|
||||
"vite-plugin-vuetify": "^2.0.3",
|
||||
"vue-eslint-parser": "^9.4.2",
|
||||
"yaml-eslint-parser": "^1.2.2"
|
||||
"vue-eslint-parser": "^9.4.3",
|
||||
"yaml-eslint-parser": "^1.2.3"
|
||||
}
|
||||
}
|
||||
|
||||
960
pnpm-lock.yaml
generated
960
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
BIN
public/WIKI/GCG/normal/机关·算力增幅器.webp
Normal file
BIN
public/WIKI/GCG/normal/机关·算力增幅器.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
BIN
public/WIKI/GCG/normal/机关·算力增幅器·芒.webp
Normal file
BIN
public/WIKI/GCG/normal/机关·算力增幅器·芒.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
BIN
public/WIKI/GCG/normal/机关·算力增幅器·荒.webp
Normal file
BIN
public/WIKI/GCG/normal/机关·算力增幅器·荒.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
BIN
public/WIKI/GCG/normal/歼灭特化型机关.webp
Normal file
BIN
public/WIKI/GCG/normal/歼灭特化型机关.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
BIN
public/WIKI/GCG/normal/歼灭特化型机关·芒.webp
Normal file
BIN
public/WIKI/GCG/normal/歼灭特化型机关·芒.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
BIN
public/WIKI/GCG/normal/歼灭特化型机关·荒.webp
Normal file
BIN
public/WIKI/GCG/normal/歼灭特化型机关·荒.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
638
src-tauri/Cargo.lock
generated
638
src-tauri/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "TeyvatGuide"
|
||||
version = "0.4.8"
|
||||
version = "0.4.9"
|
||||
description = "Game Tool for Genshin Impact player"
|
||||
authors = ["BTMuli <bt-muli@outlook.com>"]
|
||||
license = "MIT"
|
||||
@@ -10,16 +10,16 @@ edition = "2021"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { version = "1.4", features = [] }
|
||||
tauri-build = { version = "1.5.2", features = [] }
|
||||
|
||||
[dependencies]
|
||||
chrono = "0.4.38"
|
||||
log = "0.4.21"
|
||||
serde = { version = "1.0.201", features = ["derive"] }
|
||||
serde = { version = "1.0.203", features = ["derive"] }
|
||||
serde_json = "1.0.117"
|
||||
tauri = { version = "1.6.7", features = [ "shell-execute", "shell-open", "window-set-always-on-top", "window-set-fullscreen", "dialog-message", "process-exit", "fs-read-dir", "window-hide", "os-all", "clipboard-all", "dialog-open", "dialog-save", "fs-create-dir", "fs-remove-dir", "fs-write-file", "fs-remove-file", "fs-read-file", "path-all", "fs-exists", "window-close", "window-set-title", "window-unminimize", "window-show", "window-set-focus", "http-request"] }
|
||||
tauri = { version = "1.6.8", features = [ "shell-execute", "shell-open", "window-set-always-on-top", "window-set-fullscreen", "dialog-message", "process-exit", "fs-read-dir", "window-hide", "os-all", "clipboard-all", "dialog-open", "dialog-save", "fs-create-dir", "fs-remove-dir", "fs-write-file", "fs-remove-file", "fs-read-file", "path-all", "fs-exists", "window-close", "window-set-title", "window-unminimize", "window-show", "window-set-focus", "http-request"] }
|
||||
tauri-utils = "1.5.4"
|
||||
url = "2.5.0"
|
||||
url = "2.5.1"
|
||||
walkdir = "2.5.0"
|
||||
|
||||
# sqlite 插件
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
},
|
||||
"package": {
|
||||
"productName": "TeyvatGuide",
|
||||
"version": "0.4.8"
|
||||
"version": "0.4.9"
|
||||
},
|
||||
"tauri": {
|
||||
"allowlist": {
|
||||
|
||||
@@ -38716,7 +38716,7 @@
|
||||
"talks": [
|
||||
{
|
||||
"Title": "初次见面…",
|
||||
"Context": "#这位{M#先生}{F#小姐},是在叫我吗?你好你好,我叫赛索斯。你呢,找我有什么事吗?哎呀,也别干站着了,我知道一个适合坐下来聊天的好地方,跟我来吧。"
|
||||
"Context": "<color=#FFA726>【空视角】</color>\r\n这位先生,是在叫我吗?你好你好,我叫赛索斯。你呢,找我有什么事吗?哎呀,也别干站着了,我知道一个适合坐下来聊天的好地方,跟我来吧。\r\n\r\n<color=#FFA726>【荧视角】</color>\r\n这位小姐,是在叫我吗?你好你好,我叫赛索斯。你呢,找我有什么事吗?哎呀,也别干站着了,我知道一个适合坐下来聊天的好地方,跟我来吧。"
|
||||
},
|
||||
{
|
||||
"Title": "闲聊·思考",
|
||||
@@ -39353,7 +39353,7 @@
|
||||
},
|
||||
{
|
||||
"Title": "生日…",
|
||||
"Context": "#生日快乐。这短剑样式的项链由我亲手打造,送给你作为礼物。\n按照逐影猎人的传统,在新成员作为逐影猎人度过第一次生日时,教导这位猎人的导师会为{M#他}{F#她}亲手打造一柄刻有姓名的短剑项链,并让{M#他}{F#她}把它时刻挂在胸口。这象征着用剑锋指问自己的内心,是否涉足恶孽,是否心有旁骛,是否有决心逐灭邪魔。\n虽然你不是逐影猎人,但我相信你和我们一样,有着惩恶扬善的决心。\n为什么样式不是铳枪?因为铳枪会走火,指问内心的手段太直接了也不行。"
|
||||
"Context": "<color=#FFA726>【空视角】</color>\r\n生日快乐。这短剑样式的项链由我亲手打造,送给你作为礼物。\n按照逐影猎人的传统,在新成员作为逐影猎人度过第一次生日时,教导这位猎人的导师会为他亲手打造一柄刻有姓名的短剑项链,并让他把它时刻挂在胸口。这象征着用剑锋指问自己的内心,是否涉足恶孽,是否心有旁骛,是否有决心逐灭邪魔。\n虽然你不是逐影猎人,但我相信你和我们一样,有着惩恶扬善的决心。\n为什么样式不是铳枪?因为铳枪会走火,指问内心的手段太直接了也不行。\r\n\r\n<color=#FFA726>【荧视角】</color>\r\n生日快乐。这短剑样式的项链由我亲手打造,送给你作为礼物。\n按照逐影猎人的传统,在新成员作为逐影猎人度过第一次生日时,教导这位猎人的导师会为她亲手打造一柄刻有姓名的短剑项链,并让她把它时刻挂在胸口。这象征着用剑锋指问自己的内心,是否涉足恶孽,是否心有旁骛,是否有决心逐灭邪魔。\n虽然你不是逐影猎人,但我相信你和我们一样,有着惩恶扬善的决心。\n为什么样式不是铳枪?因为铳枪会走火,指问内心的手段太直接了也不行。"
|
||||
},
|
||||
{
|
||||
"Title": "突破的感受·起",
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
},
|
||||
{
|
||||
"id": 1111,
|
||||
"contentId": 0,
|
||||
"contentId": 501414,
|
||||
"name": "莱欧斯利",
|
||||
"type": "角色牌",
|
||||
"icon": "/WIKI/GCG/normal/莱欧斯利.webp",
|
||||
@@ -404,7 +404,7 @@
|
||||
},
|
||||
{
|
||||
"id": 1312,
|
||||
"contentId": 0,
|
||||
"contentId": 501397,
|
||||
"name": "辛焱",
|
||||
"type": "角色牌",
|
||||
"icon": "/WIKI/GCG/normal/辛焱.webp",
|
||||
@@ -729,7 +729,7 @@
|
||||
},
|
||||
{
|
||||
"id": 1607,
|
||||
"contentId": 0,
|
||||
"contentId": 501399,
|
||||
"name": "云堇",
|
||||
"type": "角色牌",
|
||||
"icon": "/WIKI/GCG/normal/云堇.webp",
|
||||
@@ -825,7 +825,7 @@
|
||||
},
|
||||
{
|
||||
"id": 1708,
|
||||
"contentId": 0,
|
||||
"contentId": 501424,
|
||||
"name": "卡维",
|
||||
"type": "角色牌",
|
||||
"icon": "/WIKI/GCG/normal/卡维.webp",
|
||||
@@ -909,7 +909,7 @@
|
||||
},
|
||||
{
|
||||
"id": 2204,
|
||||
"contentId": 0,
|
||||
"contentId": 501405,
|
||||
"name": "吞星之鲸",
|
||||
"type": "角色牌",
|
||||
"icon": "/WIKI/GCG/normal/吞星之鲸.webp",
|
||||
@@ -1017,7 +1017,7 @@
|
||||
},
|
||||
{
|
||||
"id": 2405,
|
||||
"contentId": 0,
|
||||
"contentId": 501390,
|
||||
"name": "圣骸毒蝎",
|
||||
"type": "角色牌",
|
||||
"icon": "/WIKI/GCG/normal/圣骸毒蝎.webp",
|
||||
@@ -1054,7 +1054,7 @@
|
||||
},
|
||||
{
|
||||
"id": 2503,
|
||||
"contentId": 0,
|
||||
"contentId": 501391,
|
||||
"name": "圣骸飞蛇",
|
||||
"type": "角色牌",
|
||||
"icon": "/WIKI/GCG/normal/圣骸飞蛇.webp",
|
||||
@@ -1104,7 +1104,7 @@
|
||||
},
|
||||
{
|
||||
"id": 2702,
|
||||
"contentId": 0,
|
||||
"contentId": 501389,
|
||||
"name": "阿佩普的绿洲守望者",
|
||||
"type": "角色牌",
|
||||
"icon": "/WIKI/GCG/normal/阿佩普的绿洲守望者.webp",
|
||||
@@ -1114,6 +1114,54 @@
|
||||
"GCG_TAG_CAMP_MONSTER": "魔物"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 0,
|
||||
"contentId": 501447,
|
||||
"name": "歼灭特化型机关",
|
||||
"type": "魔物牌",
|
||||
"icon": "/WIKI/GCG/normal/歼灭特化型机关.webp",
|
||||
"tags": {}
|
||||
},
|
||||
{
|
||||
"id": 0,
|
||||
"contentId": 501446,
|
||||
"name": "歼灭特化型机关·芒",
|
||||
"type": "魔物牌",
|
||||
"icon": "/WIKI/GCG/normal/歼灭特化型机关·芒.webp",
|
||||
"tags": {}
|
||||
},
|
||||
{
|
||||
"id": 0,
|
||||
"contentId": 501445,
|
||||
"name": "歼灭特化型机关·荒",
|
||||
"type": "魔物牌",
|
||||
"icon": "/WIKI/GCG/normal/歼灭特化型机关·荒.webp",
|
||||
"tags": {}
|
||||
},
|
||||
{
|
||||
"id": 0,
|
||||
"contentId": 501444,
|
||||
"name": "机关·算力增幅器·荒",
|
||||
"type": "魔物牌",
|
||||
"icon": "/WIKI/GCG/normal/机关·算力增幅器·荒.webp",
|
||||
"tags": {}
|
||||
},
|
||||
{
|
||||
"id": 0,
|
||||
"contentId": 501443,
|
||||
"name": "机关·算力增幅器",
|
||||
"type": "魔物牌",
|
||||
"icon": "/WIKI/GCG/normal/机关·算力增幅器.webp",
|
||||
"tags": {}
|
||||
},
|
||||
{
|
||||
"id": 0,
|
||||
"contentId": 501442,
|
||||
"name": "机关·算力增幅器·芒",
|
||||
"type": "魔物牌",
|
||||
"icon": "/WIKI/GCG/normal/机关·算力增幅器·芒.webp",
|
||||
"tags": {}
|
||||
},
|
||||
{
|
||||
"id": 0,
|
||||
"contentId": 501317,
|
||||
@@ -1641,7 +1689,7 @@
|
||||
},
|
||||
{
|
||||
"id": 211111,
|
||||
"contentId": 0,
|
||||
"contentId": 501398,
|
||||
"name": "予行恶者以惩惧",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/予行恶者以惩惧.webp",
|
||||
@@ -1762,7 +1810,7 @@
|
||||
},
|
||||
{
|
||||
"id": 212111,
|
||||
"contentId": 0,
|
||||
"contentId": 501400,
|
||||
"name": "「诸君听我颂,共举爱之杯!」",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/「诸君听我颂,共举爱之杯!」.webp",
|
||||
@@ -1894,7 +1942,7 @@
|
||||
},
|
||||
{
|
||||
"id": 213121,
|
||||
"contentId": 0,
|
||||
"contentId": 501396,
|
||||
"name": "地狱里摇摆",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/地狱里摇摆.webp",
|
||||
@@ -2190,7 +2238,7 @@
|
||||
},
|
||||
{
|
||||
"id": 216071,
|
||||
"contentId": 0,
|
||||
"contentId": 501402,
|
||||
"name": "庄谐并举",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/庄谐并举.webp",
|
||||
@@ -2278,7 +2326,7 @@
|
||||
},
|
||||
{
|
||||
"id": 217081,
|
||||
"contentId": 0,
|
||||
"contentId": 501403,
|
||||
"name": "预算师的技艺",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/预算师的技艺.webp",
|
||||
@@ -2352,7 +2400,7 @@
|
||||
},
|
||||
{
|
||||
"id": 222041,
|
||||
"contentId": 0,
|
||||
"contentId": 501404,
|
||||
"name": "无光鲸噬",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/无光鲸噬.webp",
|
||||
@@ -2448,7 +2496,7 @@
|
||||
},
|
||||
{
|
||||
"id": 224051,
|
||||
"contentId": 0,
|
||||
"contentId": 501393,
|
||||
"name": "亡雷凝蓄",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/亡雷凝蓄.webp",
|
||||
@@ -2480,7 +2528,7 @@
|
||||
},
|
||||
{
|
||||
"id": 225031,
|
||||
"contentId": 0,
|
||||
"contentId": 501392,
|
||||
"name": "亡风啸卷",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/亡风啸卷.webp",
|
||||
@@ -2523,7 +2571,7 @@
|
||||
},
|
||||
{
|
||||
"id": 227021,
|
||||
"contentId": 0,
|
||||
"contentId": 501386,
|
||||
"name": "万千子嗣",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/万千子嗣.webp",
|
||||
@@ -2621,7 +2669,7 @@
|
||||
},
|
||||
{
|
||||
"id": 311109,
|
||||
"contentId": 0,
|
||||
"contentId": 501419,
|
||||
"name": "金流监督",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/金流监督.webp",
|
||||
@@ -2698,7 +2746,7 @@
|
||||
},
|
||||
{
|
||||
"id": 311207,
|
||||
"contentId": 0,
|
||||
"contentId": 501418,
|
||||
"name": "竭泽",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/竭泽.webp",
|
||||
@@ -2775,7 +2823,7 @@
|
||||
},
|
||||
{
|
||||
"id": 311307,
|
||||
"contentId": 0,
|
||||
"contentId": 501421,
|
||||
"name": "森林王器",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/森林王器.webp",
|
||||
@@ -2951,7 +2999,7 @@
|
||||
},
|
||||
{
|
||||
"id": 311508,
|
||||
"contentId": 0,
|
||||
"contentId": 501420,
|
||||
"name": "静水流涌之辉",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/静水流涌之辉.webp",
|
||||
@@ -3192,7 +3240,7 @@
|
||||
},
|
||||
{
|
||||
"id": 312024,
|
||||
"contentId": 0,
|
||||
"contentId": 501407,
|
||||
"name": "逐影猎人",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/逐影猎人.webp",
|
||||
@@ -3212,7 +3260,7 @@
|
||||
},
|
||||
{
|
||||
"id": 312026,
|
||||
"contentId": 0,
|
||||
"contentId": 501422,
|
||||
"name": "黄金剧团",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/黄金剧团.webp",
|
||||
@@ -3232,7 +3280,7 @@
|
||||
},
|
||||
{
|
||||
"id": 312028,
|
||||
"contentId": 0,
|
||||
"contentId": 501406,
|
||||
"name": "乐园遗落之花",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/乐园遗落之花.webp",
|
||||
@@ -3572,7 +3620,7 @@
|
||||
},
|
||||
{
|
||||
"id": 321020,
|
||||
"contentId": 0,
|
||||
"contentId": 501388,
|
||||
"name": "赤王陵",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/赤王陵.webp",
|
||||
@@ -3582,7 +3630,7 @@
|
||||
},
|
||||
{
|
||||
"id": 321021,
|
||||
"contentId": 0,
|
||||
"contentId": 501410,
|
||||
"name": "中央实验室遗址",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/中央实验室遗址.webp",
|
||||
@@ -3842,7 +3890,7 @@
|
||||
},
|
||||
{
|
||||
"id": 322026,
|
||||
"contentId": 0,
|
||||
"contentId": 501409,
|
||||
"name": "亚瑟先生",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/亚瑟先生.webp",
|
||||
@@ -3922,7 +3970,7 @@
|
||||
},
|
||||
{
|
||||
"id": 323008,
|
||||
"contentId": 0,
|
||||
"contentId": 501408,
|
||||
"name": "苦舍桓",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/苦舍桓.webp",
|
||||
@@ -4002,7 +4050,7 @@
|
||||
},
|
||||
{
|
||||
"id": 330008,
|
||||
"contentId": 0,
|
||||
"contentId": 501412,
|
||||
"name": "旧日鏖战",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/旧日鏖战.webp",
|
||||
@@ -4184,7 +4232,7 @@
|
||||
},
|
||||
{
|
||||
"id": 331805,
|
||||
"contentId": 0,
|
||||
"contentId": 501413,
|
||||
"name": "水与正义",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/水与正义.webp",
|
||||
@@ -4442,7 +4490,7 @@
|
||||
},
|
||||
{
|
||||
"id": 332032,
|
||||
"contentId": 0,
|
||||
"contentId": 501415,
|
||||
"name": "幻戏倒计时:3",
|
||||
"type": "行动牌",
|
||||
"icon": "/WIKI/GCG/normal/幻戏倒计时:3.webp",
|
||||
|
||||
@@ -284,12 +284,31 @@ function switchAchiInfo(next: boolean) {
|
||||
showAchiData.value = renderSelect.value[curAchiDataIndex.value];
|
||||
}
|
||||
|
||||
async function searchAll(): Promise<void> {
|
||||
if (selectedAchievement.value.length === achievementsStore.totalAchievements) {
|
||||
showSnackbar({
|
||||
color: "warn",
|
||||
text: "已经是全部成就",
|
||||
});
|
||||
return;
|
||||
}
|
||||
loading.value = true;
|
||||
loadingTitle.value = "正在获取全部成就数据";
|
||||
selectedSeries.value = -1;
|
||||
selectedAchievement.value = await getAchiData("all");
|
||||
await nextTick(() => {
|
||||
loading.value = false;
|
||||
setTimeout(() => {
|
||||
showSnackbar({
|
||||
text: `已获取 ${renderSelect.value.length} 条成就数据`,
|
||||
});
|
||||
}, 500);
|
||||
});
|
||||
}
|
||||
|
||||
async function searchCard(): Promise<void> {
|
||||
if (search.value === "") {
|
||||
showSnackbar({
|
||||
color: "error",
|
||||
text: "请输入搜索内容",
|
||||
});
|
||||
await searchAll();
|
||||
return;
|
||||
}
|
||||
selectedSeries.value = -1;
|
||||
@@ -424,7 +443,7 @@ async function handleImportOuter(app: string): Promise<void> {
|
||||
const data: TGApp.Plugins.UIAF.Data = JSON.parse(clipboard);
|
||||
loadingTitle.value = "正在导入数据";
|
||||
loading.value = true;
|
||||
await TSUserAchi.mergeUIAF(data);
|
||||
await TSUserAchi.mergeUIAF(data.list);
|
||||
loading.value = false;
|
||||
showSnackbar({
|
||||
color: "success",
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
/**
|
||||
* @file plugins/Sqlite/sql/updateData.ts
|
||||
* @description 更新数据
|
||||
* @since Beta v0.4.7
|
||||
* @since Beta v0.4.9
|
||||
*/
|
||||
|
||||
import minifySql from "../../../utils/minifySql";
|
||||
|
||||
/**
|
||||
* @description 导入UIAF数据-单项
|
||||
* @since Beta v0.4.7
|
||||
* @since Beta v0.4.9
|
||||
* @param {TGApp.Plugins.UIAF.Achievement} data
|
||||
* @returns {string} sql
|
||||
*/
|
||||
@@ -33,10 +33,10 @@ export function importUIAFData(data: TGApp.Plugins.UIAF.Achievement): string[] {
|
||||
} else {
|
||||
sql = `
|
||||
UPDATE Achievements
|
||||
SET progress = ${achievement.current},
|
||||
SET progress = ${data.current},
|
||||
updated = datetime('now', 'localtime')
|
||||
WHERE id = ${achievement.id}
|
||||
AND progress != ${achievement.current};
|
||||
WHERE id = ${data.id}
|
||||
AND progress != ${data.current};
|
||||
`;
|
||||
}
|
||||
return minifySql(sql);
|
||||
|
||||
@@ -376,9 +376,10 @@ onUnmounted(() => {
|
||||
/* extra */
|
||||
.tp-post-extra {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: start;
|
||||
column-gap: 10px;
|
||||
gap: 5px 10px;
|
||||
}
|
||||
|
||||
/* collection */
|
||||
|
||||
Reference in New Issue
Block a user