feat(mobile-vue): add TabBar glass effect and capsule theme - #948
Open
ChenXiaoming233 wants to merge 2 commits into
Open
feat(mobile-vue): add TabBar glass effect and capsule theme#948ChenXiaoming233 wants to merge 2 commits into
ChenXiaoming233 wants to merge 2 commits into
Conversation
- add the effect prop with normal and glass options - add the capsule theme with a shared selection indicator - emit the selected value directly from the Vue Mobile change event - preserve the existing change event signature for other platforms - sync the API database, JSON metadata, types, props, and documentation feat(mobile-vue): 支持液态玻璃 TabBar API - 新增 effect 属性,支持 normal 和 glass 两种材质效果 - 新增 capsule 主题,支持共享胶囊选中指示器 - Vue Mobile 的 change 事件改为直接传递选中值 - 保留其他平台现有的 change 事件参数签名 - 同步 API 数据库、JSON 元数据、类型、属性定义及中英文文档
# Conflicts: # db/TDesign.db
ChenXiaoming233
requested review from
anlyyao,
chaishi,
liweijie0812 and
uyarn
as code owners
July 28, 2026 18:17
This was referenced Jul 28, 2026
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.
相关内容
背景
为 Mobile Vue TabBar 液态玻璃能力补充统一的 API 数据源,避免在组件仓手工维护生成文件。
主要改动
effect属性:'normal' | 'glass''normal'theme新增capsule枚举值,用于共享移动胶囊选中态。change事件签名对齐为直接传递value。packages/scripts/api.json兼容性
effect默认仍为normal,现有调用行为不变。onChange修改是对 API 平台历史漂移的修正,不改变 Mobile Vue 现有事件行为。验证
pnpm lintpnpm buildgit diff --checkChangelog