Compare commits

...

162 Commits

Author SHA1 Message Date
BTMuli
918dee9f32 🚀 feat(0.1.2): 版本更新 2023-04-12 19:28:21 +08:00
BTMuli
abf5d0eb44 🤔 fix(calendar): 先顶着,后续小版本更新 2023-04-12 19:11:31 +08:00
BTMuli
e052939331 🤔 fix(achievement): 没有资源,先摆了 2023-04-12 19:06:22 +08:00
BTMuli
2a949fa864 📦 add(calendar): 添加图像资源 2023-04-12 19:03:20 +08:00
BTMuli
35ec1b2d7e 📦 add(calendar): 更新 Json 2023-04-12 18:47:05 +08:00
BTMuli
2b2e539367 📦 add(compare): 更新 compare Json 2023-04-12 17:39:48 +08:00
BTMuli
1fcf47a390 🐛 fix(anno): 处理 banner 为 “” 的情况 2023-04-12 17:11:53 +08:00
BTMuli
af0a5198b6 👌 fix(store): 更新默认配置 2023-04-12 16:36:52 +08:00
BTMuli
b21707ab83 📦 fix(nameCard): 名片 json 更新 2023-04-12 16:19:14 +08:00
BTMuli
6e5a648380 💄 fix(pool): 颜色怎么改了 2023-04-12 15:34:19 +08:00
BTMuli
71225ad895 📦 add(nameCard): 添加新版本资源 2023-04-12 15:32:19 +08:00
BTMuli
5734e9591d 📦 add(GCG): GCG Json添加 2023-04-12 14:37:52 +08:00
BTMuli
7f31ff3589 📦 add(GCG): 添加 GCG 图像资源 2023-04-12 14:34:41 +08:00
BTMuli
bde7c7b575 📦 add(nameCard): 添加遗漏的名片 2023-04-12 08:43:36 +08:00
BTMuli
51b44978f1 📦 add(achievement): 添加新版本成就系列图标 2023-04-12 08:41:14 +08:00
BTMuli
494696a89c 📦 add(achivement): 添加新版本成就 JSON 2023-04-12 08:36:14 +08:00
BTMuli
d665f9877f 👌 fix(ppol): 卡池结束样式变更 2023-04-11 15:43:40 +08:00
BTMuli
20917aa8c2 🐛 fix(news): 修复跳转路径错误,调整侧边栏排布 2023-04-11 12:28:37 +08:00
BTMuli
f626d5c000 🐛 fix(config): 修复 dev 模式变更显示 2023-04-10 21:46:38 +08:00
BTMuli
b028677c98 🤔 fix(hk4e): 先存着,后续怎么用再说 2023-04-10 17:40:52 +08:00
BTMuli
2b3e3cc871 🎨 fix(login): 初步检验 login_ticket 2023-04-10 17:14:12 +08:00
BTMuli
acfe64c96b 🎨 refactor(UIAF): 目录结构优化 2023-04-10 14:28:30 +08:00
BTMuli
97f1e9b19b 👌 fix(annoParse): 优化图片样式 2023-04-10 13:21:32 +08:00
舰队的偶像-岛风酱!
e804553951 ♻️ refactor(types): 给笨蛋牡蛎一点小小的类型震撼
Signed-off-by: GitHub <noreply@github.com>
2023-04-10 13:12:50 +08:00
BTMuli
d7494739f6 🎨 refractor(genshin): 将 genshin 插件转移到 core 目录下 2023-04-10 00:16:45 +08:00
BTMuli
a238dc5eed 🏷️ fix(types): 精简 types,清除无用文件 2023-04-09 23:09:13 +08:00
BTMuli
20f3c8d00f 💄 fix(sideBar): 设置置底 #1 2023-04-09 22:50:53 +08:00
BTMuli
16b6db3a99 📦 add(user): 添加默认用户头像 2023-04-09 22:01:43 +08:00
BTMuli
4704bd22f0 🏷️ fix(user): 完善米游社用户 type 2023-04-09 21:54:57 +08:00
BTMuli
1d8eec76ec 📦 fix(ck): cookie 用 store 来存 2023-04-09 21:12:27 +08:00
BTMuli
ee1593c93b 👌 fix(ck): 优化表现 2023-04-09 17:28:09 +08:00
BTMuli
b5b1c318ea feat(ck): 成功获取 ck,只需两步确认
Co-authored-by: Moke <jerry765@users.noreply.github.com>
2023-04-09 17:17:58 +08:00
BTMuli
4c0041b3e4 💄 fix(calendar): 布局美化,好看很多了 2023-04-09 01:26:23 +08:00
BTMuli
274894f532 🤔 add(login): 添加 invoke,暂时没有更好的方案了 2023-04-09 00:50:51 +08:00
BTMuli
628366a876 🏷️ fix(type): 一些 Type 改动 2023-04-08 14:31:05 +08:00
BTMuli
80212f2592 fear(build): 添加打包时间显示 2023-04-08 02:37:06 +08:00
BTMuli
7b68554168 fix(parser): 添加 insert.mention 解析 2023-04-08 01:40:18 +08:00
BTMuli
5ec9175ef5 🐛 fix(content_id): 修复 content_id 数据错误 2023-04-07 22:24:15 +08:00
BTMuli
513b2fe13b 🎨 fix(calendar): 更为完善的数据结构,添加对比用 json 2023-04-07 22:02:33 +08:00
BTMuli
062c9e4e36 🐛 fix(calendar): 修正切换逻辑错误 2023-04-07 22:01:14 +08:00
BTMuli
92672a86c5 📖 docs(UIGF):引入 UIGF v2.3 2023-04-07 19:56:37 +08:00
BTMuli
7a8c0892ea 🐛 fix(TGWindow): 修复部分窗口打开不可见的问题 2023-04-07 17:15:35 +08:00
BTMuli
a9a6eda4ae 📖 update(docs): 更新 README 及项目资源说明文档 2023-04-07 17:02:38 +08:00
BTMuli
654a673097 📦 feat(calendar): 资源本地化 2023-04-07 16:51:24 +08:00
BTMuli
ef803903e8 📦 add(source): 素材日历素材资源添加,明天把 Json 文件再优化下 2023-04-07 01:19:44 +08:00
BTMuli
a2e460d09c 🏷️ calendar: 添加素材日历接口
接口写完了,可以开始数据清洗了
2023-04-06 21:19:43 +08:00
BTMuli
a044f9d8fc 🐞 fix(home): 修复定时器未成功清除的问题
(cherry picked from commit 519fe55904931026fdff55103a8f07b23e1a11d0)
2023-04-06 20:35:58 +08:00
BTMuli
21a0577ca2 🐞 fix(decode): 修复高危漏洞
(cherry picked from commit 4fa1e26553ef32b122b13ce463fbda381244c1b5)
2023-04-06 20:35:55 +08:00
BTMuli
3001e40d4d 🦄 refactor(store): setup 写法
(cherry picked from commit ada9ac3d88237e3c3ea9b0cbd8e070c33fe5b927)
2023-04-06 20:35:49 +08:00
BTMuli
0cdf2c80b9 🌈 style(eslint): 第三次格式化
camecase 回头在部分文件 ignore 掉,不然不兼容之前的版本及外部接口

