Commit Graph

39 Commits

Author SHA1 Message Date
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
918f7a9b53 ♻️ 调整常驻颂愿数据显示,祈愿概况UI迭代
close #172
2025-12-04 17:07:13 +08:00
BTMuli
c521f3cc26 🚸 优化图表下载交互 2025-11-22 13:00:19 +08:00
BTMuli
3a542ead17 🐛 修复主题切换异常 2025-11-22 01:08:09 +08:00
Copilot
586b506fca ♻️ 重构祈愿图表 close#166
* Initial plan

* Refactor wish calendar - split charts into separate components with scrollbar support

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

* Address code review feedback - improve error handling and comments

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

* Move chart logic to components and remove v-if guards

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

* Fix UID switching reactivity, add scrollbar spacing, and fix download functionality

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

* Use proper ECharts ComposeOption type declarations

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>
2025-11-22 00:11:37 +08:00
BTMuli
5b5589d213 🐛 修复数据刷新异常
close #163
2025-11-21 19:03:57 +08:00
BTMuli
759804a99a 🚸 导入后刷新页面 2025-11-21 19:03:28 +08:00
BTMuli
0ba4690085 🚸 调整UI显示 2025-11-21 14:59:43 +08:00
BTMuli
ff94e12ff5 🚸 调整默认文本 2025-11-19 00:07:13 +08:00
BTMuli
d244423800 🚸 调整导入浮窗ui,显示导入进度 2025-11-18 22:02:07 +08:00
BTMuli
a368223805 千星奇域页面 2025-10-27 19:42:02 +08:00
BTMuli
babc6a9a75 嵌入祈愿详情 2025-10-25 19:45:17 +08:00
BTMuli
57deef034e 🚸 调整登录顺序,隐藏启动器登录,修复账号切换显示异常 2025-09-09 15:13:39 +08:00
BTMuli
f330c586ab 🍱 添加卡池数据,调整卡池tab 2025-09-09 14:13:41 +08:00
BTMuli
b65d60eae9 👽️ UIGFv4.1适配 2025-08-09 16:17:38 +08:00
BTMuli
f8f08cf048 💄 修复渲染异常 2025-07-02 11:49:48 +08:00
BTMuli
25bb259d7a 🔧 调整属性排序&格式化 2025-06-01 19:37:52 +08:00
BTMuli
a8d9808deb 🎨 代码格式化 2025-05-29 14:03:08 +08:00
BTMuli
a910792e6a 🐛 修复五星平均抽数计算异常 2025-05-27 22:24:56 +08:00
BTMuli
0d6ba14a0e ♻️ 修正import,调整路径 2025-05-23 11:58:11 +08:00
目棃
3228b6a305 💄 调整UI 2025-03-21 10:28:20 +08:00
目棃
a3e42b63e6 💄 调整样式 2025-03-17 15:07:42 +08:00
目棃
bfd73c3d73 💄 调整UI 2025-02-28 09:43:57 +08:00
目棃
6676357296 🧑‍💻 更换json渲染组件,渲染公告解析json 2025-02-27 14:06:08 +08:00
目棃
8ecaed05ea ♻️ 动态获取版块 2025-01-16 15:51:59 +08:00
目棃
e8a79fb409 尝试修复mac复制异常 2025-01-16 11:49:07 +08:00
目棃
547cb2cce7 抽卡日历&堆叠柱状图 2025-01-13 17:11:20 +08:00
目棃
5f6f6e0ea6 🐛 修复祈愿图标渲染异常 2025-01-13 16:31:33 +08:00
目棃
dd7e8e2261 🚸 响应主题 2025-01-13 15:07:36 +08:00
目棃
63b7f685c1 🚸 支持配置图像质量 2025-01-10 17:53:13 +08:00
目棃
72a9408d38 ♻️ 组件抽离,优化逻辑 2025-01-09 11:15:35 +08:00
目棃
f801363440 ♻️ defineModel 2024-12-31 16:41:02 +08:00
目棃
28b9706933 🚸 移除跳转确认 2024-12-31 13:39:14 +08:00
目棃
f0d48e866c ♻️ 剔除武器JSON冗余数据,调整武器图鉴UI 2024-12-31 11:30:40 +08:00
目棃
24e3f11c4a ♻️ loading组件重构 2024-12-16 11:13:30 +08:00
目棃
3ed6d503d4 ♻️ 全面整理重构 2024-12-13 16:15:01 +08:00
目棃
81b1e15e31 UIGF4导入/导出浮窗 2024-12-09 10:50:48 +08:00
目棃
3fef8467f4 ♻️ 调整目录结构 2024-11-19 14:45:29 +08:00