Commit Graph

2755 Commits

Author SHA1 Message Date
BTMuli
a36c08aed5 补充itemId 字段
close #183
2025-12-14 02:46:09 +08:00
BTMuli
1b2399822c 从Hakushi获取动态字典
#183
2025-12-14 02:34:21 +08:00
Copilot
53174ffdd7 首页添加游戏签到组件,支持补签 (#182)
* Initial plan

* Add sign-in card component to homepage

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix v-icon usage in sign-in card buttons

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix: Merge new home components into existing localStorage

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Refactor: Remove redundant code in getShowItems

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Add error handling for localStorage parsing

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Redesign sign-in card to show multiple game accounts with compact UI

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix reward item spacing with flex properties

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Redesign sign-in card: grid layout, account switching, light mode fixes

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Add forceReload parameter to prevent unnecessary API calls

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Show multiple game accounts with grid layout and MiHoYo account in append

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Use unique keys and concurrent API requests for better performance

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Refactor sign-in component: split into reusable parts with user switcher

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix sign-in logic: highlight based on count not date, enable resign button

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Remove duplicate code and fix comment

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Add reward cell component, extra rewards support, and improved visual distinction

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🏷️ 添加Store类型,调整首页选项框宽度

* 🏷️签到 → 游戏签到

* ♻️ 首页组件重构,支持组件分享

* ♻️ 调整组件UI

* 💄 调整loading标题文本大小

* 💄 微调样式

* Refactor sign-in component: sequential loading, progress bar, internal data processing

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* Fix code review issues: correct gameInfo reference and add refresh event

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🎨 调整逻辑

* Refactor: self-contained data updates and numeric state enums

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🚸 调整排序逻辑

* 🚸 调整loading文本

* ✏️ 调整类型,修复打包失败

* ♻️ 添加补签相关请求

* 💄 调整脚本页布局

* 💄 调整首页布局

* Implement resign feature with local data updates and confirmation dialog

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* ✏️ 补充类型描述

* Fix resign logic: check is_sub, optimize resign info loading, improve success message

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🎨 调整逻辑,微调样式

* 🎨 调整唤起位置

* Add click handlers to reward cells for sign-in and resign actions

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🐛 对ID进行限制

* 💄 微调顶部gameNav样式

* Fix resign logic: only first missed day is clickable

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🎨 放宽补签限制

* 🐛 修正删除逻辑判断

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>
Co-authored-by: BTMuli <bt-muli@outlook.com>
2025-12-14 02:01:26 +08:00
BTMuli
e000f3924c Revert "🧑‍💻 添加Codacy配置文件以支持代码质量检查"
This reverts commit a07ad8ee20.
2025-12-12 01:41:34 +08:00
BTMuli
a07ad8ee20 🧑‍💻 添加Codacy配置文件以支持代码质量检查 2025-12-12 01:35:43 +08:00
BTMuli
8533516913 💄 调整实用脚本UI,显示用户米游币数量 2025-12-12 01:28:33 +08:00
BTMuli
16af3dcd24 ♻️ 支持空存档 2025-12-11 18:05:59 +08:00
BTMuli
073cd5e35d 👽️ 更新用户活动日历处理 2025-12-11 17:24:19 +08:00
BTMuli
abe34b8ee5 💄 深境螺旋UI迭代 2025-12-11 16:13:14 +08:00
BTMuli
5cdedda127 🚸 调整浅色模式下的背景色 2025-12-11 15:59:49 +08:00
BTMuli
d596df9137 👽️ 更新接口数据类型 2025-12-11 14:16:49 +08:00
BTMuli
958ba3d4ae 💄 调整布局 2025-12-11 01:04:12 +08:00
BTMuli
abfc1f5871 👽️ 角色活动卡池不严格区分类型 2025-12-10 20:54:26 +08:00
BTMuli
a1dca3a1cc 💄 微调 2025-12-09 17:50:09 +08:00
BTMuli
cc2020c64e ♻️ Yae数据传递移至App层,重构命令处理逻辑 2025-12-09 16:43:32 +08:00
BTMuli
bd914a0f44 🏷️ 武器&圣遗物添加guid字段 2025-12-09 15:41:01 +08:00
BTMuli
17690bb024 参考材料WIKI完善背包物品处理 2025-12-09 14:35:00 +08:00
BTMuli
eafd2fdff8 🌱 修复数据库读取异常,页面草创 2025-12-09 01:41:22 +08:00
BTMuli
b1fe5b6987 🌱 背包物品数据库建立&读写 2025-12-09 01:10:36 +08:00
BTMuli
446b9a7d78 ♻️ 调整数据结构 2025-12-08 23:45:12 +08:00
BTMuli
20a58c3032 🚸 监听窗口尺寸变化重新计算高度 2025-12-08 23:19:31 +08:00
BTMuli
a44bf0f5ba 💄 添加背景以提升可见度 2025-12-08 23:13:28 +08:00
BTMuli
7008aa5604 💄 适配资源 2025-12-08 22:56:31 +08:00
BTMuli
eedfe3270a 🍱 更新千星资源 2025-12-08 22:46:02 +08:00
BTMuli
06c0253bb2 🎨 微调 2025-12-06 23:23:27 +08:00
BTMuli
ca4befd0ca 🍱 更新魔女的前夜礼数据 2025-12-06 23:13:38 +08:00
BTMuli
3d7c374975 🚸 新手祈愿位置移后 2025-12-06 22:26:38 +08:00
BTMuli
2ca77b9944 重构真境剧诗页面UI,优化组件结构与样式 2025-12-06 20:57:03 +08:00
BTMuli
58c2044f47 🚸 增加点赞后取消配置 2025-12-06 14:44:50 +08:00
BTMuli
cf3f04c457 🌱 获取背包物品 2025-12-06 14:27:48 +08:00
BTMuli
a0a8999f96 🐛 修正UP抽数计算逻辑 2025-12-06 14:26:25 +08:00
BTMuli
ed3daa2277 🍱 更新卡池数据 2025-12-05 22:23:03 +08:00
BTMuli
637be3c4af 使用Swiper组件重构Gacha概览展示,优化数据展示方式 2025-12-05 22:05:17 +08:00
BTMuli
f30ee36a83 💄 调整高度计算&星级占比计算逻辑 2025-12-05 22:04:51 +08:00
Copilot
8d5cb52320 祈愿添加UP抽数数据,采取动态高度计算 (#174)
* Initial plan

* feat: Add UP average pull count for 5-star items in gacha records

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* refactor: Optimize isStar5Up function by extracting Number conversion

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* refactor: Add 4-star UP average and optimize hint calculation

- Add star4UpAvg variable and getStar4UpAvg() for 4-star UP average
- Add getItemHint() to calculate UP/歪 hint for both 4 and 5-star items
- Calculate hints in gro-data-view and pass via hint prop to gro-data-line
- Remove duplicate getEndHint() calculation from gro-data-line.vue
- Add UP average display in 4-star section with dynamic grid layout

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* ♻️ 调整传递数据类型,样式适配调整

* 💄 微调高度

* fix: Use flexbox for dynamic height calculation in gro-data-view

Replace hardcoded height calculations with flexbox layout:
- Make gro-dv-container a flex column container
- Use flex: 1 for gro-bottom and gro-bottom-window to take remaining space
- Add min-height: 0 to enable proper flex shrinking for scrollable areas

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* fix: Resolve v-window height overflow issue

- Add overflow: hidden to .gro-bottom and .gro-bottom-window containers
- Move overflow-y: auto scrolling to .gro-b-window-item level
- Add height: 100% to .gro-b-window-item for proper containment

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* fix: Use dynamic height calculation via template refs

- Add template refs for container and header elements
- Calculate bottom and window heights dynamically based on actual DOM element sizes
- Remove flexbox approach that didn't work with Vuetify v-window
- Apply calculated heights via style binding

Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>

* 🎨 useTemplateRef & v-bind

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BTMuli <72692909+BTMuli@users.noreply.github.com>
Co-authored-by: BTMuli <bt-muli@outlook.com>
2025-12-05 12:57:54 +08:00
BTMuli
3477ca2962 💩 暂时隐藏内置祈愿页面 2025-12-04 18:06:07 +08:00
BTMuli
918f7a9b53 ♻️ 调整常驻颂愿数据显示,祈愿概况UI迭代
close #172
2025-12-04 17:07:13 +08:00
BTMuli
dc03edd30b 🚀 v0.8.8 v0.8.8 2025-12-03 20:30:48 +08:00
BTMuli
d18b6bb898 ♻️ 代码重构提取 2025-12-03 20:30:28 +08:00
BTMuli
0f107abde6 🐛 重构管理员权限重启逻辑 2025-12-03 19:58:03 +08:00
BTMuli
46cf40734f 🐛 修复成就数据读取异常 2025-12-03 18:53:35 +08:00
BTMuli
676ef8e8ee 🚀 v0.8.7 v0.8.7 2025-12-03 10:24:27 +08:00
BTMuli
5d8ea639b8 🍱 更新成就&卡池数据 2025-12-03 10:22:07 +08:00
BTMuli
bc64e20ebd 🚸 优化字典处理逻辑,确保字典至少包含两个键 2025-12-02 23:49:05 +08:00
BTMuli
98efd557d6 🚸 完善奇偶处理 2025-12-02 23:04:10 +08:00
BTMuli
b0b3120b7b 🚸 完善名片解析处理 2025-12-02 22:55:07 +08:00
BTMuli
c2ea3cf026 🐛 修复左侧列表顺序异常 2025-12-02 22:51:20 +08:00
BTMuli
90d71be17e 🐛 修复mac编译异常 2025-12-02 22:39:04 +08:00
BTMuli
9435622a6d 🍱 更新部分新版本资源 2025-12-02 22:36:31 +08:00
BTMuli
5ac9c24379 🐛 修复macOS编译异常 2025-12-02 22:25:44 +08:00