(cherry picked from commit 740b4698e916ce0f7911f5eac934183a94288e61)
2023-04-06 20:35:43 +08:00
BTMuli
b3956e6b7f 🐎 ci(eslint): 改了一点
(cherry picked from commit 0c7482306cd5a834a82689c28ab0cf95f4cc6633)
2023-04-06 20:35:40 +08:00
BTMuli
ed7c82d140 🐎 ci(tauri): build配置漏了
(cherry picked from commit b866b542c9da550f4b5ae5b3357953078305e964)
2023-04-06 20:35:37 +08:00
BTMuli
072e4df5bc ci(issue): 改好了,下次一定
Signed-off-by: BTMuli <BT-Muli@outlook.com>
(cherry picked from commit a1fe25ab463e8da93ae17b038169268837e682d8)
2023-04-06 20:35:35 +08:00
BTMuli
8be1d0dfff ci(issue): 模板写错了,这就改
Signed-off-by: BTMuli <BT-Muli@outlook.com>
(cherry picked from commit 322d978cfe8804f2f934a60e51d90d74b9ec45d9)
2023-04-06 20:35:33 +08:00
BTMuli
3c3df24f7d 🎈 perf(eslint): 第二次 eslint
剩下的全给过了,明天起来跑 devtool 改 bug

Signed-off-by: BTMuli <BT-Muli@outlook.com>
(cherry picked from commit 59baf08cf897d31cabce4741910ea83c1a3a52d9)
2023-04-06 20:35:28 +08:00
BTMuli
6ec12bf664 🌈 style(eslint): 第一次过 eslint
姑且先把能过的 ts 文件给过了,明天再过其余的 ts 文件跟 vue

Signed-off-by: BTMuli <BT-Muli@outlook.com>
(cherry picked from commit b7392bddea895b8b8cc1cad5ba0403d2dc738643)
2023-04-06 20:35:22 +08:00
BTMuli
3b28f57278 📃 docs(github): 添加 issue template
Signed-off-by: BTMuli <BT-Muli@outlook.com>
(cherry picked from commit 73277bc832db6665e5f872f5f07e748e2c9466b9)
2023-04-06 20:35:19 +08:00
BTMuli
21992e53c8 🌈 style(prettier): 先跑一遍 prettier
Signed-off-by: BTMuli <BT-Muli@outlook.com>
(cherry picked from commit 3e7e29952628b51d2e8ecfb04ca636a134658d37)
2023-04-06 20:35:14 +08:00
BTMuli
bbd29f7f86 🐎 ci(prettier): 格式化调整
vscode 的 eslint 配置规则变更,prettier 安回来用于格式化 json & yml

Signed-off-by: BTMuli <BT-Muli@outlook.com>
(cherry picked from commit 6109c552818f97f9169a550a3c0d181535278be6)
2023-04-06 20:35:11 +08:00
BTMuli
b31d82d8e9 🔨 🧑‍💻 添加vue-devtools 优化开发者体验
Co-authored-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
Signed-off-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
2023-04-06 18:31:43 +08:00
BTMuli
d817628de5 🧑‍💻 perf(弃用 prettier ,换成 eslint + stylelint):
依旧感谢岛风酱的代码 @frg2089

