feat(zzz): multi-character ZZZ panel page with properties/weapon/disc/damage tabs - #151
Open
devin-ai-integration[bot] wants to merge 6 commits into
Open
devin-ai-integration[bot] wants to merge 6 commits into
devin-ai-integration[bot] wants to merge 6 commits into
Conversation
- Add getZzzPanel / getMyZzzPanel methods - Add ZzzPanel types - Add /zzz-panel page showing score, damage index, stats and drive discs
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
…eapon/disc/damage tabs, and profile badge link
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
将
zzz-panel升级为一个完整的多角色 ZZZ 展柜页面。本次重点把顶部角色选择器还原成 zenless-tools/leveling-calculator的倾斜卡片行效果:固定尺寸、重叠布局、选中高亮、可自由横向拖动,点击只切换选中态不自动滚动。主要变更:
ZzzCharacterAvatar.vue:#000,选中时var(--ik-primary)(chartreuse 绿)。object-fit: contain,移动端 padding 4px / 桌面端 6px。Lv.{{ level }}并禁用选中态缩放,仅保留:active脉冲。ZzzPanelSwiper.vue:dragFree: true+dragThreshold: 6,点击选角色,拖动仅滚动,互不干扰。iconUrls.select:返回 EnkaIconRoleSelect{id}.png倾斜半身像,ZzzCharacterAvatar优先使用该 URL,失败回退portrait/square/circle/ 默认图。types/entities.ts的iconUrls补齐select字段。依赖:需配合 ikserver PR #116 的多角色
/api/zzz/panels接口。验证:
npx nuxt typecheck通过。npm run build通过(Nitro 静态构建)。http://localhost:3000/zzz-panel/1300025292与https://zenless.tools/zh/leveling-calculator的角色选择行在尺寸、倾斜形状、选中高亮、自由拖动上已对齐。Link to Devin session: https://app.devin.ai/sessions/99a8e49dbbb348cba32dae5d276e2d48
Requested by: @KawaYiLab