Compare commits

...

186 Commits

Author SHA1 Message Date
目棃
da17f8cd03 🚀 v0.7.3 2025-04-11 22:22:05 +08:00
目棃
4b77c031c2 🚸 更新系列参数处理逻辑 2025-04-11 22:18:15 +08:00
目棃
3f3e941b68 🍱 更新卡池信息 2025-04-11 20:19:18 +08:00
目棃
2502c27ee5 💄 兑换码浮窗样式迭代 2025-04-11 20:06:09 +08:00
目棃
41fb2a43f7 ⬆️ 更新依赖 2025-04-09 15:47:36 +08:00
目棃
b7c49ce09b 🎨 改进代码结构 2025-04-09 15:45:29 +08:00
目棃
43f9e432cc 🚸 重构日期切换逻辑 2025-04-05 19:30:53 +08:00
目棃
74217e679e ⬆️ 更新依赖 2025-04-05 19:30:17 +08:00
目棃
06a57c9bcf 💄 添加图片数数据 2025-04-01 15:08:16 +08:00
目棃
1ce8c1fddf 💄 优化成就信息展示和样式 2025-04-01 14:54:29 +08:00
目棃
a1cd7ff840 💄 背景色同步 2025-04-01 14:29:51 +08:00
目棃
fce56dcf55 🔧 更新权限配置 2025-04-01 14:20:54 +08:00
目棃
7cf4516865 💄 更新配置文件和优化图片下载逻辑 2025-04-01 14:08:50 +08:00
目棃
01009b36eb ⬆️ 更新依赖 2025-04-01 13:40:55 +08:00
目棃
79067d6f77 🐛 修复显示异常 2025-04-01 13:39:03 +08:00
目棃
978c9c7778 💄 优化角色与武器信息展示 2025-04-01 10:07:30 +08:00
目棃
29542a737e 💄 优化角色信息展示与样式 2025-03-31 16:14:05 +08:00
目棃
0016ec1fc1 🚸 更新Yae链接 2025-03-31 15:55:02 +08:00
目棃
61a89348d1 🎨 优化逻辑 2025-03-31 15:52:09 +08:00
目棃
1c16bfc29a 💄 添加滤镜过渡效果 2025-03-31 15:48:15 +08:00
目棃
454b94f401 🚸 调整满好感区分 2025-03-31 15:37:00 +08:00
目棃
da6a29c5ac 🚸 提供Yae入口 2025-03-31 15:33:15 +08:00
目棃
40d46f41c3 🚸 成就系列未完成/完成区分 2025-03-31 15:24:02 +08:00
目棃
d79de499cf 🚸 显式成就隐藏 2025-03-31 14:52:39 +08:00
目棃
d11d4fe803 💄 调整触发dom 2025-03-31 14:47:04 +08:00
目棃
121e29ad4f 💄 pendant 禁止裁切 2025-03-31 11:51:53 +08:00
目棃
215f0c6500 ♻️ 重构传递数据 2025-03-31 11:49:44 +08:00
目棃
fd34b66148 🚸 select-mode下阻止所有点击 2025-03-31 11:28:26 +08:00
目棃
c154381c3a 🚸 调整层级 2025-03-28 20:03:52 +08:00
目棃
960a3442ff 🚸 调整hint 2025-03-28 14:45:22 +08:00
目棃
ff66dfca30 💄 调整层级 2025-03-28 14:36:35 +08:00
目棃
ef9469643e 💄 use v-icon instead of v-btn to disable active shadow 2025-03-28 14:20:01 +08:00
目棃
b61d235221 💄 调整回复浮窗样式 2025-03-28 14:15:44 +08:00
目棃
400a501f30 💄 调整通用backupText组件样式 2025-03-28 13:50:20 +08:00
目棃
a63edd81bd 🚸 支持其他分区兑换码获取 2025-03-28 13:35:12 +08:00
目棃
3bd1853008 存储分区信息 2025-03-28 12:02:28 +08:00
目棃
1d8e7ec35d 🧪 测试获取合集信息失败 2025-03-28 11:10:15 +08:00
目棃
211f689426 ⬆️ 更新依赖 2025-03-28 10:23:19 +08:00
目棃
89a79dc968 🚀 v0.7.2 2025-03-27 20:47:38 +08:00
目棃
e1653bdfb0 🍱 更新卡池数据 2025-03-27 20:45:27 +08:00
目棃
8af5136a9c 🚸 调整保存hint 2025-03-27 18:00:47 +08:00
目棃
a8694104a9 🚸 查询时重置选中成就系列 2025-03-27 15:53:01 +08:00
目棃
570cbb5fed 🍱 补充遗漏数据 2025-03-27 15:44:45 +08:00
目棃
dd339285cb 🎨 代码格式化 2025-03-27 14:53:58 +08:00
目棃
31311510ef 🍱 更新5.5成就资源
close #147
2025-03-27 14:43:30 +08:00
目棃
f367e797a9 🍱 更新5.5角色&武器&素材日历
#147
2025-03-27 14:30:08 +08:00
目棃
082fe9dfab ♻️ 更新5.5名片资源,重构名片数据结构
#147
2025-03-27 11:06:16 +08:00
目棃
3769859611 🍱 更新5.5材料资源
#147
2025-03-27 09:57:24 +08:00
目棃
928c71ead8 🍱 更新5.5部分资源,适配新版本返回数据
#147
2025-03-27 09:53:39 +08:00
目棃
39f2a7dc31 💄 调整mention组件样式 2025-03-26 17:50:05 +08:00
目棃
1d637705b7 获取用户关注动态 2025-03-26 17:31:10 +08:00
目棃
9e2eb80a21 🌱 获取用户关注动态 2025-03-26 16:58:33 +08:00
目棃
927d4545a1 🚸 更新图片下载提示信息 2025-03-26 16:40:45 +08:00
目棃
45217d423a ⬆️ 更新依赖 2025-03-26 09:21:53 +08:00
目棃
d430cd4672 🚸 优化自定义表情处理 2025-03-25 14:08:33 +08:00
目棃
d15d78b73f 🚸 调整触发dom 2025-03-25 11:25:48 +08:00
目棃
00fdcc79d6 ️ use sass-embedded 2025-03-25 10:26:04 +08:00
目棃
20438106a4 💄 调整UI 2025-03-24 09:14:19 +08:00
目棃
f92684c7b3 ⬆️ 更新依赖 2025-03-21 10:45:35 +08:00
目棃
3228b6a305 💄 调整UI 2025-03-21 10:28:20 +08:00
目棃
a47afbf2e0 💄 调整UI 2025-03-20 16:52:41 +08:00
目棃
f4a0165e81 💄 调整UI 2025-03-20 10:32:31 +08:00
目棃
31874e07c4 💄 调整UI 2025-03-19 17:52:06 +08:00
目棃
c696d3b51d 💄 调整UI 2025-03-19 17:06:43 +08:00
目棃
8a2a3f5279 💄 调整角色页面UI 2025-03-19 16:50:09 +08:00
目棃
a2f68b92c7 💄 调整战绩页面UI 2025-03-19 16:20:40 +08:00
目棃
96dfec969c 💄 调整成就页面UI 2025-03-19 14:59:24 +08:00
目棃
1b5ddf9b3f 💄 调整select 2025-03-19 10:45:49 +08:00
目棃
4dc273662d 🚸 调整hint 2025-03-19 09:16:16 +08:00
目棃
83d52c6f40 ♻️ 迁移数据而非清空 2025-03-19 09:12:39 +08:00
目棃
0aabd2fa80 🚨 fix qodana warn 2025-03-18 15:39:19 +08:00
目棃
01dc6a6ea7 ♻️ use opener instead of window.open/shell 2025-03-18 14:52:00 +08:00
目棃
765c860473 💄 add time info 2025-03-18 14:04:52 +08:00
目棃
b276b04f23 🏷️ typo 2025-03-18 13:42:21 +08:00
目棃
e308e4789c 🐛 fix gt call err 2025-03-18 09:28:33 +08:00
目棃
522add2441 ♻️ erasableSyntaxOnly 2025-03-17 17:58:15 +08:00
目棃
08f74ce6a0 🚸 hide copy on gif overlay 2025-03-17 17:32:59 +08:00
目棃
3be703d329 🚨 fix command warn 2025-03-17 16:14:52 +08:00
目棃
a3e42b63e6 💄 调整样式 2025-03-17 15:07:42 +08:00
目棃
4ef3313eb1 ⬆️ 更新依赖 2025-03-17 09:33:34 +08:00
目棃
a22aac457a 🚸 采用原图 2025-03-14 20:39:53 +08:00
目棃
8a2524d6b1 🙈 ignore gen json schema 2025-03-14 11:32:00 +08:00
目棃
b504f043b4 comboToken 2025-03-12 17:47:04 +08:00
目棃
f842975f21 💄 调整UI 2025-03-12 16:00:10 +08:00
目棃
577f86248e 🚸 首页卡池点击唤起子窗口 2025-03-12 14:45:29 +08:00
目棃
c3246e95ce 加载指定用户帖子 2025-03-12 11:06:12 +08:00
目棃
e3fb88fd44 🎨 仅刷新部分账户 2025-03-11 17:15:20 +08:00
目棃
0f6fe11c75 🔥 移除无用sql 2025-03-11 11:00:04 +08:00
目棃
9d212a5b87 🚸 支持删除无用账户,重构游戏账号表格 2025-03-11 10:54:34 +08:00
目棃
c0d9830670 ♻️ 调整结构 2025-03-11 10:28:17 +08:00
目棃
c577a6f1ea 🚸 调整Hint 2025-03-10 18:00:20 +08:00
目棃
0e6210ee8e 💄 调整偏移 2025-03-10 17:43:26 +08:00
目棃
adfe55054e 🚨 修复devtool警告 2025-03-10 17:31:33 +08:00
目棃
fecad43dec 🚸 投票显示相对进度 2025-03-10 17:14:13 +08:00
目棃
4c93bb0d42 🐛 修正判断逻辑 2025-03-10 16:52:08 +08:00
目棃
667aa6fb94 🐛 修复扫码登录异常 2025-03-10 15:12:05 +08:00
目棃
a1a5271603 💄 替换icon 2025-03-10 14:57:38 +08:00
目棃
4a646c2c4e 🎨 优化链接识别 2025-03-10 14:54:40 +08:00
目棃
48b976ac84 🚸 识别ys.mihoyo.com 2025-03-10 14:26:31 +08:00
目棃
d7250ce13c 🌱 游戏签到 2025-03-10 14:18:23 +08:00
目棃
1cad9891dc 🚸 一些优化 2025-03-10 13:39:50 +08:00
目棃
6302f171e9 🎨 记录所有账号但只显示原神 2025-03-09 22:12:28 +08:00
目棃
bb67da034b 🚸 优化逻辑 2025-03-09 21:54:48 +08:00
目棃
804b735e95 ✏️ TakumiApi → takumiReq 2025-03-09 21:48:39 +08:00
目棃
e6904e14b5 🚸 切换账户时清空数据 2025-03-09 21:32:11 +08:00
目棃
b4954bd74c 💄 显示连续执行天数 2025-03-08 23:12:11 +08:00
目棃
8f9006b9f4 👔 调整判断逻辑 2025-03-08 22:51:25 +08:00
目棃
fba7a6c088 🚸 移除每次路由变化引起的居中 2025-03-08 19:19:31 +08:00
目棃
0fdbea55eb 💄 调整标题占据空间 2025-03-08 19:04:46 +08:00
dependabot[bot]
b93ae791f2 Bump ring from 0.17.11 to 0.17.13 in /src-tauri (#146)
Bumps [ring](https://github.com/briansmith/ring) from 0.17.11 to 0.17.13.
- [Changelog](https://github.com/briansmith/ring/blob/main/RELEASES.md)
- [Commits](https://github.com/briansmith/ring/commits)

---
updated-dependencies:
- dependency-name: ring
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-08 17:50:15 +08:00
目棃
b6b0b90ae8 👔 调整判断逻辑 2025-03-08 17:48:47 +08:00
目棃
7e7fb318ea 💄 调整抽奖UI 2025-03-08 17:37:20 +08:00
目棃
3a102f31be 🚸 一些调整 2025-03-08 17:01:25 +08:00
目棃
9dba531bb2 💄 调整深色模式下帖子卡片样式 2025-03-08 16:48:43 +08:00
目棃
6b5959ff76 🎨 调整帖子卡片点击处理 2025-03-08 16:41:54 +08:00
目棃
d8267cbf7b 💄 调整整体滚动条样式 2025-03-08 16:30:33 +08:00
目棃
ac4d2a319f 🚸 即时响应页面适配 2025-03-08 16:06:06 +08:00
目棃
214dec29d8 ♻️ 卡池&活动组件重构 2025-03-08 15:39:27 +08:00
目棃
fcb16c9299 💄 调整UI 2025-03-08 11:36:24 +08:00
目棃
37ea45f0c1 💄 组件复用 2025-03-08 11:31:27 +08:00
目棃
dafa153b62 🌱 获取合集信息 2025-03-08 11:18:09 +08:00
目棃
9b152eb59f 💄 渲染推荐理由 2025-03-08 10:28:52 +08:00
目棃
d5aaecbf72 ♻️ 类型迁移&重构 2025-03-08 09:53:25 +08:00
目棃
ce5a88954a ♻️ 请求重构 2025-03-07 17:53:35 +08:00
目棃
fee1872b46 🚸 处理下线villaCard渲染 2025-03-07 15:54:57 +08:00
目棃
dd3ce101a6 🎨 重构滚动高度计算 2025-03-07 15:13:20 +08:00
目棃
d32d7b69f1 👽️ 接口适配
https://github.com/Womsxd/MihoyoBBSTools/issues/237
2025-03-07 11:13:12 +08:00
目棃
11a6157af0 ⬆️ 更新依赖 2025-03-06 16:23:27 +08:00
目棃
1a40f88027 🐛 修复参数调用异常 2025-03-06 15:59:09 +08:00
目棃
81fc5f9dca 🔧 参考最新项目修改配置 2025-03-06 15:56:08 +08:00
目棃
8c9885441b 🚀 v0.7.1 2025-03-06 10:02:05 +08:00
目棃
6bbef1332b 💄 grid行高自适应 2025-03-06 09:35:24 +08:00
目棃
cd5e151926 🚸 防抖 2025-03-06 09:27:04 +08:00
目棃
41921a2a6a 🍱 部分缓存 2025-03-06 09:14:52 +08:00
目棃
3cead7eda6 🍱 缓存 2025-03-05 20:25:58 +08:00
目棃
26f670fae3 🧑‍💻 recommend vue-official instead of volar 2025-03-05 16:35:41 +08:00
目棃
bc9d848633 🏷️ add await 2025-03-04 17:05:47 +08:00
目棃
8f2ea6deea 🥅 捕获分享图生成异常 2025-03-02 14:16:20 +08:00
目棃
92603e8599 🐛 修复获取话题帖子异常 2025-03-02 12:22:54 +08:00
目棃
530f45e75c 🐛 尝试修复签到1034
close #145
2025-03-02 10:47:51 +08:00
目棃
d0936a0a60 ♻️ 重构部分请求 2025-03-01 14:27:43 +08:00
目棃
7d0e0f187c 🚨 typo 2025-03-01 12:37:18 +08:00
目棃
cad8de6cd7 ⬆️ 更新依赖 2025-03-01 12:35:10 +08:00
目棃
d29ade356a 💄 调整帖子卡片样式 2025-02-28 17:32:50 +08:00
目棃
b14ad0e687 💄 调整公告卡片样式 2025-02-28 17:30:35 +08:00
目棃
aeca190f2c 💄 调整搜索浮窗样式&帖子卡片样式 2025-02-28 16:50:57 +08:00
目棃
3ac68c1fd9 🐛 修复视频时长计算异常 2025-02-28 15:53:06 +08:00
目棃
8a09d8e442 📝 更新参考项目列表 2025-02-28 10:54:31 +08:00
目棃
0f546e8a57 🚀 v0.7.0 2025-02-28 10:05:04 +08:00
目棃
26070919c9 🚸 昵称转码 2025-02-28 09:53:09 +08:00
目棃
bfd73c3d73 💄 调整UI 2025-02-28 09:43:57 +08:00
目棃
415927cd0f 📝 更新文档 2025-02-28 09:43:32 +08:00
目棃
aa6c75e59f 🐛 修复路由跳转不生效 2025-02-27 23:08:04 +08:00
目棃
c31c86bd56 🍱 更新下半卡池 2025-02-27 21:49:14 +08:00
目棃
1ee3c35216 💄 调整等级样式 2025-02-27 17:21:28 +08:00
目棃
6676357296 🧑‍💻 更换json渲染组件,渲染公告解析json 2025-02-27 14:06:08 +08:00
目棃
3ba72969d9 ⬆️ 更新依赖 2025-02-27 14:01:51 +08:00
目棃
c9ea10f0ef 🔊 打印到文件 2025-02-26 17:33:04 +08:00
目棃
17f1b39414 🚸 二维码支持生成分享图 2025-02-26 17:27:15 +08:00
目棃
70216734a3 🌱 comboToken登录 2025-02-26 11:31:15 +08:00
目棃
c25bde1b7a 💡 v0.6.10 → v0.7.0 2025-02-26 10:10:36 +08:00
目棃
beb457a884 🚸 确保同一时间只能执行一个脚本
close #144
2025-02-26 09:05:39 +08:00
目棃
1b1abb9b88 🏷️ 修正调用异常 2025-02-25 17:56:33 +08:00
目棃
112bd3b938 🚸 调整逻辑 2025-02-25 16:17:51 +08:00
目棃
55adf31613 完成米游社任务
#144
2025-02-25 15:49:08 +08:00
目棃
cdddbae520 🌱 获取任务完成情况 2025-02-25 13:43:47 +08:00
目棃
c4bd07069c 🎨 移除测试点击 2025-02-25 12:00:14 +08:00
目棃
71b45584e8 🎨 修正逻辑 2025-02-25 10:42:22 +08:00
目棃
e343d37a01 💡 特定请求需要验证码登录返回ck 2025-02-25 10:39:59 +08:00
目棃
7f5ffab2a7 🎨 调整条件 2025-02-25 10:39:40 +08:00
目棃
d2e6d112d5 🔧 无痕浏览,默认开启 2025-02-24 19:09:49 +08:00
目棃
5b390d3ad1 🌱 新页面 2025-02-24 17:56:49 +08:00
目棃
798c4bd7d5 🍱 png2webp 2025-02-24 15:18:07 +08:00
目棃
7e133176e5 🌱 分享 2025-02-24 15:12:41 +08:00
目棃
87a345ffa7 🐛 修正浏览参数 2025-02-24 15:02:09 +08:00
目棃
2bafb6d491 🌱 点赞 2025-02-24 14:43:09 +08:00
目棃
0f278ad25e 🌱 浏览帖子 2025-02-24 13:44:41 +08:00
目棃
1da157abbd 🌱 获取任务完成情况 2025-02-24 12:01:50 +08:00
目棃
2fa9f88da2 💄 调整可视页码 2025-02-23 21:31:06 +08:00
目棃
9e2f91b4d4 ♻️ 重构生日计算 2025-02-22 11:30:14 +08:00
目棃
2b15e1a351 💄 微调UI 2025-02-20 17:00:59 +08:00
目棃
25f95d9f90 🐛 修复背景图片更新异常 2025-02-13 17:20:02 +08:00
目棃
03e33872c2 ♻️ 处理特殊情况x2 2025-02-12 15:34:57 +08:00
目棃
5b5f96c2d3 ♻️ 处理特殊情况 2025-02-12 15:15:18 +08:00
目棃
0005e4eb74 🐛 修复解析异常 2025-02-12 13:47:14 +08:00
目棃
89d1b2c6a7 ⬆️ 更新依赖 2025-02-12 13:33:42 +08:00
312 changed files with 14838 additions and 29842 deletions

View File

@@ -55,7 +55,7 @@ jobs:
- name: setup pnpm
uses: pnpm/action-setup@v2
with:
version: 10.2.0
version: 10.7.0
- name: Install frontend dependencies
run: pnpm install

View File

@@ -16,7 +16,7 @@ jobs:
- name: setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9.15.0
version: 10.7.0
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: "Qodana Scan"

View File

@@ -5,6 +5,6 @@
"stylelint.vscode-stylelint",
"tauri-apps.tauri-vscode",
"Vue.vscode-typescript-vue-plugin",
"Vue.volar"
"Vue.vue-official"
]
}

View File

@@ -2,167 +2,72 @@
Author: 目棃
Description: CHANGELOG
Date: 2024-10-09
Update: 2025-02-11
Update: 2025-04-11
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-10-09 15:51:43`
>
> 更新于 `2025-02-11 10:57:49`
> 更新于 `2025-04-11 22:18:50`
## [0.6.9](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.9) (2025-02-11)
## [0.7.3](https://github.com/BTMuli/TeyvatGuide/releases/v0.7.3) (2025-04-11)
- 🍱 更新5.4资源 [`#141`](https://github.com/BTMuli/TeyvatGuide/issues/141)
- 🐛 修复米游社子窗口路径解析异常
- 🐛 修复特定条件下真境剧诗角色元素图标渲染异常
- 🐛 修复名片图鉴浮窗渲染异常
- 🚸 调整兑换码入口显示判断逻辑
- 🚸 成就导入不允许点击外部取消,调整刷新逻辑
- 🚸 下载封面图时显示封面链接
- 💄 调整部分UI
- 🍱 更新下半卡池信息
- 💄 兑换码浮窗样式迭代
- 💄 帖子卡片添加图片数数据
- 💄 优化成就信息展示和样式
- 💄 帖子图片浮窗背景色同步
- 💄 调整通用backupText组件样式
- 💄 调整回复浮窗样式
- 💄 角色详情调整满好感区分
- 💄 优化角色武器Wiki样式
- 🚸 重构素材日历日期切换逻辑
- 🚸 优化图片下载路径&提示
- 🚸 支持其他分区兑换码获取
- 🚸 收藏页select-mode下阻止所有点击
## [0.6.8](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.8) (2025-01-22)
## [0.7.2](https://github.com/BTMuli/TeyvatGuide/releases/v0.7.2) (2025-03-27)
- ✨ 扫码登录
-调整祈愿记录图表样式,新增祈愿日历&祈愿堆叠柱状图
-支持配置帖子详情图像质量默认80%
-支持帖子详情图像查看原图当质量配置为100%时,该按钮不显示
- ✨ 深渊上传支持胡桃账户设置
- 🚸 降低祈愿全量刷新耗时
- 🚸 加快帖子加载速度,降低内存占用
- 💄 调整角色卡片样式
- 💄 调整角色名片样式,增加描述清晰度
- 💄 调整深渊Wiki队伍搭配窗口高度
- 💄 mac下不显示分享设置
- 💄 调整战绩页新洞天渲染样式
- 🔥 深渊Wiki移除第10层数据
- 🐛 修复深渊数据恢复异常
- 🐛 修复 loading 组件 empty 状态设置异常
- ♻️ 优化帖子加载逻辑当刷新内容不足20条时下次刷新数量为20-当前数量如刷新数量为19条则下次刷新数量为1条
- ♻️ 动态获取分区列表&版块列表
- ♻️ 重构部分路由处理,当话题/帖子切换分区/版块时,页面刷新不重置当前分区/版块
- 🍱 更新5.5资源 [`#147`](https://github.com/BTMuli/TeyvatGuide/issues/147)
-新增游戏签到脚本
-扫码登录新增游戏登录方式
-获取登录用户关注帖子
- 🐛 修复获取深渊数据概览异常
- 🐛 修复扫码登录异常
- ♻️ 首页卡池&活动组件重构
- ♻️ 重构游戏账号数据库
- ♻️ 调用浏览器而非webview2打开外部链接
- 💄 帖子卡片UI调整增加时间&推荐理由数据
- 💄 调整整体滚动条样式
- 💄 调整抽奖UI
- 💄 米游币脚本显示连续执行天数
- 💄 帖子投票组件进度条显示相对进度(以最高数为基准)
- 💄 调整多页面UI
- 🎨 重构合集浮窗滚动高度计算
- 🎨 调整帖子卡片点击处理
- 🚸 处理下线villaCard渲染
- 🚸 即时响应页面适配
- 🚸 完善部分请求防抖处理
- 🚸 链接识别`ys.mihoyo.com`
## [0.6.7](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.7) (2024-12-31)
## [0.7.1](https://github.com/BTMuli/TeyvatGuide/releases/v0.7.1) (2025-03-06)
- 🍱 更新5.3版本游戏资源 [`#139`](https://github.com/BTMuli/TeyvatGuide/issues/139)
- ✨ 支持嵌入B站视频的分享图渲染
- 🐛 修复版块跳转异常
- 🐛 修复清理日志异常
- 🐛 修复特定帖子`link_card_ids`数据解析异常
- 🐛 修复帖子文本居中异常
- 🐛 修复侧边栏跳转角色/武器图鉴异常
- ✏️ 调整分享图大小计算方式采用1024进制而非原有的1000进制
- 💄 调整用户等级UI浅色深色下统一为白色文字
- 💄 调整回复弹窗位置,上移一段距离以避免底部提示遮挡
- 💄 首页素材日历组件只显示日期,移除具体时间
- 💄 调整链接卡片提示文字
- 💄 调整剧诗角色列表显示UI
- 🚸 版块/咨讯页数据获取/刷新显示成功提示
- 🚸 首页近期活动卡片Icon补充缺失的点击逻辑
- 🚸 调整合集组件改版后的滚动逻辑,更加流畅
- 👽️ 由于API变更调整版块数据获取逻辑
- 👽️ 由于返回数据格式变更,调整视频时长的计算逻辑
- 👽️ 由于返回数据格式变更,处理帖子内的转义字符
- ♻️ loading组件重构部分页面显示更精准的进度
- ♻️ 应用元数据格式重构,剔除冗余数据
- 🐛 修复B站视频时长计算异常
- 🐛 处理脚本签到1034 [`#145`](https://github.com/BTMuli/TeyvatGuide/issues/145)
- 💄 调整搜索浮窗样式&帖子/公告卡片样式
- 🥅 捕获分享图生成异常
- 🚸 部分页面添加防抖处理
- 🍱 调整缓存图片范围
## [0.6.6](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.6) (2024-12-13)
## [0.7.0](https://github.com/BTMuli/TeyvatGuide/releases/v0.7.0) (2025-02-28)
- 🐛 修复主题切换响应异常
- 🐛 修复增量刷新逻辑异常
- ⚡️ 显著降低运行内存占用
## [0.6.5](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.5) (2024-12-11)
- 🍱 添加下半卡池数据&部分资源
- ✨ 帖子内容中涉及的话题链接支持应用内跳转
- ♻️ 首页组件加载逻辑重构
- ✨ UIGF4导入/导出浮窗,支持自选UID
- 💄 调整剧诗部分数据缺失时的显示
- 🐛 调整部分UI修复切换账户后角色详情刷新异常
## [0.6.4](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.4) (2024-12-03)
- 🐛 修复子回复渲染异常
- ✏️ 祈愿记录将验证非空ID
- 🐛 修复战绩分享图渲染异常
- 🐛 修复`dialog`组件`input`默认值无效
- 🎨 调整帖子查找overlay逻辑
- ✨ 分享图生成阈值自定义
- 👽️ 全量刷新时清理旧数据,修复由于米哈游数据异常导致的重复数据
## [0.6.3](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.3) (2024-11-19)
- 🐛 修复用户战绩角色数据`undefined`
- 🐛 修复咨讯页加载更多异常
- 🐛 修复验证码登录提示`-100`数据刷新后若为已登录UID则不会再提示切换
- 🐛 修复部分公告渲染异常
- 🐛 修复成就页面在存在搜索内容时点击左侧成就系列无响应
- ✨ 帖子新增 UID 卡片解析&渲染
- ✨ 帖子新增自定义表情解析&渲染
- ✨ 真境剧诗适配,新增真境剧诗页面,支持获取&分享&上传(胡桃数据库),可通过深渊页面进入
- ✨ 新增话题页面,可通过帖子卡片标签点击或帖子详情顶部标签点击进入
- ✨ 更完善的`loading`显示调整了组件UI
- 🍱 更新5.2版本资源 [`#133`](https://github.com/BTMuli/TeyvatGuide/issues/133)
- 💄 调整祈愿记录UP四星颜色
- 💄 修复帖子页兑换码弹窗高度异常
- 💄 调整帖子卡片UI增加显示帖子话题如存在话题&版块支持点击跳转
- 💄 调整帖子详情页UI顶部话题&版块支持点击跳转
- 💄 调整帖子显示数量,支持加载更多,默认排序改为`最新回复`,移除`默认排序`,增加`热门`排序
- 💄 咨讯、帖子等页面刷新时自动滚动到顶部
- 🔥 深渊数据库显示移除第9层统计数据
- 👽️ 米游社子窗口增加`genshinnet`域名支持
- 🎨 优化帖子详情数据加载的错误处理
- ♻️ `snackbar``confirm``loading`组件重构
- ♻️ 请求模块重构
## [0.6.2](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.2) (2024-10-31)
- 🐛 修复用户登录状态异常 [`#132`](https://github.com/BTMuli/TeyvatGudie/issues/132)
- 💄 帖子子回复取消保持,点击其他隐藏
- 💄 调整未登录时的部分内容渲染
- 💄 调整保存时图片的hint
- 💄 `mac`:修复回顶组件宽度异常
- 💄 `mac`:修复视频封面位置异常
- 💄 调整角色卡片UI维持名片比例
- ♻️ 深渊数据库重构,概览显示差距
- 🍱 更新下半卡池
- 👽️ 修正咨讯Api
## [0.6.1](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.1) (2024-10-22)
- 🐛 新用户数据库初始化异常 [`#131`](https://github.com/BTMuli/TeyavtGuide/issues/131)
- 🐛 修复角色数据未即时刷新
- 🐛 修复`openSystemBrowser`回调执行异常
- ♻️ 公告卡片组件抽离,支持分享
- 🎨 成就页面&名片图鉴页面采用虚拟列表优化性能
- 🎨 调整卡片封面加载逻辑
- 💄 处理特定情况下的内容溢出
- 💄 适配深渊新字段,显示跳过楼层
- 💄深渊分享显示应用信息,圣遗物详情推荐属性高亮
- 💄调整帖子子窗口副标题样式
- 💄调整留影叙佳期选项样式
## [0.6.0](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.0) (2024-10-09)
- ✨ 应用支持多账号 [`#126`](https://github.com/BTMuli/TeyvatGuide/issues/126)
- ✨ 支持手动输入CK&用户删除
- ✨ 帖子卡片支持分享
- ✨ 支持官服用户直接启动原神 [`#80`](https://github.com/BTMuli/TeyvatGuide/issues/80)
- ♻️ 重构成就表格,支持多存档
- ♻️ 重构深渊数据加载逻辑,适配多存档
- ♻️ 重构用户登录逻辑及切换
- ♻️ 重构祈愿、深渊、角色页面逻辑,支持游戏账号切换
- ♻️ 战绩页面适配多账户
- 💄 帖子/公告子窗口添加窗口置顶按钮
- 💄 调整视频分享截图
- 💄 回复分享图忽略导出图标
- 💄 显示用户等级
- 💄 处理特定情况下的回复内容溢出
- 💄 兑换码支持分享调整了兑换码浮窗UI
- 💄 公告对列表进行缩进
- 💄 材料Wiki样式优化支持分类筛选&查询
- 💄 材料详情浮窗支持分享
- ✏️ JSBridge新增`openSystemBrowser`回调处理
- ✏️ 修正公告正则
- 👽️ 更新国际服公告Api
- 📖 添加 macOS 平台门禁属性导致无法打开应用的修复指引 [`#130`](https://github.com/BTMuli/TeyvatGuide/issues/130)
- ✨ 新增无痕浏览配置,默认开启
- ✨ 登录状态且关闭无痕浏览时,可对帖子进行点赞操作
- ✨ 新增实用脚本页面,支持一键完成米游币每日任务 [`#144`](https://github.com/BTMuli/TeyvatGuide/issues/144)
- 🐛 修复公告解析异常
- 🐛 修复角色卡片视图(详细)浮窗切换时背景图更新异常
- 🐛 修复路由跳转不生效
- ♻️ 重构首页素材日历组件生日计算,修复生日计算异常
- 🚸 设置页登录二维码支持生成分享图,点击底部图标触发
- 💄 调整首页素材日历组件可视页码
- 💄 调整部分页面UI
- 🍱 更新下半卡池数据

View File

@@ -2,12 +2,12 @@
Author: 目棃
Description: 说明文档
Date: 2023-03-05
Update: 2025-02-11
Update: 2025-03-31
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-05 14:41:55`
>
> 更新于 `2025-02-11 10:55:00`
> 更新于 `2025-03-31 15:53:10`
![](https://img.shields.io/github/last-commit/BTMuli/TeyvatGuide?style=for-the-badge) ![](https://img.shields.io/github/commits-since/BTMuli/TeyvatGuide/latest?include_prereleases&style=for-the-badge)
@@ -50,7 +50,7 @@ Game Tool for Genshin Impact player, supports Windows and macOS.
- [x] 米游社官方帖获取(支持通过 ID 获取)
- [x] 米游社各分区帖子获取(支持通过 ID 获取)
- [x] 米游社话题帖子获取(通过话题点击跳转)
- [x] 成就管理UIAF v1.1),支持 [`YaeAchievement`](https://github.com/HolographicHat/YaeAchievement) 导入
- [x] 成就管理UIAF v1.1),支持 [`Yae`](https://github.com/HolographicHat/Yae) 导入
- [x] 祈愿管理UIGF v3.0UIGF v4.0
- [x] 留影叙佳期画片查看
- [x] 帖子收藏
@@ -66,6 +66,9 @@ Game Tool for Genshin Impact player, supports Windows and macOS.
- [x] 真境剧诗数据获取
- [x] 祈愿数据获取(近一年)
- [x] 用户收藏帖子获取
- [x] 用户关注帖子获取
- [x] 一键完成米游币每日任务
- [x] 一键完成游戏签到
- Wiki 功能:
@@ -76,6 +79,7 @@ Game Tool for Genshin Impact player, supports Windows and macOS.
- [x] 材料图鉴
- 应用功能:
- [x] 浅色/深色主题切换
- [x] 米游社 JSBridge
@@ -97,8 +101,8 @@ Game Tool for Genshin Impact player, supports Windows and macOS.
- Changelog: [CHANGELOG](CHANGELOG.md)
- 资源来源:[项目资源说明](docs/项目资源说明.md)
- UIAF[UIAF v1.1](docs/UIAF.md)
- UIGF[UIGF v3.0](docs/UIGF3.md)[UIGF v4.0](docs/UIGF.md)
- UIAF[UIAF v1.1](docs/standards/UIAF.md)
- UIGF[UIGF v3.0](docs/standards/UIGF3.md)[UIGF v4.0](docs/standards/UIGF.md)
- [macOS 平台门禁属性导致应用无法打开应用的修复指引](docs/macos-gatekeeper/README.md)
## 特定项目 / Special Project
@@ -141,6 +145,8 @@ Game Tool for Genshin Impact player, supports Windows and macOS.
- [paimon-moe](https://github.com/MadeBaruna/paimon-moe)
- [Adachi-BOT](https://github.com/Arondight/Adachi-BOT)
- [amos-data](https://github.com/yuehaiteam/amos-data)
- [MihoyoBBSTools](https://github.com/Womsxd/MihoyoBBSTools)
- [nonebot-plugin-mystool](https://github.com/Ljzd-PRO/nonebot-plugin-mystool)
感谢 JetBrains 提供的开源许可证。

View File

@@ -0,0 +1,168 @@
---
Author: 目棃
Description: CHANGELOG
Date: 2024-10-09
Update: 2025-02-11
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-10-09 15:51:43`
>
> 更新于 `2025-02-11 10:57:49`
## [0.6.9](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.9) (2025-02-11)
- 🍱 更新5.4资源 [`#141`](https://github.com/BTMuli/TeyvatGuide/issues/141)
- 🐛 修复米游社子窗口路径解析异常
- 🐛 修复特定条件下真境剧诗角色元素图标渲染异常
- 🐛 修复名片图鉴浮窗渲染异常
- 🚸 调整兑换码入口显示判断逻辑
- 🚸 成就导入不允许点击外部取消,调整刷新逻辑
- 🚸 下载封面图时显示封面链接
- 💄 调整部分UI
## [0.6.8](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.8) (2025-01-22)
- ✨ 扫码登录
- ✨ 调整祈愿记录图表样式,新增祈愿日历&祈愿堆叠柱状图
- ✨ 支持配置帖子详情图像质量默认80%
- ✨ 支持帖子详情图像查看原图当质量配置为100%时,该按钮不显示
- ✨ 深渊上传支持胡桃账户设置
- 🚸 降低祈愿全量刷新耗时
- 🚸 加快帖子加载速度,降低内存占用
- 💄 调整角色卡片样式
- 💄 调整角色名片样式,增加描述清晰度
- 💄 调整深渊Wiki队伍搭配窗口高度
- 💄 mac下不显示分享设置
- 💄 调整战绩页新洞天渲染样式
- 🔥 深渊Wiki移除第10层数据
- 🐛 修复深渊数据恢复异常
- 🐛 修复 loading 组件 empty 状态设置异常
- ♻️ 优化帖子加载逻辑当刷新内容不足20条时下次刷新数量为20-当前数量如刷新数量为19条则下次刷新数量为1条
- ♻️ 动态获取分区列表&版块列表
- ♻️ 重构部分路由处理,当话题/帖子切换分区/版块时,页面刷新不重置当前分区/版块
## [0.6.7](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.7) (2024-12-31)
- 🍱 更新5.3版本游戏资源 [`#139`](https://github.com/BTMuli/TeyvatGuide/issues/139)
- ✨ 支持嵌入B站视频的分享图渲染
- 🐛 修复版块跳转异常
- 🐛 修复清理日志异常
- 🐛 修复特定帖子`link_card_ids`数据解析异常
- 🐛 修复帖子文本居中异常
- 🐛 修复侧边栏跳转角色/武器图鉴异常
- ✏️ 调整分享图大小计算方式采用1024进制而非原有的1000进制
- 💄 调整用户等级UI浅色深色下统一为白色文字
- 💄 调整回复弹窗位置,上移一段距离以避免底部提示遮挡
- 💄 首页素材日历组件只显示日期,移除具体时间
- 💄 调整链接卡片提示文字
- 💄 调整剧诗角色列表显示UI
- 🚸 版块/咨讯页数据获取/刷新显示成功提示
- 🚸 首页近期活动卡片Icon补充缺失的点击逻辑
- 🚸 调整合集组件改版后的滚动逻辑,更加流畅
- 👽️ 由于API变更调整版块数据获取逻辑
- 👽️ 由于返回数据格式变更,调整视频时长的计算逻辑
- 👽️ 由于返回数据格式变更,处理帖子内的转义字符
- ♻️ loading组件重构部分页面显示更精准的进度
- ♻️ 应用元数据格式重构,剔除冗余数据
## [0.6.6](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.6) (2024-12-13)
- 🐛 修复主题切换响应异常
- 🐛 修复增量刷新逻辑异常
- ⚡️ 显著降低运行内存占用
## [0.6.5](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.5) (2024-12-11)
- 🍱 添加下半卡池数据&部分资源
- ✨ 帖子内容中涉及的话题链接支持应用内跳转
- ♻️ 首页组件加载逻辑重构
- ✨ UIGF4导入/导出浮窗支持自选UID
- 💄 调整剧诗部分数据缺失时的显示
- 🐛 调整部分UI修复切换账户后角色详情刷新异常
## [0.6.4](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.4) (2024-12-03)
- 🐛 修复子回复渲染异常
- ✏️ 祈愿记录将验证非空ID
- 🐛 修复战绩分享图渲染异常
- 🐛 修复`dialog`组件`input`默认值无效
- 🎨 调整帖子查找overlay逻辑
- ✨ 分享图生成阈值自定义
- 👽️ 全量刷新时清理旧数据,修复由于米哈游数据异常导致的重复数据
## [0.6.3](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.3) (2024-11-19)
- 🐛 修复用户战绩角色数据`undefined`
- 🐛 修复咨讯页加载更多异常
- 🐛 修复验证码登录提示`-100`数据刷新后若为已登录UID则不会再提示切换
- 🐛 修复部分公告渲染异常
- 🐛 修复成就页面在存在搜索内容时点击左侧成就系列无响应
- ✨ 帖子新增 UID 卡片解析&渲染
- ✨ 帖子新增自定义表情解析&渲染
- ✨ 真境剧诗适配,新增真境剧诗页面,支持获取&分享&上传(胡桃数据库),可通过深渊页面进入
- ✨ 新增话题页面,可通过帖子卡片标签点击或帖子详情顶部标签点击进入
- ✨ 更完善的`loading`显示调整了组件UI
- 🍱 更新5.2版本资源 [`#133`](https://github.com/BTMuli/TeyvatGuide/issues/133)
- 💄 调整祈愿记录UP四星颜色
- 💄 修复帖子页兑换码弹窗高度异常
- 💄 调整帖子卡片UI增加显示帖子话题如存在话题&版块支持点击跳转
- 💄 调整帖子详情页UI顶部话题&版块支持点击跳转
- 💄 调整帖子显示数量,支持加载更多,默认排序改为`最新回复`,移除`默认排序`,增加`热门`排序
- 💄 咨讯、帖子等页面刷新时自动滚动到顶部
- 🔥 深渊数据库显示移除第9层统计数据
- 👽️ 米游社子窗口增加`genshinnet`域名支持
- 🎨 优化帖子详情数据加载的错误处理
- ♻️ `snackbar``confirm``loading`组件重构
- ♻️ 请求模块重构
## [0.6.2](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.2) (2024-10-31)
- 🐛 修复用户登录状态异常 [`#132`](https://github.com/BTMuli/TeyvatGudie/issues/132)
- 💄 帖子子回复取消保持,点击其他隐藏
- 💄 调整未登录时的部分内容渲染
- 💄 调整保存时图片的hint
- 💄 `mac`:修复回顶组件宽度异常
- 💄 `mac`:修复视频封面位置异常
- 💄 调整角色卡片UI维持名片比例
- ♻️ 深渊数据库重构,概览显示差距
- 🍱 更新下半卡池
- 👽️ 修正咨讯Api
## [0.6.1](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.1) (2024-10-22)
- 🐛 新用户数据库初始化异常 [`#131`](https://github.com/BTMuli/TeyavtGuide/issues/131)
- 🐛 修复角色数据未即时刷新
- 🐛 修复`openSystemBrowser`回调执行异常
- ♻️ 公告卡片组件抽离,支持分享
- 🎨 成就页面&名片图鉴页面采用虚拟列表优化性能
- 🎨 调整卡片封面加载逻辑
- 💄 处理特定情况下的内容溢出
- 💄 适配深渊新字段,显示跳过楼层
- 💄深渊分享显示应用信息,圣遗物详情推荐属性高亮
- 💄调整帖子子窗口副标题样式
- 💄调整留影叙佳期选项样式
## [0.6.0](https://github.com/BTMuli/TeyvatGuide/releases/v0.6.0) (2024-10-09)
- ✨ 应用支持多账号 [`#126`](https://github.com/BTMuli/TeyvatGuide/issues/126)
- ✨ 支持手动输入CK&用户删除
- ✨ 帖子卡片支持分享
- ✨ 支持官服用户直接启动原神 [`#80`](https://github.com/BTMuli/TeyvatGuide/issues/80)
- ♻️ 重构成就表格,支持多存档
- ♻️ 重构深渊数据加载逻辑,适配多存档
- ♻️ 重构用户登录逻辑及切换
- ♻️ 重构祈愿、深渊、角色页面逻辑,支持游戏账号切换
- ♻️ 战绩页面适配多账户
- 💄 帖子/公告子窗口添加窗口置顶按钮
- 💄 调整视频分享截图
- 💄 回复分享图忽略导出图标
- 💄 显示用户等级
- 💄 处理特定情况下的回复内容溢出
- 💄 兑换码支持分享调整了兑换码浮窗UI
- 💄 公告对列表进行缩进
- 💄 材料Wiki样式优化支持分类筛选&查询
- 💄 材料详情浮窗支持分享
- ✏️ JSBridge新增`openSystemBrowser`回调处理
- ✏️ 修正公告正则
- 👽️ 更新国际服公告Api
- 📖 添加 macOS 平台门禁属性导致无法打开应用的修复指引 [`#130`](https://github.com/BTMuli/TeyvatGuide/issues/130)

View File

@@ -2,12 +2,12 @@
Author: 目棃
Description: 项目资源说明
Date: 2023-03-10
Update: 2024-09-19
Update: 2025-02-28
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-10 22:05:44`
>
> 更新于 `2024-09-19 15:28:16`
> 更新于 `2025-02-28 09:40:33`
## 说明
@@ -28,6 +28,7 @@ Update: 2024-09-19
- 我的角色Hoyolab
- 深渊记录Hoyolab
- 祈愿记录Hoyolab
- 实用脚本Hoyolab
- 图鉴Hoyolab其子目录图标同样来源于 Hoyolab
- 模式切换:`mdi-weather-night` `mdi-weather-sunny`
- 设置:个人绘制 SVG

View File

@@ -5,7 +5,6 @@
<link rel="icon" type="image/svg+xml" href="/icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>TeyvatGuide</title>
<script src="https://static.geetest.com/v4/gt4.js"></script>
</head>
<body>

View File

@@ -1,17 +1,19 @@
{
"name": "teyvatguide",
"version": "0.6.9",
"version": "0.7.3",
"description": "Game Tool for GenshinImpact player",
"private": true,
"packageManager": "pnpm@10.2.0",
"packageManager": "pnpm@10.8.0",
"type": "module",
"scripts": {
"build": "tauri build",
"debug": "tauri build --debug",
"dev": "tauri dev --exit-on-panic",
"eslint:pre": "pnpx @eslint/config-inspector@latest",
"oxlint": "oxlint",
"lint": "concurrently \"pnpm:lint:*(!fix)\"",
"lint:fix": "concurrently \"pnpm:lint:*:fix\"",
"lint-vue": "vue-tsc --noEmit",
"lint:code": "eslint .",
"lint:code:fix": "eslint . --fix",
"lint:style": "stylelint \"src/**/*.{vue,css,scss}\" -f verbose",
@@ -68,78 +70,79 @@
},
"dependencies": {
"@mdi/font": "7.4.47",
"@tauri-apps/api": "^2.2.0",
"@tauri-apps/plugin-deep-link": "^2.2.0",
"@tauri-apps/plugin-dialog": "^2.2.0",
"@tauri-apps/plugin-fs": "^2.2.0",
"@tauri-apps/plugin-http": "^2.3.0",
"@tauri-apps/plugin-log": "^2.2.1",
"@tauri-apps/plugin-os": "^2.2.0",
"@tauri-apps/plugin-process": "^2.2.0",
"@tauri-apps/plugin-shell": "^2.2.0",
"@tauri-apps/api": "^2.4.1",
"@tauri-apps/plugin-deep-link": "^2.2.1",
"@tauri-apps/plugin-dialog": "^2.2.1",
"@tauri-apps/plugin-fs": "^2.2.1",
"@tauri-apps/plugin-http": "^2.4.3",
"@tauri-apps/plugin-log": "^2.3.1",
"@tauri-apps/plugin-opener": "^2.2.6",
"@tauri-apps/plugin-os": "^2.2.1",
"@tauri-apps/plugin-process": "^2.2.1",
"@tauri-apps/plugin-shell": "^2.2.1",
"@tauri-apps/plugin-sql": "^2.2.0",
"ajv": "^8.17.1",
"artplayer": "^5.2.2",
"clipboard": "^2.0.11",
"color-convert": "^2.0.1",
"color-convert": "^3.0.1",
"echarts": "^5.6.0",
"html2canvas": "^1.4.1",
"js-md5": "^0.8.3",
"jsencrypt": "^3.3.2",
"pinia": "^2.3.1",
"pinia": "^3.0.1",
"pinia-plugin-persistedstate": "^4.2.0",
"qrcode.vue": "^3.6.0",
"sass": "^1.83.4",
"sass-loader": "^16.0.4",
"uuid": "^11.0.5",
"sass-embedded": "^1.86.3",
"uuid": "^11.1.0",
"vue": "^3.5.13",
"vue-echarts": "^7.0.3",
"vue-json-viewer": "^3.0.4",
"vue-json-pretty": "^2.4.0",
"vue-router": "^4.5.0",
"vuetify": "^3.7.9",
"vuetify": "^3.8.1",
"wcag-color": "^1.1.1",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.19.0",
"@tauri-apps/cli": "2.2.7",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.24.0",
"@tauri-apps/cli": "2.4.1",
"@types/color-convert": "^2.0.4",
"@types/fs-extra": "^11.0.4",
"@types/js-md5": "^0.7.2",
"@types/node": "^22.13.0",
"@types/node": "^22.14.0",
"@types/uuid": "^10.0.0",
"@typescript-eslint/parser": "^8.23.0",
"@vitejs/plugin-vue": "^5.2.1",
"@typescript-eslint/parser": "^8.29.1",
"@vitejs/plugin-vue": "^5.2.3",
"concurrently": "^9.1.2",
"eslint": "^9.19.0",
"eslint": "^9.24.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsonc": "^2.19.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-vue": "^9.32.0",
"eslint-plugin-yml": "^1.16.0",
"eslint-plugin-jsonc": "^2.20.0",
"eslint-plugin-prettier": "^5.2.6",
"eslint-plugin-vue": "^10.0.0",
"eslint-plugin-yml": "^1.17.0",
"fs-extra": "^11.3.0",
"globals": "^15.14.0",
"globals": "^16.0.0",
"husky": "^9.1.7",
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.4.3",
"oxlint": "^0.15.9",
"prettier": "3.4.2",
"stylelint": "^16.14.1",
"lint-staged": "^15.5.0",
"oxlint": "^0.16.5",
"prettier": "3.5.3",
"stylelint": "^16.18.0",
"stylelint-config-idiomatic-order": "^10.0.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
"stylelint-high-performance-animation": "^1.10.0",
"stylelint-high-performance-animation": "^1.11.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.3",
"stylelint-scss": "^6.11.0",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.23.0",
"vite": "^6.0.11",
"vite-plugin-vue-devtools": "^7.7.1",
"vite-plugin-vuetify": "^2.0.4",
"vue-eslint-parser": "^9.4.3",
"yaml-eslint-parser": "^1.2.3"
"stylelint-scss": "^6.11.1",
"tsx": "^4.19.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.29.1",
"vite": "^6.2.5",
"vite-plugin-vue-devtools": "^7.7.2",
"vite-plugin-vuetify": "^2.1.1",
"vue-eslint-parser": "^10.1.3",
"vue-tsc": "^2.2.8",
"yaml-eslint-parser": "^1.3.0"
}
}

3339
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

BIN
public/source/UI/posts.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -2,3 +2,6 @@
# will have compiled files and executables
/target/
# Generated by Tauri
# will have schema files for capabilities auto-completion
/gen/schemas

1647
src-tauri/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[package]
name = "TeyvatGuide"
version = "0.6.9"
version = "0.7.3"
description = "Game Tool for Genshin Impact player"
authors = ["BTMuli <bt-muli@outlook.com>"]
license = "MIT"
@@ -9,16 +9,23 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
# The `_lib` suffix may seem redundant, but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "teyvat_guide_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2.0.5", features = [] }
tauri-build = { version = "2.1.1", features = [] }
[dependencies]
chrono = "0.4.39"
log = "0.4.25"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.138"
tauri = { version = "2.2.5", features = [] }
tauri-utils = "2.1.1"
chrono = "0.4.40"
log = "0.4.27"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
tauri = { version = "2.4.1", features = [] }
tauri-utils = "2.3.1"
url = "2.5.4"
walkdir = "2.5.0"
@@ -48,6 +55,11 @@ features = ["unsafe-headers"]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
branch = "v2"
# opener 插件
[dependencies.tauri-plugin-opener]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
branch = "v2"
# os 插件
[dependencies.tauri-plugin-os]
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
@@ -73,8 +85,3 @@ branch = "v2"
git = "ssh://git@github.com/tauri-apps/plugins-workspace.git"
branch = "v2"
features = ["sqlite"]
[features]
# this feature is used for production builds or when `devPath` points to the filesystem
# DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]

View File

@@ -21,6 +21,7 @@
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-always-on-top",
"core:window:allow-set-size",
"core:window:allow-set-title",
"core:window:allow-set-fullscreen",

View File

@@ -14,6 +14,7 @@
"core:window:default",
"core:path:allow-resolve-directory",
"core:path:default",
"opener:default",
{ "identifier": "fs:allow-exists", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-mkdir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-dir", "allow": [{ "path": "**" }] },

View File

@@ -4,35 +4,36 @@
"description": "Capability for the sub window",
"windows": ["Sub_window"],
"permissions": [
"core:app:allow-version",
"core:app:default",
"dialog:allow-save",
"core:app:allow-version",
"dialog:default",
"core:event:allow-listen",
"dialog:allow-save",
"core:event:default",
"fs:default",
"http:allow-fetch",
"log:allow-log",
"log:default",
"core:path:allow-resolve-directory",
"core:event:allow-listen",
"core:path:default",
"shell:allow-open",
"shell:default",
"sql:allow-load",
"sql:allow-execute",
"sql:default",
"core:webview:allow-set-webview-zoom",
"core:path:allow-resolve-directory",
"core:webview:default",
"core:webview:allow-set-webview-zoom",
"core:window:default",
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-size",
"core:window:allow-set-title",
"core:window:allow-set-always-on-top",
"core:window:allow-set-focus",
"core:window:allow-set-fullscreen",
"core:window:allow-set-size",
"core:window:allow-set-title",
"core:window:allow-show",
"core:window:allow-set-always-on-top",
"core:window:default",
"fs:default",
"http:allow-fetch",
"log:default",
"log:allow-log",
"opener:default",
"shell:default",
"shell:allow-open",
"sql:default",
"sql:allow-execute",
"sql:allow-load",
{ "identifier": "fs:allow-exists", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-mkdir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-dir", "allow": [{ "path": "**" }] },
@@ -40,6 +41,7 @@
{ "identifier": "fs:allow-remove", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "**" }] },
{ "identifier": "opener:allow-open-path", "allow": [{ "path": "**" }] },
{
"identifier": "http:default",
"allow": [

View File

@@ -4,39 +4,40 @@
"description": "Capability for the main window",
"windows": ["TeyvatGuide"],
"permissions": [
"core:app:allow-version",
"core:app:default",
"dialog:allow-save",
"dialog:default",
"core:event:allow-listen",
"core:app:allow-version",
"core:event:default",
"fs:default",
"http:allow-fetch",
"log:allow-log",
"log:default",
"core:path:allow-resolve-directory",
"core:event:allow-listen",
"core:path:default",
"process:allow-exit",
"process:default",
"shell:allow-execute",
"shell:allow-open",
"shell:default",
"sql:allow-load",
"sql:allow-execute",
"sql:default",
"core:path:allow-resolve-directory",
"core:webview:default",
"core:webview:allow-create-webview-window",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:default",
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-size",
"core:window:default",
"core:window:allow-is-minimized",
"core:window:allow-set-title",
"core:window:allow-set-focus",
"core:window:allow-set-size",
"core:window:allow-set-title",
"core:window:allow-show",
"core:window:allow-unminimize",
"dialog:default",
"dialog:allow-save",
"fs:default",
"http:allow-fetch",
"log:default",
"log:allow-log",
"opener:default",
"process:default",
"process:allow-exit",
"shell:default",
"shell:allow-open",
"shell:allow-execute",
"sql:default",
"sql:allow-load",
"sql:allow-execute",
{ "identifier": "fs:allow-exists", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-mkdir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-dir", "allow": [{ "path": "**" }] },
@@ -44,6 +45,7 @@
{ "identifier": "fs:allow-remove", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "**" }] },
{ "identifier": "opener:allow-open-path", "allow": [{ "path": "**" }] },
{
"identifier": "http:default",
"allow": [
@@ -55,11 +57,7 @@
},
{
"identifier": "shell:allow-execute",
"allow": [
{ "name": "win_open", "cmd": "explorer", "args": true },
{ "name": "mac_open", "cmd": "open", "args": true },
{ "name": "exec-sh", "cmd": "powershell", "args": true }
]
"allow": [{ "name": "exec-sh", "cmd": "powershell", "args": true }]
}
],
"platforms": ["windows", "macOS"]

File diff suppressed because it is too large Load Diff

View File

@@ -1,201 +0,0 @@
{
"DevJson": {
"identifier": "DevJson",
"description": "Capability for the dev json window",
"local": true,
"windows": ["Dev_JSON"],
"permissions": [
"core:app:allow-version",
"core:app:default",
"core:event:allow-listen",
"core:event:default",
"http:allow-fetch",
"log:allow-log",
"log:default",
"core:path:allow-resolve-directory",
"core:path:default",
"sql:allow-load",
"sql:allow-execute",
"sql:default",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-size",
"core:window:allow-set-title",
"core:window:allow-set-fullscreen",
"core:window:allow-show",
"core:window:default",
{
"identifier": "http:default",
"allow": [
{ "url": "https://*.miyoushe.com/*" },
{ "url": "https://*.mihoyo.com/*" },
{ "url": "https://*.hoyoverse.com/*" }
]
}
],
"platforms": ["windows", "macOS"]
},
"Mys": {
"identifier": "Mys",
"description": "Capability for the mys client window",
"remote": {
"urls": ["https://*.mihoyo.com/*", "https://*.miyoushe.com/*", "https://*.genshinnet.com/*"]
},
"local": true,
"windows": ["mhy_client"],
"permissions": [
"dialog:allow-message",
"dialog:default",
"core:event:allow-emit",
"http:allow-fetch",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:default",
"core:path:allow-resolve-directory",
"core:path:default",
{ "identifier": "fs:allow-exists", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-mkdir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-dir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-text-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-remove", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "**" }] },
{
"identifier": "http:default",
"allow": [
{ "url": "https://*.miyoushe.com/*" },
{ "url": "https://*.mihoyo.com/*" },
{ "url": "https://*.genshinnet.com/*" }
]
}
],
"platforms": ["windows", "macOS"]
},
"SubWindow": {
"identifier": "SubWindow",
"description": "Capability for the sub window",
"local": true,
"windows": ["Sub_window"],
"permissions": [
"core:app:allow-version",
"core:app:default",
"dialog:allow-save",
"dialog:default",
"core:event:allow-listen",
"core:event:default",
"fs:default",
"http:allow-fetch",
"log:allow-log",
"log:default",
"core:path:allow-resolve-directory",
"core:path:default",
"shell:allow-open",
"shell:default",
"sql:allow-load",
"sql:allow-execute",
"sql:default",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-size",
"core:window:allow-set-title",
"core:window:allow-set-focus",
"core:window:allow-set-fullscreen",
"core:window:allow-show",
"core:window:allow-set-always-on-top",
"core:window:default",
{ "identifier": "fs:allow-exists", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-mkdir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-dir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-text-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-remove", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "**" }] },
{
"identifier": "http:default",
"allow": [
{ "url": "https://*.miyoushe.com/*" },
{ "url": "https://*.mihoyo.com/*" },
{ "url": "https://*.mihoyogift.com/*" },
{ "url": "https://*.bilibili.com/*" },
{ "url": "http://*.hdslb.com/*" },
{ "url": "https://*.hoyoverse.com/*" },
{ "url": "https://*.genshinnet.com/*" }
]
}
],
"platforms": ["windows", "macOS"]
},
"TeyvatGuide": {
"identifier": "TeyvatGuide",
"description": "Capability for the main window",
"local": true,
"windows": ["TeyvatGuide"],
"permissions": [
"core:app:allow-version",
"core:app:default",
"dialog:allow-save",
"dialog:default",
"core:event:allow-listen",
"core:event:default",
"fs:default",
"http:allow-fetch",
"log:allow-log",
"log:default",
"core:path:allow-resolve-directory",
"core:path:default",
"process:allow-exit",
"process:default",
"shell:allow-execute",
"shell:allow-open",
"shell:default",
"sql:allow-load",
"sql:allow-execute",
"sql:default",
"core:webview:allow-create-webview-window",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-size",
"core:window:default",
"core:window:allow-is-minimized",
"core:window:allow-set-title",
"core:window:allow-set-focus",
"core:window:allow-show",
"core:window:allow-unminimize",
{ "identifier": "fs:allow-exists", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-mkdir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-dir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-text-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-remove", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "**" }] },
{
"identifier": "http:default",
"allow": [
{ "url": "https://*.miyoushe.com/*" },
{ "url": "https://*.mihoyo.com/*" },
{ "url": "https://homa.snapgenshin.com/*" },
{ "url": "https://*.hoyoverse.com/*" }
]
},
{
"identifier": "shell:allow-execute",
"allow": [
{ "args": true, "cmd": "explorer", "name": "win_open" },
{ "args": true, "cmd": "open", "name": "mac_open" },
{ "args": true, "cmd": "powershell", "name": "exec-sh" }
]
}
],
"platforms": ["windows", "macOS"]
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
//! @file src/client/mod.rs
//! @desc 客户端模块,负责操作米游社客户端
//! @since Beta v0.6.8
//! @since Beta v0.7.3
mod menu;
mod utils;
@@ -8,7 +8,7 @@ mod utils;
use tauri::{AppHandle, Manager, WebviewWindowBuilder};
use tauri_utils::config::WebviewUrl;
static BBS_VERSION: &'static str = "2.80.1";
static BBS_VERSION: &'static str = "2.85.1";
#[tauri::command]
pub async fn create_mhy_client(handle: AppHandle, func: String, url: String) {
@@ -39,6 +39,7 @@ pub async fn create_mhy_client(handle: AppHandle, func: String, url: String) {
.title("米游社")
.center()
.user_agent(&win_ua)
.additional_browser_args("--disable-features=msWebOOUI,msPdfOOUI,msSmartScreenProtection --autoplay-policy=no-user-gesture-required")
// todo mac环境下没看到menu
.menu(menu::create_mhy_menu(handle.clone()))
.on_menu_event(move |app, event| menu::handle_menu_event(app, event))

View File

@@ -1,6 +1,6 @@
//! @file src/commands.rs
//! @desc 命令模块,负责处理命令
//! @since Beta v0.5.1
//! @since Beta v0.7.2
use tauri::{AppHandle, Emitter, Manager, WebviewWindowBuilder};
use tauri_utils::config::{WebviewUrl, WindowConfig};
@@ -42,6 +42,7 @@ pub async fn create_window(
.visible(option.visible)
.title(option.title)
.center()
.additional_browser_args("--disable-features=msWebOOUI,msPdfOOUI,msSmartScreenProtection --autoplay-policy=no-user-gesture-required")
.build()
.unwrap();
}

68
src-tauri/src/lib.rs Normal file
View File

@@ -0,0 +1,68 @@
//! @file src/lib.rs
//! @desc 主模块,用于启动应用
//! @since Beta v0.7.2
mod client;
mod commands;
mod plugins;
mod utils;
use crate::client::create_mhy_client;
use crate::commands::{create_window, execute_js, get_dir_size, init_app};
use crate::plugins::{build_log_plugin, build_si_plugin};
use tauri::{generate_context, generate_handler, Builder, Manager, Window, WindowEvent};
// 窗口事件处理
fn window_event_handler(app: &Window, event: &WindowEvent) {
match event {
WindowEvent::CloseRequested { api, .. } => {
api.prevent_close();
if app.label() == "TeyvatGuide" {
// 子窗口 label 的数组
const SUB_WINDOW_LABELS: [&str; 3] = ["Sub_window", "Dev_JSON", "mhy_client"];
for label in SUB_WINDOW_LABELS.iter() {
let sub = app.get_webview_window(label);
if sub.is_some() {
sub.unwrap().destroy().unwrap();
}
}
}
app.destroy().unwrap();
}
_ => {}
}
}
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
Builder::default()
.on_window_event(move |app, event| window_event_handler(app, event))
.plugin(build_si_plugin())
.plugin(tauri_plugin_deep_link::init())
.plugin(tauri_plugin_dialog::init())
.plugin(tauri_plugin_fs::init())
.plugin(tauri_plugin_http::init())
.plugin(tauri_plugin_opener::init())
.plugin(tauri_plugin_os::init())
.plugin(tauri_plugin_process::init())
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_sql::Builder::default().build())
.plugin(build_log_plugin())
.setup(|_app| {
let _window = _app.get_webview_window("TeyvatGuide");
#[cfg(debug_assertions)]
if _window.is_some() {
_window.unwrap().open_devtools();
}
Ok(())
})
.invoke_handler(generate_handler![
init_app,
create_window,
execute_js,
get_dir_size,
create_mhy_client
])
.run(generate_context!())
.expect("error while running tauri application");
}

View File

@@ -1,69 +1,10 @@
//! @file src/main.rs
//! @desc 主模块,用于启动应用
//! @since Beta v0.6.2
//! @since Beta v0.7.2
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
mod client;
mod commands;
mod plugins;
mod utils;
use crate::client::create_mhy_client;
use crate::commands::{create_window, execute_js, get_dir_size, init_app};
use crate::plugins::{build_log_plugin, build_si_plugin};
use tauri::{generate_context, generate_handler, Builder, Manager, Window, WindowEvent};
// 窗口事件处理
fn window_event_handler(app: &Window, event: &WindowEvent) {
match event {
WindowEvent::CloseRequested { api, .. } => {
api.prevent_close();
if app.label() == "TeyvatGuide" {
// 子窗口 label 的数组
const SUB_WINDOW_LABELS: [&str; 3] = ["Sub_window", "Dev_JSON", "mhy_client"];
for label in SUB_WINDOW_LABELS.iter() {
let sub = app.get_webview_window(label);
if sub.is_some() {
sub.unwrap().destroy().unwrap();
}
}
}
app.destroy().unwrap();
}
_ => {}
}
}
fn main() {
Builder::default()
.on_window_event(move |app, event| window_event_handler(app, event))
.plugin(build_si_plugin())
.plugin(tauri_plugin_deep_link::init())
.plugin(tauri_plugin_dialog::init())
.plugin(tauri_plugin_fs::init())
.plugin(tauri_plugin_http::init())
.plugin(tauri_plugin_os::init())
.plugin(tauri_plugin_process::init())
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_sql::Builder::default().build())
.plugin(build_log_plugin())
.setup(|_app| {
let _window = _app.get_webview_window("TeyvatGuide");
#[cfg(debug_assertions)]
if _window.is_some() {
_window.unwrap().open_devtools();
}
Ok(())
})
.invoke_handler(generate_handler![
init_app,
create_window,
execute_js,
get_dir_size,
create_mhy_client
])
.run(generate_context!())
.expect("error while running tauri application");
teyvat_guide_lib::run()
}

View File

@@ -1,7 +1,8 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "TeyvatGuide",
"identifier": "TeyvatGuide",
"version": "0.6.9",
"version": "0.7.3",
"build": {
"beforeDevCommand": "pnpm vite:dev",
"beforeBuildCommand": "pnpm vite:build",
@@ -39,6 +40,7 @@
"resizable": true,
"title": "Teyvat Guide",
"label": "TeyvatGuide",
"additionalBrowserArgs": "--disable-features=msWebOOUI,msPdfOOUI,msSmartScreenProtection --autoplay-policy=no-user-gesture-required",
"width": 1600,
"height": 900,
"center": true,

View File

@@ -18,10 +18,10 @@ import showSnackbar from "@comp/func/snackbar.js";
import TGSqlite from "@Sqlite/index.js";
import TSUserAccount from "@Sqlite/modules/userAccount.js";
import { app, core, event, webviewWindow } from "@tauri-apps/api";
import { PhysicalSize } from "@tauri-apps/api/dpi";
import type { Event, UnlistenFn } from "@tauri-apps/api/event";
import { currentMonitor, getCurrentWindow } from "@tauri-apps/api/window";
import { getCurrentWindow, LogicalSize } from "@tauri-apps/api/window";
import { mkdir } from "@tauri-apps/plugin-fs";
import { openUrl } from "@tauri-apps/plugin-opener";
import { storeToRefs } from "pinia";
import { computed, onMounted, onUnmounted, ref } from "vue";
import { useRouter } from "vue-router";
@@ -30,6 +30,7 @@ import { useAppStore } from "@/store/modules/app.js";
import { useUserStore } from "@/store/modules/user.js";
import { getBuildTime } from "@/utils/TGBuild.js";
import TGLogger from "@/utils/TGLogger.js";
import { getWindowSize, resizeWindow } from "@/utils/TGWindow.js";
import OtherApi from "@/web/request/otherReq.js";
const router = useRouter();
@@ -40,6 +41,7 @@ const vuetifyTheme = computed<string>(() => (theme.value === "dark" ? "dark" : "
let themeListener: UnlistenFn | null = null;
let urlListener: UnlistenFn | null = null;
let resizeListener: UnlistenFn | null = null;
onMounted(async () => {
const win = getCurrentWindow();
@@ -51,43 +53,27 @@ onMounted(async () => {
await core.invoke("init_app");
urlListener = await getDeepLink();
}
if (needResize.value !== "false") await checkResize();
if (needResize.value !== "false") await resizeWindow();
document.documentElement.className = theme.value;
themeListener = await event.listen<string>("readTheme", (e: Event<string>) => {
theme.value = e.payload;
document.documentElement.className = theme.value;
});
resizeListener = await event.listen<string>("needResize", async (e: Event<string>) => {
console.log(needResize);
const windowCur = webviewWindow.getCurrentWebviewWindow();
if (e.payload !== "false") {
await resizeWindow();
} else {
const size = getWindowSize(windowCur.label);
await windowCur.setSize(new LogicalSize(size.width, size.height));
await windowCur.setZoom(1);
}
await windowCur.center();
});
await getCurrentWindow().show();
});
async function checkResize(): Promise<void> {
const screen = await currentMonitor();
if (screen === null) {
showSnackbar.error("获取屏幕信息失败!", 3000);
return;
}
const windowCur = webviewWindow.getCurrentWebviewWindow();
if (await windowCur.isMaximized()) return;
const designSize = getSize(windowCur.label);
const widthScale = screen.size.width / 1920;
const heightScale = screen.size.height / 1080;
await windowCur.setSize(
new PhysicalSize(
Math.round(designSize.width * widthScale),
Math.round(designSize.height * heightScale),
),
);
await windowCur.setZoom((1 / screen.scaleFactor) * Math.min(widthScale, heightScale));
await windowCur.setFocus();
return;
}
function getSize(label: string): PhysicalSize {
if (label === "TeyvatGuide") return new PhysicalSize(1600, 900);
if (label === "Sub_window" || label === "Dev_JSON") return new PhysicalSize(960, 720);
return new PhysicalSize(1280, 720);
}
// 启动后只执行一次的监听
async function listenOnInit(): Promise<void> {
console.info("[App][listenOnInit] 监听初始化事件!");
@@ -248,7 +234,7 @@ async function checkUpdate(): Promise<void> {
buildTime.value = getBuildTime();
await TGSqlite.update();
showSnackbar.success("数据库已更新!", 3000);
window.open("https://app.btmuli.ink/docs/TeyvatGuide/changelogs.html");
await openUrl("https://app.btmuli.ink/docs/TeyvatGuide/changelogs.html");
}
}
@@ -261,6 +247,10 @@ onUnmounted(() => {
urlListener();
urlListener = null;
}
if (resizeListener !== null) {
resizeListener();
resizeListener = null;
}
});
</script>
<style lang="css" scoped>

View File

@@ -1,12 +1,12 @@
/*
* @file assets/index.css
* @description 全局样式文件
* @since Beta v0.5.5
* @since Beta v0.7.2
*/
@import "fonts/index.css";
@import url("themes/default.css");
@import url("themes/dark.css");
@import "themes/default.css";
@import "themes/dark.css";
:root {
/* font */
@@ -62,26 +62,27 @@ html {
/*
* @description 侧边滚动条样式
* @since Beta v0.5.5
* @since Beta v0.7.2
*/
::-webkit-scrollbar {
width: 8px;
height: 8px;
border-radius: 5px;
width: 4px;
height: 4px;
border-radius: 4px;
}
::-webkit-scrollbar-track {
border-radius: 5px;
border-radius: 4px;
background: var(--common-shadow-2);
}
::-webkit-scrollbar-corner {
border-radius: 5px;
border-radius: 4px;
background: var(--common-shadow-2);
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
min-height: 48px;
border-radius: 4px;
background: var(--tgc-od-white);
}

View File

@@ -0,0 +1,49 @@
/**
* @file styles/github.styles.scss
* @description GitHub styles
* @since Beta v0.7.2
*/
/* Card传入theme参数 */
@mixin github-card($theme: "default") {
@include github-card-shadow($theme);
@if $theme == "default" {
border: 1px solid #d1d9e0;
background: #ffffff;
} @else {
border: 1px solid #3d444d;
background: #0d1117;
}
}
/* CardShadow传入theme参数 */
@mixin github-card-shadow($theme: "default") {
@if $theme == "default" {
box-shadow:
rgba(31, 35, 40, 0.06) 0 1px 1px 0,
rgba(31, 35, 40, 0.06) 0 1px 3px 0;
} @else {
box-shadow:
rgba(1, 4, 9, 0.6) 0 1px 1px 0,
rgba(1, 4, 9, 0.6) 0 1px 3px 0;
}
}
/* Btn传入theme参数 */
@mixin github-btn($theme: "default") {
@if $theme == "default" {
border: 1px solid #d1d9e0;
background: #f6f8fa;
} @else {
border: 1px solid #3d444d;
background: #212830;
}
}
/* tags深色主题 */
@mixin github-tag-dark-gen($color: #548af7) {
border: 1px solid rgba($color, 0.3);
background: rgba($color, 0.18);
color: $color;
}

View File

@@ -1,7 +1,7 @@
/**
* @file assets/themes/dark.css
* @description 主题样式文件-深色主题
* @since Beta v0.4.5
* @since Beta v0.7.2
*/
/* dark mode */
@@ -33,8 +33,6 @@ html.dark {
/* button */
--btn-text: var(--tgc-yellow-1);
--btn-bg-1: var(--tgc-dark-5);
--btn-text-1: var(--tgc-yellow-1);
/* box-shadow */
--common-shadow-1: rgb(255 255 255 / 10%);

View File

@@ -1,7 +1,7 @@
/**
* @file assets/themes/default.css
* @description 主题样式文件-默认(浅色)主题
* @since Beta v0.4.5
* @since Beta v0.7.2
*/
/* default(light) theme */
@@ -33,8 +33,6 @@ html.default {
/* button */
--btn-text: var(--tgc-yellow-2); /* with tgc-btn-1 */
--btn-bg-1: var(--tgc-yellow-1);
--btn-text-1: var(--tgc-blue-1);
/* box-shadow */
--common-shadow-1: rgb(0 0 0 / 10%);

View File

@@ -42,6 +42,7 @@ onUnmounted(() => window.removeEventListener("scroll", handleScroll));
<style lang="css" scoped>
.back-top {
position: fixed;
z-index: 1;
right: 10px;
bottom: 10px;
width: 40px;

Some files were not shown because too many files have changed in this diff Show More