Co-authored-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
Signed-off-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
2023-04-06 18:31:36 +08:00
BTMuli
0663d609c9 ci(vscode): 🐎 更改 vscode 配置
Signed-off-by: BTMuli <BT-Muli@outlook.com>
2023-04-06 11:53:13 +08:00
BTMuli
3702932ff1 fix(lottery): 反色,添加 Json 数据查看
Signed-off-by: BTMuli <BT-Muli@outlook.com>
2023-04-06 11:53:12 +08:00
BTMuli
5ea62a59cb fix(new): 搞漏了
Signed-off-by: BTMuli <BT-Muli@outlook.com>
2023-04-06 11:53:11 +08:00
BTMuli
d3a3fa3e71 fix(cover): 封面图改了下
Signed-off-by: BTMuli <BT-Muli@outlook.com>
2023-04-06 11:53:09 +08:00
BTMuli
2ccf5425af fix(cover): 搞了个简单的默认封面图
Signed-off-by: BTMuli <BT-Muli@outlook.com>
2023-04-06 11:53:05 +08:00
BTMuli
e7d293f83b fix(window): 更改创建逻辑
Signed-off-by: BTMuli <BT-Muli@outlook.com>
2023-04-06 11:53:02 +08:00
BTMuli
1fafbd4612 feat(sidebar): 支持各种游戏咨讯获取
Signed-off-by: BTMuli <BT-Muli@outlook.com>
2023-04-06 11:52:56 +08:00
BTMuli
f8a2343d28 fix(source): 图像资源目录更改
Signed-off-by: BTMuli <BT-Muli@outlook.com>
2023-04-06 11:52:48 +08:00
BTMuli
f91efd6ab2 fix(mys): 发现支持其他游戏,好,明天就加 func
Signed-off-by: BTMuli <BT-Muli@outlook.com>
2023-04-06 11:52:44 +08:00
BTMuli
0acdc6d5f1 fix(config): 添加系统信息
Signed-off-by: BTMuli <BT-Muli@outlook.com>
2023-04-06 11:52:39 +08:00
BTMuli
2bb5659674 fix(confirm): 完善confirm组件,谢谢岛风酱 @frg2089
Co-authored-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
Signed-off-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
2023-04-06 07:14:08 +08:00
BTMuli
3edf2c40aa fix(sth): 微改 2023-04-04 19:32:58 +08:00
BTMuli
ff09b19328 fix(dialog): snackbar 替换 dialog 2023-04-04 19:30:52 +08:00
BTMuli
9b97fc84c2 fix(props): 更优雅的代码 2023-04-04 19:20:59 +08:00
BTMuli
cd819e0c59 fix(loading): 命名改了下防止重复 2023-04-04 17:31:43 +08:00
BTMuli
fd352ca41f fix(config): 替换非必要 dialog 2023-04-04 17:30:15 +08:00
BTMuli
e8ac396ae1 feat(confirm): 写了个确认组件,就不用 dialog.confirm 了 2023-04-04 17:16:31 +08:00
BTMuli
acee353818 fix(achievement): 优化数据合并逻辑,这一块速度还是慢了 2023-04-04 01:18:00 +08:00
BTMuli
de0bb05c8c fix(config): 默认的就行 2023-04-04 00:49:16 +08:00
BTMuli
6c0c960da7 fix(achievements): 优化了下,样式布局应该会更简单 2023-04-04 00:48:44 +08:00
BTMuli
8cb6e2eece fix(sth): 微改 2023-04-03 23:19:01 +08:00
BTMuli
1fff6dd0d6 fix(config): 采用 snackbar 替换部分dialog 2023-04-03 19:02:48 +08:00
BTMuli
790b4dad2b fix(jsonViewer): type 变更 2023-04-03 13:51:20 +08:00
BTMuli
d755e04070 fix(jsonViewer): 按需引入 2023-04-03 13:45:14 +08:00
BTMuli
2fe9fae523 fix(time): setInterval -> setTimeout 2023-04-03 13:32:32 +08:00
BTMuli
cd54e4a80e fix(pool): 搞了个缓存 2023-04-03 13:28:53 +08:00
BTMuli
25efdb398e fix(style): 优化样式 2023-04-03 12:14:49 +08:00
BTMuli
b5601e88db fix(home): 加载合到首页了,如果显示派蒙吃惊说明 ip 被封了( 2023-04-03 12:14:21 +08:00
BTMuli
cd3084817d fix(home): 支持首页组件显示顺序自定义 2023-04-03 09:39:45 +08:00
BTMuli
87370c4d9e fix(backTop): 优化 hover 样式 2023-04-03 09:09:01 +08:00
BTMuli
1383c8a4d1 fix(achievements): 添加成就版本信息 2023-04-03 08:49:33 +08:00
BTMuli
92816d0412 fix(position): 已结束活动处理 2023-04-03 08:29:40 +08:00
BTMuli
2a56d7ee8c fix(title): window.appWindow.setTitle 2023-04-03 08:21:47 +08:00
BTMuli
f4bac5622a build(v0.1.2): 开写 v0.1.2 2023-04-03 08:05:16 +08:00
BTMuli
f5c160c366 feat(v0.1.1): 版本更新 2023-04-03 00:26:16 +08:00
BTMuli
aed91bcc04 fix(sth): v-if 2023-04-03 00:03:10 +08:00
BTMuli
871bf03190 feat(optional): 首页显示组件可选 2023-04-02 23:36:24 +08:00
BTMuli
34bb878e2e feat(calendar): 组件写好了,然后就是跳转的事情了 2023-04-02 23:02:16 +08:00
BTMuli
3d3ac83d2a feat(calendar): 材料日历请求 2023-04-02 21:49:51 +08:00
BTMuli
ed5ddbb0b8 fix(icon): 首页添加图标 2023-04-02 21:08:13 +08:00
BTMuli
20a33df208 fix(css): 样式调整,这一块先这样吧 2023-04-02 20:55:14 +08:00
BTMuli
d9b717592b fix(icon): 查看按钮 prepend icon 变更 2023-04-02 20:48:49 +08:00
BTMuli
7207a901b5 fix(icon): 删除无用图标 2023-04-02 20:18:38 +08:00
BTMuli
4bda4733a6 fix(icon): 增加对比度 2023-04-02 18:52:36 +08:00
BTMuli
54b4d8efdb fix(css): 采用 deep,另一个我再考虑要不要分别解析 2023-04-02 18:45:48 +08:00
BTMuli
c713a28d5b fix(css): 引入方式变更,防止 @import 污染 2023-04-02 18:23:45 +08:00
BTMuli
07ce9a3cf5 fix(terminal): console相关正规化 2023-04-02 18:15:47 +08:00
BTMuli
18fa5521d6 fix(parser): 微调样式,优化回顶组件 2023-04-02 18:15:16 +08:00
BTMuli
9d756b8d96 fix(parser): 解决样式不生效问题,后续待优化 2023-04-02 18:04:14 +08:00
BTMuli
9e216514fb fix(parser): 样式美化 2023-04-02 17:26:24 +08:00
BTMuli
7d116c6011 fix(css): 样式调整 2023-04-02 16:36:24 +08:00
BTMuli
68c077326e feat(parser): 写了个解析 2023-04-02 16:35:56 +08:00
BTMuli
d3f7b4be13 fix(news): 优化性能 2023-04-02 13:43:46 +08:00
BTMuli
340cd6903e fix(news): 添加默认封面图 2023-04-02 13:41:06 +08:00
BTMuli
0c91de1ff5 docs(README): 更新文档 2023-04-01 23:54:03 +08:00
BTMuli
79366837bd feat(announcements): 支持游戏内公告查看 2023-04-01 23:52:08 +08:00
BTMuli
301594f2d4 fix(news): 添加页面跳转 2023-04-01 23:11:40 +08:00
BTMuli
e1f0f2d2e0 feat(genshin): 游戏内数据获取插件草创 2023-04-01 22:36:59 +08:00
BTMuli
c633476e69 feat(backTop): 添加回顶组件 2023-04-01 21:25:10 +08:00
BTMuli
62744aed3c fix(GCG): 样式美化 2023-04-01 19:18:16 +08:00
BTMuli
8ffb95ed90 fix(style): 样式美化 2023-04-01 18:51:32 +08:00
BTMuli
15ce357b8b fix(request): 请求更改,支持无限滚动(雾 2023-04-01 18:48:29 +08:00
BTMuli
c1346787c2 docs(README): 更新文档 2023-04-01 16:04:34 +08:00
BTMuli
3cc71a8921 fix(parser): 完善内容解析 2023-04-01 15:47:55 +08:00
BTMuli
e2aee5185d fix(news): 咨讯页devMode完善 2023-04-01 15:32:03 +08:00
BTMuli
5cf4eb1ff7 fix(home): 首页组件分割 2023-04-01 14:13:33 +08:00
BTMuli
56d0c8e62e fix(loading): 定位可选 2023-04-01 14:08:42 +08:00
BTMuli
0d4138414c fix(GCG): 修正逻辑 2023-04-01 11:48:53 +08:00
BTMuli
e2adcd326c fix(GCG): GCG 页面样式美化 2023-04-01 02:01:24 +08:00
BTMuli
b44dd46f4b build(vite): 更改 rollupOptions 2023-04-01 01:53:00 +08:00
BTMuli
cf62f20398 fix(css): 应用整体色调调整 2023-04-01 01:48:47 +08:00
BTMuli
b4e26f172a fix(lottery): 抽奖详情页样式美化 2023-04-01 01:21:43 +08:00
BTMuli
77bd6fe77c fix(news): 渲染页面样式美化 2023-04-01 00:46:43 +08:00
BTMuli
577ca367e4 fix(news): 咨讯页面样式美化 2023-04-01 00:36:41 +08:00
BTMuli
a5021a3fd8 fix(achievements): 成就页面样式美化 2023-04-01 00:19:56 +08:00
BTMuli
74eeaed166 fix(config): 设置页样式美化 2023-03-31 23:09:44 +08:00
BTMuli
6c8f460e56 fix(home): 首页样式美化 2023-03-31 22:44:10 +08:00
BTMuli
a4a55309bd fix(parser): 完善fold类型渲染 2023-03-31 19:56:24 +08:00
BTMuli
cccf1f87c8 fix(home): 样式美化 2023-03-31 19:30:01 +08:00
BTMuli
45bba5a16e fix(gacha): 修复 gacha 数据获取不到的问题 2023-03-31 19:13:59 +08:00
BTMuli
5d9d0ccd28 fix(css): 样式更改 2023-03-31 16:56:40 +08:00
BTMuli
c1a9a41c7a fix(position): 修正 build 报错 2023-03-31 16:19:27 +08:00
BTMuli
28ab1d7673 fix(position): 添加活动 div,首页不空了 2023-03-31 16:17:29 +08:00
BTMuli
20df7d2498 fix(app): 优化样式 2023-03-31 14:32:27 +08:00
BTMuli
a9277864b8 feat(position): 添加近期活动信息 2023-03-31 13:30:32 +08:00
BTMuli
f09a474d07 fix(parser): 完善了一下 2023-03-31 00:27:32 +08:00
BTMuli
c2af95920f fix(parser): 更改跳转逻辑,后续看看能不能搞个新窗口出来 2023-03-31 00:14:37 +08:00
BTMuli
0682c14f80 style(sth): 格式化 2023-03-30 23:54:02 +08:00
BTMuli
34dfccb91a fix(lottery):页面粗略写了下,挺丑但是能用 2023-03-30 23:53:16 +08:00
BTMuli
54ef831adc fix(lottery):完善方法 2023-03-30 23:18:27 +08:00
BTMuli
53a66750d5 fix(lottery):完成结构化解析 2023-03-30 22:59:42 +08:00
BTMuli
75fbf8eecd fix(lottery):允许 api 2023-03-30 22:58:07 +08:00
BTMuli
9298f23ae9 feat(lottery):草创抽奖详情 2023-03-30 22:52:28 +08:00
BTMuli
842066f345 fix(post):添加抽奖字段 2023-03-30 22:28:46 +08:00
BTMuli
034417486c fix(font):字体变更 2023-03-30 22:27:03 +08:00
BTMuli
6c7b296d2e fix(parser):完善 linkCard 解析 2023-03-30 21:59:21 +08:00
BTMuli
643caa03bf fix(parser):添加 divider 解析 2023-03-30 21:43:58 +08:00
BTMuli
bc2dd5f10d fix(act):参考米游社更改样式 2023-03-30 21:04:32 +08:00
BTMuli
b667e131cc fix(parser):添加 linkCard 解析 2023-03-30 21:04:10 +08:00
BTMuli
95222ee696 fix(parser):更新接口,添加 linkCard 2023-03-30 20:10:42 +08:00
BTMuli
7c9932ecf1 docs(README):更新文档 2023-03-30 19:54:51 +08:00
428 changed files with 18934 additions and 4453 deletions

91
.eslintrc.yml Normal file
View File

@@ -0,0 +1,91 @@
root: true
env:
browser: true
es2021: true
extends:
- plugin:vue/vue3-recommended
- standard-with-typescript
overrides: []
parser: vue-eslint-parser
parserOptions:
parser: "@typescript-eslint/parser"
ecmaVersion: latest
sourceType: module
extraFileExtensions:
- .vue
project:
- ./tsconfig.json
- ./tsconfig.node.json
globals:
BTMuli: readonly
TGPlugin: readonly
plugins:
- vue
rules:
# some rules that not normal disabled
semi: off
quotes: off
# rules of standard
no-tabs:
- warn
- allowIndentationTabs: false # 禁止使用 tab 缩进
comma-dangle:
- warn
- always-multiline # 多行时,尾随逗号必须存在
camelcase:
- warn
- properties: always # 对象属性名必须使用驼峰命名
array-callback-return:
- error
- allowImplicit: true
# rules of vue
vue/max-attributes-per-line:
- off
# vue/max-len: # 限制代码长度不得超过这个长度
# - warn
# - code: 80
vue/html-indent:
- warn
- 2 # Vue 标签缩进
- baseIndent: 1 # 最外面的template缩进
vue/component-name-in-template-casing:
- warn # 组件应使用PascalCase命名
- "PascalCase"
vue/multi-word-component-names:
- off # 组件名应该是由多个单词组成
# rules of typescript
"@typescript-eslint/strict-boolean-expressions":
- off
"@typescript-eslint/indent":
- warn
- 2 # js/ts缩进
"@typescript-eslint/semi":
- warn
- always # 语句末尾必须加分号
"@typescript-eslint/quotes":
- warn
- double # 引号使用双引号
"@typescript-eslint/comma-dangle":
- warn
- always-multiline
"@typescript-eslint/prefer-nullish-coalescing": off # on 会出现一些问题
"@typescript-eslint/space-before-function-paren":
- warn
- always # 函数名和括号之间必须有空格
"@typescript-eslint/ban-types":
- warn
- types:
Object: # 禁止使用 Object
message: "Use {} instead"
fixWith: "{}"
Boolean: # 禁止使用 Boolean
message: "Use boolean instead"
Number: # 禁止使用 Number
message: "Use number instead"
String: # 禁止使用 String
message: "Use string instead"
Symbol: # 禁止使用 Symbol
message: "Use symbol instead"
"@typescript-eslint/no-floating-promises":
- warn
- ignoreVoid: true # 忽略 void 类型

69
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View File

@@ -0,0 +1,69 @@
name: 非预期错误和漏洞
description: 提交非预期错误和漏洞
# title: "[Bug] "
labels:
- bug
- question
assignees:
- BTMuli
body:
- type: markdown
attributes:
value: |
在此填写非预期错误和漏洞的详细信息,包括但不限于:
- 你所遇到的问题
- 当前使用版本
- 复现流程
- type: checkboxes
attributes:
label: Issue重复性检查
description: 我确认没有查找过相关的 Issue
options:
- label: 我确认没有查找过相关的 Issue
required: false
- type: checkboxes
attributes:
label: 问题必要性检查
description: 我确认这个问题是无用且不必要的
options:
- label: 我确认这个问题是无用且不必要的
required: false
- type: checkboxes
attributes:
label: 提问的艺术
description: 我没有阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
options:
- label: 我没有阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
required: false
- type: textarea
id: description
attributes:
label: 问题描述
description: 请详细描述你所遇到的问题
placeholder: 请详细描述你所遇到的问题
validations:
required: true
- type: input
id: version
attributes:
label: 当前使用版本
description: 请填写当前使用版本
placeholder: 如 Alpha v0.2.0
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: 复现流程
description: 请详细描述复现流程
placeholder: 若无法复现,请填写无法复现
validations:
required: true
- type: textarea
id: additional
attributes:
label: 其他信息
description: 请填写其他信息
placeholder: 请填写其他信息
validations:
required: true

61
.github/ISSUE_TEMPLATE/enhancement.yml vendored Normal file
View File

@@ -0,0 +1,61 @@
name: 新功能
description: 提交新功能请求
# title: "[Feat] "
labels:
- enhancement
- question
assignees:
- BTMuli
body:
- type: markdown
attributes:
value: |
在此填写新功能的详细信息,包括但不限于:
- 新功能名称
- 新功能描述
- 当前使用版本
- type: checkboxes
attributes:
label: Issue重复性检查
description: 我确认没有查找过相关的 Issue
options:
- label: 我确认没有查找过相关的 Issue
required: false
- type: checkboxes
attributes:
label: 功能必要性检查
description: 我确认这个功能是无用且不必要的
options:
- label: 我确认这个功能是无用且不必要的
required: false
- type: checkboxes
attributes:
label: 提问的艺术
description: 我没有阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
options:
- label: 我没有阅读过[提问的艺术](https://github.com/betaseeker/How-To-Ask-Questions)
required: false
- type: textarea
id: description
attributes:
label: 新功能描述
description: 请详细描述新功能的内容
placeholder: 请详细描述新功能的内容
validations:
required: true
- type: input
id: version
attributes:
label: 当前使用版本
description: 请填写当前使用版本
placeholder: 如 Alpha v0.2.0
validations:
required: true
- type: textarea
id: additional
attributes:
label: 其他信息
description: 请填写其他信息
placeholder: 请填写其他信息
validations:
required: false

50
.github/ISSUE_TEMPLATE/todo.yml vendored Normal file
View File

@@ -0,0 +1,50 @@
name: 开发目标(开发人员)
description: 用于开发人员 Issue 的模板
# title: "[TODO] "
labels:
- todo
- enhancement
- help wanted
assignees:
- BTMuli
body:
- type: markdown
attributes:
value: |
在此填写开发目标的详细信息,包括但不限于:
- 任务名称
- 任务描述
- 预期版本
- 当前提交
- type: textarea
id: description
attributes:
label: 任务描述
description: 请详细描述任务的内容
placeholder: 请详细描述任务的内容
validations:
required: true
- type: input
id: version
attributes:
label: 预期版本
description: 请填写预期版本
placeholder: 如 Alpha v0.2.0
validations:
required: true
- type: input
id: commit
attributes:
label: 当前提交
description: 请填写当前提交
placeholder: 如 0.2.0
validations:
required: true
- type: textarea
id: additional
attributes:
label: 其他信息
description: 请填写其他信息
placeholder: 请填写其他信息
validations:
required: false

1
.npmrc Normal file
View File

@@ -0,0 +1 @@
ELECTRON_MIRROR=https://npm.taobao.org/mirrors/electron/

View File

@@ -1,8 +0,0 @@
"semi": true # 是否使用分号 true:使用
"singleQuote": false # 是否使用单引号
"printWidth": 100 # 一行最多多少个字符
"useTabs": true # 是否使用tab
"proseWrap": "preserve" # 是否换行
"arrowParens": "avoid" # 箭头函数参数是否使用括号
"bracketSpacing": true # 对象大括号是否有空格
"endOfLine": "auto" # 换行符

7
.prettierrc.yml Normal file
View File

@@ -0,0 +1,7 @@
"semi": true
"singleQuote": false
"printWidth": 120
"useTabs": true
"proseWrap": "preserve"
"bracketSpacing": true
"endOfLine": "auto"

6
.stylelintrc.yml Normal file
View File

@@ -0,0 +1,6 @@
extends:
- stylelint-high-performance-animation
- stylelint-order
- stylelint-declaration-block-no-ignored-properties
- stylelint-config-standard-vue
rules: {}

View File

@@ -1,7 +1,10 @@
{
"recommendations": [
"Vue.volar",
"tauri-apps.tauri-vscode",
"rust-lang.rust-analyzer"
]
"recommendations": [
"dbaeumer.vscode-eslint",
"rust-lang.rust-analyzer",
"stylelint.vscode-stylelint",
"tauri-apps.tauri-vscode",
"Vue.vscode-typescript-vue-plugin",
"Vue.volar"
]
}

16
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,16 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"request": "launch",
"runtimeArgs": ["run", "dev"],
"runtimeExecutable": "npm",
"skipFiles": ["<node_internals>/**"],
"type": "node"
}
]
}

32
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,32 @@
{
"editor.tabSize": 2,
"eslint.format.enable": true,
"eslint.quiet": false,
"eslint.lintTask.enable": true,
"eslint.validate": ["typescript", "vue"],
"stylelint.enable": true,
"stylelint.validate": ["css", "less", "postcss"],
"css.validate": false,
"less.validate": false,
"scss.validate": false,
"[vue]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[javascriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[scss]": {
"editor.defaultFormatter": "stylelint.vscode-stylelint"
},
"editor.rulers": [80, 120],
"typescript.tsdk": "node_modules/typescript/lib"
}

11
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,11 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "lint:code",
"problemMatcher": ["$eslint-compact", "$eslint-stylish"],
"label": "npm: lint:code"
}
]
}

View File

@@ -2,15 +2,75 @@
Author: 目棃
Date: 2023-03-30
Description: CHANGELOG
Update: 2023-03-30
Update: 2023-04-12
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-03-30 15:39:49`
>
> 更新于 `2023-03-30 15:39:49`
> 更新于 `2023-04-12 19:27:56`
# CHANGELOG
## [0.1.2](https://github.com/BTMuli/Tauri.Genshin/releases/v0.1.2) (2023-04-12)
### Feat
- 窗口:根据内容改变标题
- 成就:添加版本信息
- 首页:组件展示顺序自定义
- 组件:新建 confirm 组件
- 设置:添加系统信息、添加打包时间戳
- 咨讯:支持多种游戏咨讯查看
- 米游社解析:添加 `mention` 类型解析
### Fix
- 首页:近期活动、限时祈愿结束处理
- 组件:回顶组件 hover 效果美化
- 组件:用 snackebar 替换 alert
- 咨讯:无封面时替换为默认图
- 抽奖详情:配色调整
- 首页:素材日历资源本地化
- 侧边栏:设置置底
FullCommits: [v0.1.1 ~ v0.1.2](https://github.com/BTMuli/Tauri.Genshin/compare/v0.1.1...v0.1.2)
## [0.1.1](https://github.com/BTMuli/Tauri.Genshin/releases/v0.1.1) (2023-04-03)
### Feat
- 米游社解析:新增 `link_card``divider``lottery``fold`
- 米游社解析:新增 `lottery` 跳转详情页,即抽奖详情跳转
- 首页:新增近期活动信息卡片
- 首页:各展示卡片组件分离
- 组件:新增回顶组件 c633476e
- 新增:游戏内公告数据获取&展示
- 新增:游戏内公告数据解析 68c07732
- 首页:新增材料日历获取&展示 34bb878e
- 首页:显示组件可选,`限时祈愿``近期活动``材料日历` 871bf031
### Fix
- 帖子跳转:改为用组件实现,而非之前的写入 `.html` 文件后读取
- 首页:修复限时祈愿获取数据转换为卡片数据时可能返回空数据的问题 45bba5a1
- 加载组件:可选绝对定位或相对定位 56d0c8e6
- 米游社咨讯页:完善 `devMode` 下的数据展示 e2aee518
- 米游社解析:修复帖子图片未正常显示的问题 3cc71a89
- 米游社咨讯页:支持无限滚动 15ce357b
- 米游社咨讯页:修复未存在封面图时的显示问题 340cd690
- 米游社咨讯页:优化加载性能 d3f7b4be
### Change
- 字体变更:删去原有 `Genshin.ttf`,增加 `汉仪文黑-85W.ttf``汉仪文黑-55W.ttf``Consolas.ttf`
- Tauri: 取消窗体 `transparent` 属性。
- Build: RollupOptions 配置变更。 b44dd46f
- css: 全部改为 `scoped`,全局引入 `css` 文件调整。
- 资源:删除无用图标。 7207a901
FullCommits: [v0.1.0 ~ v0.1.1](https://github.com/BTMuli/Tauri.Genshin/compare/v0.1.0...v0.1.1)
## [0.1.0](https://github.com/BTMuli/Tauri.Genshin/releases/v0.1.0) (2023-03-30)
> 因为之前还有个 preAlpha 版本,这里的变更记录从项目创建开始。
@@ -19,9 +79,9 @@ Update: 2023-03-30
> 按照侧边栏的顺序排序
* 支持当前卡池查看&对应祈愿帖跳转
* 支持官方咨讯查看,包括:新闻、活动、公告
* 支持 UIAF 成就数据导入导出&展示
* 支持 GCG 卡牌数据展示
- 支持当前卡池查看&对应祈愿帖跳转
- 支持官方咨讯查看,包括:新闻、活动、公告
- 支持 UIAF 成就数据导入导出&展示
- 支持 GCG 卡牌数据展示
FullCommits: [v0.1.0](https://github.com/BTMuli/Tauri.Genshin/commits/v0.1.0)
FullCommits: [v0.1.0](https://github.com/BTMuli/Tauri.Genshin/commits/v0.1.0)

View File

@@ -2,19 +2,24 @@
Author: 目棃
Date: 2023-03-05
Description: 说明文档
Update: 2023-03-30
Update: 2023-04-12
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-03-05 14:41:55`
>
> 更新于 `2023-03-30 15:25:13`
> 更新于 `2023-04-12 19:16:31`
![](https://img.shields.io/github/last-commit/BTMuli/Tauri.Genshin?style=for-the-badge) ![](https://img.shields.io/github/commits-since/BTMuli/Tauri.Genshin/latest?include_prereleases&style=for-the-badge) ![](https://img.shields.io/github/downloads-pre/BTMuli/Tauri.Genshin/latest/total?style=for-the-badge) ![](https://img.shields.io/github/v/release/BTMuli/Tauri.Genshin?include_prereleases&style=for-the-badge) ![](https://img.shields.io/github/license/BTMuli/Tauri.Genshin?style=for-the-badge)
![](https://img.shields.io/github/last-commit/BTMuli/Tauri.Genshin?style=for-the-badge) ![](https://img.shields.io/github/commits-since/BTMuli/Tauri.Genshin/latest?include_prereleases&style=for-the-badge) ![](https://img.shields.io/github/v/release/BTMuli/Tauri.Genshin?include_prereleases&style=for-the-badge) ![](https://img.shields.io/github/license/BTMuli/Tauri.Genshin?style=for-the-badge)
# Tauri.Genshin
Tauri 练手项目
## Release
- latest: 最新版本,[Github下载](https://github.com/BTMuli/Tauri.Genshin/releases/latest)
- dev: 开发版本,[阿里云下载](https://www.aliyundrive.com/s/viGQKLAHU16)
## 技术栈
- [Tauri](https://tauri.studio/zh-CN/)
@@ -23,33 +28,42 @@ Tauri 练手项目
- [TypeScript](https://www.typescriptlang.org/)
- [Vuetify](https://vuetifyjs.com/en/)
## 当前进度Alpha
## 当前进度(v0.1.2 Alpha)
> 以下进度仅为开发进度,不代表最终版本
- [x] 米游社咨讯获取&展示
- [x] 游戏内公告&活动获取&展示
- [x] UIAF 成就数据导入导出&展示
- [ ] UIGF 祈愿数据导入导出&展示
- [x] GCG 卡牌数据展示
- ...
- [x] 素材日历展示
- [x] 首页展示可选
- [ ] ...
## UI 参考
- [Snap.Hutao](https://github.com/DGP-Studio/Snap.Hutao)
- [米游社](https://www.miyoushe.com/ys/)
- [原神](https://yuanshen.com/)
## 相关文档
## 相关文档
+ Changelog: [CHANGELOG](CHANGELOG.md)
+ 资源来源:[项目资源说明](docs/项目资源说明.md)
+ UIAF[UIAFv1.1](docs/UIAF.md)
+ UIAF[UIAF v1.1](docs/UIAF.md)
+ UIGF[UIGF v2.3](docs/UIGF.md)
## 开发
```bash
npm run tauri dev
npm run dev
```
## 构建
```bash
npm run tauri build
npm run build
```
# License
@@ -61,4 +75,5 @@ npm run tauri build
# Contributors
- [BTMuli](https://github.com/BTMuli)
- [舰队的偶像岛风酱!](https://github.com/frg2089)
- [jerry765](https://github.com/jerry765)

288
docs/UIGF.md Normal file
View File

@@ -0,0 +1,288 @@
---
Author: 目棃
Date: 2023-04-07
Description: UIGF v2.3 Backup
Update: 2023-04-07
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-04-07 19:51:40`
>
> 更新于 `2023-04-07 19:51:40`
> 本文档为 [`UIGF`](https://github.com/UIGF-org/UIGF-org.github.io/blob/main/docs/zh/standards/UIGF-pre-release.md) 的备份。
# 统一可交换祈愿记录标准 v2.3
> Uniformed Interchangeable GachaLog Format standard (UIGF) v2.3
## 更新记录
|版本|说明|兼容|
|-|-|-|
|`v2.0`| 首个正式版本 | v2.0 |
|`v2.1`| 简化了部分语言表述,与 v2.0在数据格式上完全一致 | v2.1 and lower |
|`v2.2`| 新增 `info.export_timestamp` 填充 UNIX 时间戳 | v2.2 and lower |
|`v2.3`| 扩充至非中文语境,使用 Json Schema 表述 | v2.3 and lower |
## Id
原神的祈愿记录物品内包含了一项较为特殊的字段: `id` ,该值在 1.3版本后加入
所以**先前查询出的物品**若无特殊兼容性修改则不会包含相应的 `id`
App 导出 UIGF 时
* 需要确保每个物品的 `id` 的有效性。
* 从最后一个自带有效 `id` 的物品开始,向前(相对于时间)依次递减 `id` 的值,每次递减的值应保持为 `1`
导入 UIGF 到 App 时
* App不应假设所有的 `gacha_item` 都有有效的 `id`
* App应具有处理 `id` 字段为 `null`或 `` 空字符串的能力
## GachaType
祈愿包含了会共享保底与概率的卡池,所以需要一个额外的字段来界定
我们在`UIGF`的所有格式中注入了`uigf_gacha_type`字段
在导出到`UIGF`格式时需要注意添加对应的`uigf_gacha_type`字段
### 映射关系
|`uigf_gacha_type`|`gacha_type`|
|-|-|
|`100`|`100`|
|`200`|`200`|
|`301`|`301` or `400`|
|`302`|`302`|
## Json 格式
> Uniformed Interchangeable GachaLog Format standard of Json (UIGF.J)
Json 格式 由于 与从官方接口获取到的格式一致
更便于各App的导入与导出我们也在此做出规范
该格式应仅用于各App间的数据互通
### 导出的格式
```json
{
"type": "object",
"title": "UIGF object",
"properties": {
"info": {
"type": "object",
"properties": {
"uid": {
"type": "string",
"title": "Uid",
"description": "Uid"
},
"lang": {
"type": "string",
"title": "Language",
"description": "语言 ISO 3166"
},
"uigf_version": {
"type": "string",
"title": "UIGF Version",
"description": "UIGF 版本号"
},
"export_timestamp": {
"type": "number",
"title": "Export Timestamp",
"description": "导出时间戳(秒)"
},
"export_time": {
"type": "string",
"description": "导出时间",
"format": "date-time",
"pattern": "yyyy-MM-dd HH:mm:ss",
"title": "Export Time"
},
"export_app": {
"type": "string",
"title": "Export App",
"description": "导出应用"
},
"export_app_version": {
"type": "string",
"title": "Export App Version",
"description": "导出应用版本"
}
},
"title": "Infomation",
"required": [
"uid",
"lang",
"uigf_version"
],
"description": "包含导出方定义的基本信息"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"gacha_type": {
"type": "string",
"description": "祈愿类型"
},
"item_id": {
"type": "string",
"title": "Item Id",
"description": "空字符串"
},
"count": {
"type": "string",
"title": "Count",
"description": "数量"
},
"time": {
"type": "string",
"title": "Time",
"description": "物品获取时间",
"pattern": "yyyy-MM-dd HH:mm:ss",
"format": "date-time"
},
"name": {
"type": "string",
"title": "Name",
"description": "名称"
},
"item_type": {
"type": "string",
"title": "Item Type",
"description": "物品类型"
},
"rank_type": {
"type": "string",
"title": "Item Quality",
"description": "物品星级"
},
"id": {
"type": "string",
"title": "Id",
"description": "内部数据库Id"
},
"uigf_gacha_type": {
"type": "string",
"title": "Query Type",
"description": "向接口查询时需要的 gacha_type"
}
},
"required": [
"gacha_type",
"name",
"id",
"uigf_gacha_type",
"time"
],
"title": "Gacha Item",
"description": "祈愿物品"
},
"title": "List",
"description": "物品列表"
}
},
"required": [
"info",
"list"
],
"description": "UIGF 根对象"
}
```
## Excel 工作簿 (Workbook Format)
> Uniformed Interchangeable GachaLog Format standard of Workbook (UIGF.W)
### 单元格的格式
* 在填充单元格内的数据时,应统一转换到 `String` 字符串类型后填入
### 表名及内容
|表名|内容|类型|是否必要|
|-|-|-|-|
|统计分析|统计分析内容等|任意|否|
|角色活动祈愿|`gacha_type` : `301 or 400` 的祈愿数据|祈愿表|否,但是应该导出|
|武器活动祈愿|`gacha_type` : `302` 的祈愿数据|祈愿表|否,但是应该导出|
|常驻祈愿|`gacha_type` : `200` 的祈愿数据|祈愿表|否,但是应该导出|
|新手祈愿|`gacha_type` : `100` 的祈愿数据|祈愿表|否,但是应该导出|
|原始数据|全部祈愿数据|数据表|**详见下方原始数据表结构说明**|
* 表的顺序可以是任意的
* 可以隐藏部分表,防止用户随意篡改数据
* Sheet 的名称应与游戏内祈愿记录页面显示的名称保持一致
> App间应依据 `原始数据表` 的内容,来进行数据互通
### 祈愿表结构
本节内容是为了规范兼容分析类App
* 表头对应的内容填充**顺序需要严格按照下方说明**排布
* **共享保底的卡池**按祈愿类型 (`gacha_type`) 区分
* 此类 `Sheet` 存在的目的,是为了便于用户观看与祈愿分析工具的分析
|表头|内容|是否必要|
|-|-|-|
|时间|`yyyy-MM-dd HH:mm:ss` 格式的 `time` 时间|是|
|名称|`name`物品名称|是|
|物品类型|`item_type`|是|
|星级|`rank_type`|是|
|祈愿类型|`gacha_type` 的转义名称|是,尽管部分工具不会分析此项|
|...|...|否|
> 如果你认为有必要的话,可以额外增加其他表头,但请确保表头的前几列为上表规范的内容
> 表内的数据通常按祈愿Id升序或降序排列分析App不应假设表内的顺序为特定的升序与降序
#### `gacha_type` 转义名称
|gacha_type|名称|
|-|-|
|100|新手祈愿|
|200|常驻祈愿|
|301|角色活动祈愿|
|400|角色活动祈愿-2|
|302|武器活动祈愿|
#### 示例
|时间|名称|类别|星级|祈愿类型|...|
|-|-|-|-|-|-|
|2021-02-17 18:45:09|以理服人|武器|3|角色活动祈愿-2|...|
|...|...|...|...|...|...|
### 原始数据表结构
导出时
* App 在导出时应尽可能询问用户是否应包含原始数据表
* 一旦在工作簿内包含了名为 `原始数据` 的表,即表示支持本格式
* 该表内的内容应严格按照本格式所述填充
* **表头的顺序需严格按照下表设置**。
* 现有的字段采用**字典顺序**递增排序,后续新增的字段依添加的顺序排在后侧。
* 若无特殊需求我们建议导出所有json 数据内包含的字段
导入时
* 强烈建议您编写不依赖于列的顺序位置便可实现导入的程序,以达到最大化的兼容。
* 如果省略了其中某些非必要字段的值,请保持表头存在,对应的列则空置。
|表头|是否必要|
|-|-|
|`count`|否,但是建议保留,不排除后续会有`count`不为1的情况|
|`gacha_type`|是|
|`id`|是且大部分App按此字段排序数据|
|`item_id`|否,目前官方已经弃用了此字段|
|`item_type`|是|
|`lang`|否,但建议保留,以便国际化|
|`name`|是|
|`rank_type`|否,但建议保留,以便分析|
|`time`|否,但建议保留,以便分析|
|`uid`|否,但建议将选择权交予用户,保留以便分析|
|`uigf_gacha_type`|是|
#### 示例
|count|gacha_type|id|item_id|item_type|lang|name|rank_type|time|uid|uigf_gacha_type|
|-|-|-|-|-|-|-|-|-|-|-|
|1|301|1613556360008291100||武器|zh-cn|以理服人|3|2021-02-17 18:45:09|123456789|301|
|...|...|...|...|...|...|...|...|...|...|...|

View File

@@ -2,12 +2,12 @@
Author: 目棃
Date: 2023-03-10
Description: 项目资源说明
Update: 2023-03-24
Update: 2023-04-12
---
> 本文档 [`Front-matter`](https://github.com/BTMuli/Mucli#FrontMatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于`2023-03-10 22:05:44`
>
> 更新于 `2023-03-24 15:30:17`
> 更新于 `2023-04-12 19:18:31`
## 说明
@@ -41,7 +41,7 @@ Update: 2023-03-24
### 格式说明
关于 JSON 数据格式,参见 [Achievements.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/interface/Achievements.ts)。
关于 JSON 数据格式,参见 [Achievements.d.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/types/Achievement.d.ts)。
关于图像资源格式,涉及到的图像类型及格式如下:
@@ -53,7 +53,7 @@ Update: 2023-03-24
### JSON 数据
为个人通过爬取 HoneyHunterWorld 生成的 JSON 数据,格式参见 [NameCard.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/interface/NameCard.ts)。
为个人通过爬取 HoneyHunterWorld 生成的 JSON 数据,格式参见 [NameCard.d.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/types/NameCard.d.ts)。
参考:
@@ -83,3 +83,19 @@ Update: 2023-03-24
### 格式说明
- 卡牌图标:`source/gcg/card/${cardType}/${cardName}.webp`420x72032位深度
## 素材日历相关
### JSON 数据
为米游社观测枢 API 获取的 JSON 数据,格式参见 [Calendar.d.ts](https://github.com/BTMuli/Tauri.Genshin/blob/master/src/types/Calendar.d.ts)。
### 图像资源
- [素材日历|米游社观测枢](https://bbs.mihoyo.com/ys/obc/channel/map/231)
### 格式说明
> `sourceType` 有 `character`、`weapon`、`material` 三种类型,`sourceName` 为对应的名称。
- 素材图标:`source/calendar/${sourceType}/${sourceName}.webp`128x12832位深度

5587
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,12 +2,20 @@
"name": "tauri-genshin",
"description": "A Tauri App Demo",
"private": true,
"version": "0.1.0",
"version": "0.1.2",
"author": "BTMuli <bt-muli@outlook.com>",
"scripts": {
"format": "prettier --write .",
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"lint": "concurrently \"npm:lint:*(!fix)\"",
"lint:fix": "concurrently \"npm:lint:*:fix\"",
"lint:code": "eslint \"./src/**/*.{vue,ts,tsx,js,jsx}\"",
"lint:code:fix": "npm run lint:code -- --fix",
"lint:style": "stylelint \"./src/**/*.{vue,css}\"",
"lint:style:fix": "npm run lint:style -- --fix",
"prettier": "prettier \"**/*.{json,yml,html}\" --write",
"dev": "concurrently -k \"tauri dev --exit-on-panic\" \"vue-devtools\"",
"vite:dev": "vite dev",
"vite:build": "vite build",
"build": "tauri build",
"preview": "vite preview",
"tauri": "tauri"
},
@@ -34,23 +42,36 @@
"dependencies": {
"@mdi/font": "7.2.96",
"@tauri-apps/api": "^1.2.0",
"clipboard": "^2.0.11",
"pinia": "^2.0.33",
"pinia-plugin-persistedstate": "^3.1.0",
"vue": "^3.2.47",
"vue-json-viewer": "^3.0.4",
"vue-router": "^4.1.6",
"vuetify": "npm:@vuetify/nightly@next"
},
"devDependencies": {
"@tauri-apps/cli": "^1.2.3",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@vitejs/plugin-vue": "^4.1.0",
"clipboard": "^2.0.11",
"pinia": "^2.0.33",
"pinia-plugin-persistedstate": "^3.1.0",
"prettier": "^2.8.7",
"typescript": "^5.0.2",
"@vue/devtools": "^6.5.0",
"concurrently": "^8.0.1",
"eslint": "^8.37.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.10.0",
"prettier": "2.8.7",
"stylelint": "^15.4.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
"stylelint-high-performance-animation": "^1.8.0",
"stylelint-order": "^6.0.3",
"typescript": "^5.0.3",
"vite": "^4.2.1",
"vite-plugin-vuetify": "^1.0.2",
"vue-json-viewer": "^3.0.4",
"vue-router": "^4.1.6",
"vue-tsc": "^1.2.0",
"vuetify": "^3.1.12"
"vite-plugin-vuetify": "^1.0.2"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

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